DJI 命令结果
DJI 命令结果用于查询云端命令的受理、投递、成功、失败或超时状态。设备侧回包会被平台关联到创建命令时返回的command_id,你不需要直接处理厂商侧回包通道。
Endpoint
- 开发者查询入口:
GET /api/v1/open/downlink/commands/{commandId} - 命令结果通过状态查询接口返回;你不需要单独调用设备侧回包通道
Authentication
查询接口使用开放平台签名鉴权(API ID / API Key / 签名)。Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| commandId | string(uuid) | yes | 命令受理标识,全平台唯一 UUID |
Query Parameters
无。Request Body
查询接口无请求体。Responses
状态查询响应(对齐 OpenAPIDownlinkCommandStatusResponse):
| Field | Type | Description |
|---|---|---|
| command_id | string(uuid) | 命令受理标识,全平台唯一 UUID |
| status | string | ACCEPTED / DELIVERED / SUCCEEDED / FAILED / TIMED_OUT / UNMATCHED_RESPONSE |
| vendor | string | 厂商标识,固定 dji |
| device_id | string | 设备 ID |
| failure_code | string | 失败码(失败场景返回) |
| failure_reason | string | 失败原因(失败场景返回) |
| response_code | string | 设备侧响应码 |
| response_message | string | 设备侧响应信息 |
| vendor_response | object | 设备回传原始扩展字段 |
| accepted_at | string(date-time) | 平台受理时间 |
| delivered_at | string(date-time) | 平台投递时间 |
| completed_at | string(date-time) | 命令完成时间 |
| response_received_at | string(date-time) | 回包入站时间 |
| updated_at | string(date-time) | 记录更新时间 |