Device Management

Acquire Control Permission

If you need to operate on the payload of a specific aircraft, you must first acquire the control permission for that payload device, then operate on it - for example, switching the lens of an aircraft's payload camera.

:::tip[] The payload_index parameter can be obtained from data.list.drone.camera_list.camera_index in the device list. :::

post/openapi/v2.0/device/control

Request

  • Base URL
    (relative, and it does not resolve against the document’s source URL)
  • URL
    /openapi/v2.0/device/control
  • Auth
    none required

Headers

X-Request-Idstring uuid

Request Unique Identifier

X-Language'zh' | 'en'

Language

X-Project-Uuidstring required

Project Number

X-User-Tokenstring required

Request body

drone_snstring required

Aircraft SN

flightboolean

Whether to acquire flight control permission. true means acquire flight control permission simultaneously (for sending waylines, takeoff, and other flight commands); false or default means do not acquire

payload_indexstring[]

Payload index. This parameter can be obtained from data.list.drone.camera_list.camera_index in the device list

Response

codeinteger required

Non-zero Indicates Exception

messagestring required

Message Prompt

Changes

No recorded changes to this operation across all 1 revision of this API.