FlightHub Sync
  1. Task distribution
FlightHub Sync
  • FlightHub
    • FlightFub Webhook
    • ENV
    • Error Code
    • Live stream forwarding
      • Start Stream Forwarding
      • Stop Stream Forwarding
      • Get Stream Forwarding Channel Transcoder
    • Task distribution
      • Get Flight Task Files List
        GET
      • Create Flight Task
        POST
      • Commands During the Flight Task
        POST
      • Flight Task Trajectory Acquisition
        GET
      • Project Equipment Topology
        GET
      • Get Flight Task Details
        GET
    • Get Organization Project List
      GET
    • Get Project Device List
      GET
    • Push Event Notification and Map Annotation
      POST
    • Get Temporary Upload Token
      POST
    • Notify of Route File Upload
      POST
    • Get File Information and Download Address
      GET
  1. Task distribution

Flight Task Trajectory Acquisition

GET
/task/api/v1.0/projects/{project_uuid}/flight-tasks/track

Request

Path Params
project_uuid
string 
required
Project uuid
Query Params
task_uuid
string 
required
Flight task uuid
Header Params
X-Organization-Key
string 
required
Organization-Key
Example:
{{organization_key}}

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 '/task/api/v1.0/projects//flight-tasks/track?task_uuid' \
--header 'X-Organization-Key: {{organization_key}}' \
--header 'X-Organization-Key;'

Responses

🟢200OK
application/json
Body
body
object 
required
code
integer 
required
data
object 
required
message
string 
required
headers
object 
required
size
integer 
required
status
integer 
required
Examples
{
    "body": {
        "code": 0,
        "data": {
            "completed_at": null,
            "name": "New plan",
            "run_at": "2024-06-18T13:13:37.27706Z",
            "status": 2,
            "track": {
                "drone_sn": "DRONESN",
                "flight_distance": 0,
                "flight_duration": 0,
                "points": [
                    {
                        "height": 26.603854370117187,
                        "latitude": 22.9077271219904,
                        "longitude": 113.707357997219,
                        "timestamp": 1718716429000
                    },
                    {
                        "height": 30.50385437011719,
                        "latitude": 22.907726688936652,
                        "longitude": 113.7073580318538,
                        "timestamp": 1718716431000
                    }
                ],
                "track_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
            },
            "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            "wayline_uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        },
        "message": "success"
    },
    "headers": {},
    "size": 6016,
    "status": 200
}
🟠404Record Not Found
Modified at 2024-11-08 03:19:20
Previous
Commands During the Flight Task
Next
Project Equipment Topology
Built with