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

Create location

POST
/map/sdk/v1/groups/{{group_id}}/elements

Request

Path Params

Body Params application/json

Example
{
    "content": {
        "type": "string",
        "geometry": {
            "clampToGround": true,
            "color": "string"
        },
        "properties": {
            "coordinates": {},
            "type": "string"
        }
    },
    "name": "string"
}

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 '/map/sdk/v1/groups/{{group_id}}/elements' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": {
        "type": "string",
        "geometry": {
            "clampToGround": true,
            "color": "string"
        },
        "properties": {
            "coordinates": {},
            "type": "string"
        }
    },
    "name": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "message": "",
    "data": {
        "id": "string"
    }
}
Modified at 2024-06-25 11:59:09
Previous
Get location list
Next
Delete location
Built with