- Root Directory
- authentication
- System Service
- Organize Projects
- Device Management
- Livestream Management
- Task Management
- Flight Route Management
- Model Management
- Annotation Management
Release control
Developing
DELETE
/openapi/v0.1/device/control
Request
Header Params
X-Request-Id
string <uuid>
required
X-Language
enum<string>
optional
Allowed values:
zhen
Default:
zh
X-Project-Uuid
string
optional
Default:
{{X-Project-Uuid}}
Body Params application/json
drone_sn
string
required
payload_index
array[string]
required
Example
{
"drone_sn": "1581F6Q8D242100CPWEK",
"payload_index": [
"81-0-0"
]
}
Request 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 --request DELETE '/openapi/v0.1/device/control' \
--header 'X-Request-Id;' \
--header 'X-Language: zh' \
--header 'X-Project-Uuid: {{X-Project-Uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"drone_sn": "1581F6Q8D242100CPWEK",
"payload_index": [
"81-0-0"
]
}'
Responses
🟢200Success
application/json
Body
code
integer
required
message
string
required
data
object
required
drone_sn
string
required
controls
array [object {4}]
required
Example
{
"code": 0,
"message": "OK",
"data": {
"drone_sn": "1581F6Q8D242100CPWEK",
"controls": [
{
"type": "flight",
"gateway": {
"sn": "7CTDM3D00BZNVZ"
},
"user": {
"call_sign": "",
"user_id": "",
"type": ""
}
},
{
"type": "payload",
"payload_index": "81-0-0",
"gateway": {
"sn": ""
},
"user": {
"call_sign": "",
"user_id": "",
"type": ""
}
},
{
"type": "payload",
"payload_index": "80-0-0",
"gateway": {
"sn": "7CTDM3D00BZNVZ"
},
"user": {
"call_sign": "admin",
"user_id": "1721316169796849371",
"type": "cloud"
}
}
]
}
}