NEW FlightHub 2 OpenAPI V1.0
  1. Task 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
        POST
      • Updated flight task status
        PUT
      • Obtain flight task list
        GET
      • Obtain media resources generated by the Flight task
        GET
      • Obtain Flight task trajectory information
        GET
      • Obtain Flight task information
        GET
    • Flight Route Management
      • Flight 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
      • Get Model Details
      • Model reconstruction
    • Annotation Management
      • Annotation Management Tutorial
      • Create map annotation
  1. Task Management

Obtain media resources generated by the Flight task

Developing
GET
/openapi/v0.1/flight-task/{task_uuid}/media
Obtain media resources generated by the Flight task.
Currently supports resources of types image, video, and ppk.
Returns up to the first 10,000 resources.

Request

Path Params
task_uuid
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/flight-task//media' \
--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
list
array [object {9}] 
required
Example
{
  "code": 0,
  "message": "success",
  "data": {
    "list": [
      {
        "uuid": "d47f920a-4116-4c24-90c6-cabaecbf4212",
        "name": "DJI_20241029165242_0001_T",
        "file_type": "image",
        "suffix": ".jpeg",
        "size": 1163264,
        "preview_url": "http://47.96.144.147:30802/file-storage-privatization/thumbnail/v1/w200_h200/671d29c2-6c1a-4829-8afe-03ce73ac3056/0bbc74b4-5e5a-4390-9256-8e4ee08a241b/DJI_202410291651_019_0bbc74b4-5e5a-4390-9256-8e4ee08a241b-flyto/DJI_20241029165242_0001_T.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio_admin%2F20241030%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241030T034044Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&response-expires=Thu%2C%2031%20Oct%202024%2003%3A40%3A44%20GMT&x-id=GetObject&X-Amz-Signature=45e47c789323392c29f01765579ae83183a810f5ecbe45d7ea62f69d7a38a225",
        "original_url": "http://47.96.144.147:30802/file-storage-privatization/671d29c2-6c1a-4829-8afe-03ce73ac3056/0bbc74b4-5e5a-4390-9256-8e4ee08a241b/DJI_202410291651_019_0bbc74b4-5e5a-4390-9256-8e4ee08a241b-flyto/DJI_20241029165242_0001_T.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio_admin%2F20241030%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241030T034044Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3Bfilename%3D%22DJI_20241029165242_0001_T.jpeg%22&response-expires=Thu%2C%2031%20Oct%202024%2003%3A40%3A44%20GMT&x-id=GetObject&X-Amz-Signature=8b13f5c0ec5cbce6adb78a9f6bf9a393881b17e3c4e7d3f9a25cc4cd30a2f099",
        "create_at": "2024-10-29T16:52:42+08:00",
        "update_at": "2024-10-29T16:52:55.180675+08:00"
      }
    ]
  }
}
Previous
Obtain flight task list
Next
Obtain Flight task trajectory information
Built with