全新司空 2 OpenAPI V1.0(openapi-translation)
  1. Organization Projects
全新司空 2 OpenAPI V1.0(openapi-translation)
  • Root Directory
    • Authentication and Authorization
      • Authentication Authorization Tutorial
    • System Services
      • FlightHub 2 Public Cloud Access Point Information
      • Query FlightHub 2 System Status
    • Organization Projects
      • Organization Project Tutorial
      • Get the List of Projects Under the Organization
        GET
      • Get the List of Devices Under the Organization
        GET
      • Get the List of Devices Under the Project
        GET
      • Obtain the storage upload credentials for the project
        GET
      • Add Members to the Project
        PUT
    • Livestream Management
      • Live streaming management tutorial
      • Push Livestream
        • Enable Livestream
      • Stream forwarding (only supports private cloud)
        • Stream Forwarding Error Code
        • Create Stream Forwarder
        • Enable/Disable Stream Forwarder
    • Annotation Management
      • Annotation management tutorial
      • Create Map Annotations
    • Task Management
      • Task management tutorial
      • Create Flight Tasks
      • Update Flight Task Status
      • Get the Flight Task List
      • Get Media Files Generated by the Flight Task
      • Get Flight Trajectory Information
    • Device Management
      • Device management tutorial
      • Get Device Properties
      • Get HMS Information
      • Switch Dock Cameras
      • Switch Aircraft Cameras
      • Custom Network RTK Calibration
      • Specify device to enter relay frequency pairing mode (only supports private cloud and relay)
      • Query relay frequency pairing result (only supports private cloud and relay)
    • Route Management
      • Route management tutorial
      • Flight Route Upload Completion Notification
      • Get the List of Flight Routes Under the Project
      • Get Flight Route Details
    • Model Management
      • Model management tutorial
      • Model reconstruction coordinate system
      • Get the List of Models Under the Project
      • Mapping
      • Get the Model Details
      • Get Model File Download URL
    • Open modeling
      • Open modeling tutorial
      • Model Reconstruction Error Code
      • Algorithm parameter introduction
      • Get upload credential
      • Upload callback
      • Get resource details
      • Delete resource
      • Start reconstruction task
      • Stop reconstruction task
      • Get the Model Details
      • Delete Models
  • Get the Stream Transcoder List
    GET
  • Send Real-Time Control Command
    POST
  • Delete Stream Forwarder
    DELETE
  • Acquire Control
    POST
  • Release Control
    DELETE
  • Video Transmission Quality Settings
    PUT
  • Get the Flight Task Information
    GET
  1. Organization Projects

Get the List of Devices Under the Organization

开发中
GET
/openapi/v0.1/device
Get the list of devices under the organization. Set the user key through the X-User-Token parameter in the Header section. This interface will return the list of devices under the organization corresponding to the user key.
Can be obtained through gateway: camera_list to obtain airport camera information, can be used for device management: Airport Camera Switching
Can be obtained through drone: camera_list to obtain aircraft camera information, can be used for device management: Airport Lens Switching
camera_list information can only be obtained after the aircraft is powered on
Currently returns information for up to 1,000 devices.

请求参数

Authorization
在 header 添加参数
X-User-Token
示例:
X-User-Token: ********************
Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/v0.1/device' \
--header 'X-Request-Id: {{$string.uuid}}' \
--header 'X-Language: zh' \
--header 'X-User-Token: <api-key>'

返回响应

🟢200Success
application/json
Body

示例
{
    "code": 0,
    "message": "OK",
    "data": {
        "list": [
            {
                "gateway": {
                    "sn": "7CTDM3D00BZNVZ",
                    "callsign": "Test Dock",
                    "device_model": {
                        "key": "3-2-0",
                        "domain": "3",
                        "type": "2",
                        "sub_type": "0",
                        "name": "DJI Dock 2",
                        "class": "airport"
                    },
                    "device_online_status": true,
                    "mode_code": 2,
                    "camera_list": [
                        {
                            "available_camera_positions": [
                                0,
                                1
                            ],
                            "camera_position": 1,
                            "camera_index": "165-0-7"
                        }
                    ]
                },
                "drone": {
                    "sn": "1581F6Q8D242100CPWEK",
                    "callsign": "",
                    "device_model": {
                        "key": "0-91-1",
                        "domain": "0",
                        "type": "91",
                        "sub_type": "1",
                        "name": "M3TD",
                        "class": "drone"
                    },
                    "device_online_status": true,
                    "mode_code": 0,
                    "camera_list": [
                        {
                            "camera_index": "81-0-0",
                            "lens_list": [
                                {
                                    "available_lens_types": [
                                        "normal",
                                        "wide",
                                        "zoom",
                                        "ir"
                                    ],
                                    "lens_type": "wide"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    }
}
修改于 2025-04-29 08:41:57
上一页
Get the List of Projects Under the Organization
下一页
Get the List of Devices Under the Project
Built with