184 lines
4.8 KiB
JSON
184 lines
4.8 KiB
JSON
{
|
|
"code": 100000,
|
|
"msg": "success",
|
|
"request_id": "server-request-example",
|
|
"server_time": "2026-11-06T10:00:12.500+08:00",
|
|
"data": {
|
|
"found": true,
|
|
"operation": {
|
|
"action_id": "action-001",
|
|
"client_request_id": "11111111-1111-4111-8111-111111111111",
|
|
"task_id": 501,
|
|
"request_execution_id": "execution-001",
|
|
"execution_id": "execution-001",
|
|
"action": "pause",
|
|
"status": "succeeded",
|
|
"accepted_revision": 129,
|
|
"submitted_at": "2026-11-06T10:00:12.000+08:00",
|
|
"updated_at": "2026-11-06T10:00:12.500+08:00",
|
|
"error": null
|
|
},
|
|
"snapshot": {
|
|
"task_id": 501,
|
|
"execution_id": "execution-001",
|
|
"revision": 130,
|
|
"updated_at": "2026-11-06T10:00:12.500+08:00",
|
|
"summary": {
|
|
"order_number": "261106000001",
|
|
"scenic_id": 271,
|
|
"spot": {
|
|
"id": 412,
|
|
"name": "示例拍摄点"
|
|
},
|
|
"route": {
|
|
"id": 123,
|
|
"name": "示例航线"
|
|
},
|
|
"customer_label": "游客 158****8888",
|
|
"package_label": "航拍套餐 · 含 2 次拍摄",
|
|
"cover_url": null,
|
|
"aircraft": {
|
|
"id": 58,
|
|
"name": "示例无人机1号"
|
|
}
|
|
},
|
|
"capture": {
|
|
"state": "ready",
|
|
"finished_at": null,
|
|
"reason": null
|
|
},
|
|
"media": {
|
|
"state": "not_started",
|
|
"error": null
|
|
},
|
|
"flight": {
|
|
"mode": "mission",
|
|
"hold": "manual",
|
|
"dock_position": "outside",
|
|
"airborne": true,
|
|
"return_reason": null,
|
|
"observed_at": "2026-11-06T10:00:12.500+08:00",
|
|
"stale": false
|
|
},
|
|
"permissions": {
|
|
"summon": {
|
|
"allowed": false,
|
|
"reason": {
|
|
"code": "EXECUTION_ACTIVE",
|
|
"message": "当前飞行尚未结束"
|
|
},
|
|
"context_id": null
|
|
},
|
|
"start_recording": {
|
|
"allowed": false,
|
|
"reason": {
|
|
"code": "MANUALLY_PAUSED",
|
|
"message": "任务已暂停"
|
|
},
|
|
"context_id": null
|
|
},
|
|
"pause": {
|
|
"allowed": false,
|
|
"reason": {
|
|
"code": "ALREADY_PAUSED",
|
|
"message": "任务已暂停"
|
|
},
|
|
"context_id": null
|
|
},
|
|
"resume": {
|
|
"allowed": true,
|
|
"reason": null,
|
|
"context_id": "pause-context-001"
|
|
},
|
|
"return_home": {
|
|
"allowed": true,
|
|
"reason": null,
|
|
"context_id": null
|
|
}
|
|
},
|
|
"auto_start": {
|
|
"state": "paused",
|
|
"deadline_at": null,
|
|
"remaining_ms": 18000
|
|
},
|
|
"telemetry": {
|
|
"items": [
|
|
{
|
|
"key": "battery",
|
|
"value": "95%",
|
|
"raw": 95,
|
|
"unit": "%",
|
|
"source": "drone",
|
|
"observed_at": "2026-11-06T09:59:55.000+08:00",
|
|
"stale": false
|
|
},
|
|
{
|
|
"key": "env_temp",
|
|
"value": "19.6℃",
|
|
"raw": 19.6,
|
|
"unit": "℃",
|
|
"source": "dock",
|
|
"observed_at": "2026-11-06T09:59:55.000+08:00",
|
|
"stale": false
|
|
},
|
|
{
|
|
"key": "wind_speed",
|
|
"value": "2m/s",
|
|
"raw": 2,
|
|
"unit": "m/s",
|
|
"source": "dock",
|
|
"observed_at": "2026-11-06T09:59:55.000+08:00",
|
|
"stale": false
|
|
},
|
|
{
|
|
"key": "rainfall",
|
|
"value": "无雨",
|
|
"raw": "no_rain",
|
|
"unit": null,
|
|
"source": "dock",
|
|
"observed_at": "2026-11-06T09:59:55.000+08:00",
|
|
"stale": false
|
|
},
|
|
{
|
|
"key": "signal",
|
|
"value": "良好",
|
|
"raw": "good",
|
|
"unit": null,
|
|
"source": "drone",
|
|
"observed_at": "2026-11-06T09:59:55.000+08:00",
|
|
"stale": false
|
|
},
|
|
{
|
|
"key": "satellite",
|
|
"value": "32颗",
|
|
"raw": 32,
|
|
"unit": "颗",
|
|
"source": "drone",
|
|
"observed_at": "2026-11-06T09:59:55.000+08:00",
|
|
"stale": false
|
|
}
|
|
]
|
|
},
|
|
"operations": [
|
|
{
|
|
"action_id": "action-001",
|
|
"client_request_id": "11111111-1111-4111-8111-111111111111",
|
|
"task_id": 501,
|
|
"request_execution_id": "execution-001",
|
|
"execution_id": "execution-001",
|
|
"action": "pause",
|
|
"status": "succeeded",
|
|
"accepted_revision": 129,
|
|
"submitted_at": "2026-11-06T10:00:12.000+08:00",
|
|
"updated_at": "2026-11-06T10:00:12.500+08:00",
|
|
"error": null
|
|
}
|
|
],
|
|
"live": {
|
|
"allowed": true,
|
|
"reason": null
|
|
}
|
|
}
|
|
}
|
|
}
|