DJI Delivery Sync
    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

    Authentication instructions and webhook details

    Basic information#

    Web api host:https://ta-api.dji.com

    Authentication Detail#

    ClassificationDetailAdditional information
    web apiweb apiThird server calls DJI api to obtain drone information and control drones
    web hookweb hookDJI Delivery notifies event information to third server
    Signature detailsSignature result stringX-DJI-Signature
    Signature field stringX-DJI-Timestamp X-DJI-Nonce Method
    Signature algorithmwebapiHmacSHA256("AK+Method+X-DJI-Timestamp+X-DJI-Nonce",SK)
    webhookHmacSHA256("AK+X-DJI-Timestamp+X-DJI-Nonce+event_type+sub_type",SK)

    WebAPI#

    Common first-level fields
    Field nameField typeField descriptionSpecific description
    codeint32Business error codezero--return normally, not zero--return error
    messagestringBusiness error stringzero--empty string, not zero--return specific string
    dataobjectBusiness return contentPlease refer to the detailed interface documentation for specific content.

    WebHook#

    Common first-level fields
    method: POST
    Field nameField typeField descriptionSpecific description
    group_idstringnotification belongs to which groupuuid string
    event_typestringnotification event typedevice--event of device,task--event of task
    sub_typestringnotification event subtypedevice event--osd、state、hms、progress、topo、bind
    task evemt--status、statistics
    timestampint64Notification timestamp13-digit millisecond timestamp
    dataobjectNotification contentPlease refer to the table below for specific content

    notification detail#

    image.png

    device control cmd detail#

    image.png
    Modified at 2024-06-24 13:13:58
    Next
    HMS Code Details
    Built with