NEW FlightHub 2 OpenAPI V1.0
  1. Flight Route Management
NEW FlightHub 2 OpenAPI V1.0
  • Root Directory
    • authentication
      • Authentication Tutorial
    • System Service
      • Query FlightHub 2 system status
    • Organize Projects
      • Organize Project Tutorial
      • Get the list of projects under the organization
      • Get the list of devices under the organization
      • Obtain the list of devices under the project
      • Obtain storage upload credentials for the project
      • Add personnel to the project
    • Device Management
      • Device Management Tutorial
      • Device Model Retrieval
      • HMS Information Retrieval
      • Real-time control command distribution
      • Dock camera switch
      • Aircraft Lens Switching
      • Control acquisition
      • Release control
      • Video transmission clarity settings
      • Custom Network RTK Calibration
    • Livestream Management
      • Livestream Management Tutorial
      • Livestream Push
        • Start livestream
      • Bypass Streaming
        • Stream forwarding error code
        • Create Stream Forwarder
        • Enable/Disable stream forwarder
        • Get stream transcoder list
        • Delete stream forwarder
    • Task Management
      • Task Management Tutorial
      • Create Flight Task
      • Updated flight task status
      • Obtain flight task list
      • Obtain media resources generated by the Flight task
      • Obtain Flight task trajectory information
      • Obtain Flight task information
    • Flight Route Management
      • Flight Route Management Tutorial
      • Flight Route Upload Completion Notification
        POST
      • Get the list of flight routes under the project
        GET
      • Get flight route details
        GET
    • Model Management
      • Model Management Tutorial
      • Model reconstruction coordinate system
      • Get the list of models under the project
      • Get Model Details
      • Model reconstruction
    • Annotation Management
      • Annotation Management Tutorial
      • Create map annotation
  1. Flight Route Management

Get flight route details

Developing
GET
/openapi/v0.1/wayline/{wayline_id}
Retrieve flight route details. You can obtain the wayline_id list through the Get Flight Route List under Project interface, which is used as the input parameter for this interface.

Request

Path Params
wayline_id
string 
required
Header Params
X-Request-Id
string <uuid>
required
Request Unique Identifier
X-Language
enum<string> 
optional
Allowed values:
zhen
Default:
zh
X-Project-Uuid
string 
optional
Project Number
Default:
{{X-Project-Uuid}}

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 GET '/openapi/v0.1/wayline/' \
--header 'X-Request-Id;' \
--header 'X-Language: zh' \
--header 'X-Project-Uuid: {{X-Project-Uuid}}'

Responses

🟢200Success
application/json
Body
code
integer 
required
Non-zero indicates an exception
message
string 
required
Message prompt
data
object 
required
id
string 
required
Unique flight route identifier
name
string 
required
Flight route name
download_url
string 
required
flight route file download link
update_time
integer 
required
Updated time
template_types
array[string]
required
Flight route type
Allowed values:
waypointmaping_2dmapping_3dmapping_stripfacadesolidmapping_gobject
payload_information
array [object {3}] 
required
Payload information list, for detailed device types, please refer to: https://developer.dji.com/doc
distance
number 
required
flight route length
wayline_point_nums
integer 
required
number of waypoints in the flight route
device_model_key
string 
required
设备唯一标识,由domain-type-sub_type组成,详细设备类型请参考:https://developer.dji.com/doc/cloud-api-tutorial/cn/overview/product-support.html
Example
{
  "code": 0,
  "message": "",
  "data": {
    "id": "be903684-5423-45b9-b81d-0df2824be6f9",
    "name": "AI Spot-Check ",
    "download_url": "http://xxx:30802/file-storage-privatization/...",
    "update_time": 0,
    "template_types": [
      "WayPoint"
    ],
    "payload_information": [
      {
        "domain": "1",
        "type": "81",
        "lens_type": "2"
      }
    ],
    "distance": 152.834060668945,
    "wayline_point_nums": 5,
    "device_model_key": "0-91-1"
  }
}
Previous
Get the list of flight routes under the project
Next
Model Management Tutorial
Built with