Real-time Control/Payload Control/Camera Control
Device Management

Aircraft Lens Switch

Supports switching the aircraft camera lens between wide-angle, zoom, and infrared. :::tip[]

  • You must first call the Acquire Control Permission interface to obtain aircraft control permission before switching the aircraft lens.
  • camera_index and lens_type can be obtained from data.list.drone:.camera_list in the Get Device List Under Organization interface. :::
post/openapi/v2.0/device/change-lens

Request

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

Headers

X-User-Tokenstring required
X-Project-Uuidstring required

Project Number

X-Request-Idstring

Request Unique Identifier

X-Languagestring

Language

Request body

snstring required

Aircraft SN

camera_indexstring required

Camera Index

lens_typestring required

Lens Type

Example request

{
  "sn": "8UUDMAQ00A0001",
  "camera_index": "165-0-7",
  "lens_type": "wide"
}

Response

codeinteger

Non-zero Indicates Exception

messagestring

Message Prompt

Changes

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