DJI Delivery Sync
  1. Phase two
DJI Delivery Sync
  • Authentication instructions and webhook details
  • HMS Code Details
  • Phase one
    • Get device list
      GET
    • Get the device topology status, the aircraft and remote control form the topology
      GET
    • Get device properties
      GET
    • Enable device live streaming and obtain the streaming URL
      POST
    • Get device task list
      GET
  • Phase two
    • Get route list
      GET
    • Get detail of a single route
      GET
    • Get location list
      GET
    • Create location
      POST
    • Delete location
      DELETE
    • Device execution command
      POST
    • Query device execution command status
      GET
  • Phase three
    • Create task
      POST
    • Edit task
      PUT
    • Delete task
      DELETE
    • Start task
      POST
    • Start stream forwarding
      POST
    • Stop stream forwarding
      DELETE
  1. Phase two

Device execution command

POST
/task/sdk/v1/groups/{{group_id}}/cmds

Request

Path Params

Body Params application/json

Example
{
    "device_sn": "string",
    "device_cmd_method": 0,
    "device_cmd_data": {}
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/task/sdk/v1/groups/{{group_id}}/cmds' \
--header 'Content-Type: application/json' \
--data-raw '{
    "device_sn": "string",
    "device_cmd_method": 0,
    "device_cmd_data": {}
}'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "message": "",
    "data": {
        "code": 0,
        "bid": "string",
        "gateway_sn:": "string",
        "device_sn": "string",
        "device_cmd_method": "string",
        "status": "string",
        "device_cmd_data": {},
        "create_time:": 0,
        "update_time:": 0
    }
}
Modified at 2024-06-25 11:59:09
Previous
Delete location
Next
Query device execution command status
Built with