Download OpenAPI specification:
Welcome to the Dronetag Cloud Platform API Documentation. Here, you will find detailed information on endpoints, request and response formats, authentication methods, and examples to help you effectively utilize our API.
To learn more on how to best use our APIs, please read our Developers documentation on our help website
The Telemetry API provides access to the current telemetry data for UAs, Operators, and Systems. This allows users to monitor real-time information about flight status, location and other Remote ID information.
The response is streamed when using Accept header values application/x-ndjson, application/gpx+xml,
application/vnd.google-earth.kml+xml, or text/csv.
From (string) or From (string) or From (null) (From) Examples: from=2024-03-04T11:00:00Z from=-01:00:00 from=-PT1H Absolute or relative date range start (ISO8601 datetime or duration string). Optional only when making a request with | |
To (string) or To (string) or To (null) (To) Examples: to=2024-03-04T11:55:00Z to=-00:05:00 to=-PT5M Absolute or relative date range end (ISO8601 datetime or duration string). Current datetime is used when left empty. | |
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). This parameter is applied on the operation level, which means that all operation telemetry will be returned if it intersects the bounding box with at least one datapoint. | |
Operation Id (string) or Operation Id (null) (Operation Id) If not empty, filter telemetry by a specific operation If | |
Uas Id (string) or Uas Id (null) (Uas Id) If not empty, filter telemetry to a specific UAS ID | |
Sensor Id (string) or Sensor Id (null) (Sensor Id) If not empty, filter telemetry by a specific sensor ID | |
Limit (integer) or Limit (null) (Limit) When not using streamed format the default value is | |
| offset | integer (Offset) >= 0 Default: 0 |
PublicTelemetryOrderingEnum (string) or Order (null) (Order) Default: "time" Examples: order=time order=-time Note that when using | |
Globalize (boolean) or Globalize (null) (Globalize) If set to | |
| exclude_public | boolean (Exclude Public) Default: false If set, only the data you explicitly have access to will be part of the result. This is useful if you only want to see or export your data. |
| accept | string (GeoExportAcceptHeader) Default: application/json Enum: "*/*" "application/json" "application/x-ndjson" "text/csv" "application/gpx+xml" "application/vnd.google-earth.kml+xml" |
[- {
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_accuracy": 0.1,
- "sensor_id": "string",
- "operation_id": "string",
- "location": {
- "latitude": 0,
- "longitude": 0,
- "accuracy": 0
}, - "altitude": {
- "type": "MSL",
- "value": 0,
- "accuracy": 0
}, - "source_type": "take_off"
}
]Returns last reported Operator telemetry per operation on a global scale and inside a limited time window. This endpoint is intended to provide approximate location of an ongoing operations when viewing larger regions.
This endpoint allows querying data on a geographical scale that surpasses the otherwise imposed size limit of the bounding box. The trade-offs are:
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). | |
| max_age | integer (Max Age) ( 0 .. 30 ] Default: 30 Examples: max_age=15 The maximum allowed age of the returned telemetry in minutes. |
| globalize | boolean (Globalize) Default: true If set data will be presented under the global operation, which is the desired default behaviour. Unglobalized data can lead to incomplete dataset being presented. |
| accept | string (Accept) Default: application/json |
[- {
- "operation_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "sensor_id": "string",
- "latitude": 0,
- "longitude": 0
}
]The response is streamed when using Accept header values application/x-ndjson, application/gpx+xml,
application/vnd.google-earth.kml+xml, or text/csv.
Note that since the location is optional for system telemetry, the data points without it
will be omitted when using the application/vnd.google-earth.kml+xml or application/gpx+xml.
Airspace Service does not bind system telemetry to a specific operation. That is why even
though operation_id is part of the DUMP output schema it is never used.
From (string) or From (string) or From (null) (From) Examples: from=2024-03-04T11:00:00Z from=-01:00:00 from=-PT1H Absolute or relative date range start (ISO8601 datetime or duration string). Optional only when making a request with | |
To (string) or To (string) or To (null) (To) Examples: to=2024-03-04T11:55:00Z to=-00:05:00 to=-PT5M Absolute or relative date range end (ISO8601 datetime or duration string). Current datetime is used when left empty. | |
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). This parameter is applied on the operation level, which means that all operation telemetry will be returned if it intersects the bounding box with at least one datapoint. | |
Operation Id (string) or Operation Id (null) (Operation Id) Although the Airspace Service does not bind system telemetry to a specific operation, it is possible to retrieve the relevant system telemetry by using the Note that | |
Uas Id (string) or Uas Id (null) (Uas Id) Deprecated | |
Sensor Id (string) or Sensor Id (null) (Sensor Id) If not empty, filter telemetry by a specific sensor ID | |
Limit (integer) or Limit (null) (Limit) When not using streamed format the default value is | |
| offset | integer (Offset) >= 0 Default: 0 |
PublicTelemetryOrderingEnum (string) or Order (null) (Order) Default: "time" Examples: order=time order=-time Note that when using | |
Globalize (boolean) or Globalize (null) (Globalize) Deprecated This parameter is ignored. Airspace Service does not bind system telemetry to a specific operation. | |
| exclude_public | boolean (Exclude Public) Default: false If set, only the data you explicitly have access to will be part of the result. This is useful if you only want to see or export your data. |
| accept | string (GeoExportAcceptHeader) Default: application/json Enum: "*/*" "application/json" "application/x-ndjson" "text/csv" "application/gpx+xml" "application/vnd.google-earth.kml+xml" |
[- {
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_accuracy": 0.1,
- "sensor_id": "string",
- "operation_id": "string",
- "system_type": "rid_module",
- "system_status": "operational",
- "location": {
- "latitude": 0,
- "longitude": 0,
- "accuracy": 0
}, - "altitude": {
- "type": "MSL",
- "value": 0,
- "accuracy": 0
}, - "power_source": {
- "type": "unknown",
- "input_voltage": 0,
- "charge_percentage": 0,
- "is_being_charged": true
}, - "lte_connectivity": {
- "status": "connected",
- "rsrq": 0,
- "rsrp": 0,
- "snr": 0,
- "tac": 0,
- "cell_id": 0
}, - "gnss_connectivity": {
- "status": "connected",
- "satellites": 0
}
}
]Returns last reported System telemetry per operation on a global scale and inside a limited time window. This endpoint is intended to provide approximate location of an ongoing operations when viewing larger regions.
This endpoint allows querying data on a geographical scale that surpasses the otherwise imposed size limit of the bounding box. The trade-offs are:
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). | |
| max_age | integer (Max Age) ( 0 .. 30 ] Default: 30 Examples: max_age=15 The maximum allowed age of the returned telemetry in minutes. |
| globalize | boolean (Globalize) Default: true If set data will be presented under the global operation, which is the desired default behaviour. Unglobalized data can lead to incomplete dataset being presented. |
| accept | string (Accept) Default: application/json |
[- {
- "operation_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "sensor_id": "string",
- "latitude": 0,
- "longitude": 0
}
]The response is streamed when using Accept header values application/x-ndjson, application/gpx+xml,
application/vnd.google-earth.kml+xml, or text/csv.
From (string) or From (string) or From (null) (From) Examples: from=2024-03-04T11:00:00Z from=-01:00:00 from=-PT1H Absolute or relative date range start (ISO8601 datetime or duration string). Optional only when making a request with | |
To (string) or To (string) or To (null) (To) Examples: to=2024-03-04T11:55:00Z to=-00:05:00 to=-PT5M Absolute or relative date range end (ISO8601 datetime or duration string). Current datetime is used when left empty. | |
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). This parameter is applied on the operation level, which means that all operation telemetry will be returned if it intersects the bounding box with at least one datapoint. | |
Operation Id (string) or Operation Id (null) (Operation Id) If not empty, filter telemetry by a specific operation If | |
Uas Id (string) or Uas Id (null) (Uas Id) If not empty, filter telemetry to a specific UAS ID | |
Sensor Id (string) or Sensor Id (null) (Sensor Id) If not empty, filter telemetry by a specific sensor ID | |
Limit (integer) or Limit (null) (Limit) When not using streamed format the default value is | |
| offset | integer (Offset) >= 0 Default: 0 |
PublicTelemetryOrderingEnum (string) or Order (null) (Order) Default: "time" Examples: order=time order=-time Note that when using | |
Globalize (boolean) or Globalize (null) (Globalize) If set to | |
| exclude_public | boolean (Exclude Public) Default: false If set, only the data you explicitly have access to will be part of the result. This is useful if you only want to see or export your data. |
| accept | string (GeoExportAcceptHeader) Default: application/json Enum: "*/*" "application/json" "application/x-ndjson" "text/csv" "application/gpx+xml" "application/vnd.google-earth.kml+xml" |
[- {
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_accuracy": 0.1,
- "sensor_id": "string",
- "operation_id": "string",
- "operational_state": "grounded",
- "location": {
- "latitude": 0,
- "longitude": 0,
- "accuracy": 0
}, - "altitudes": [ ],
- "velocity": {
- "heading": 0,
- "horizontal_speed": 0,
- "vertical_speed": 0,
- "components": [
- 0,
- 0,
- 0
], - "components_accuracy": 0,
- "speed_accuracy": 0
}, - "air_pressure": 0
}
]Returns last reported UA telemetry per operation on a global scale and inside a limited time window. This endpoint is intended to provide approximate location of an ongoing operations when viewing larger regions.
This endpoint allows querying data on a geographical scale that surpasses the otherwise imposed size limit of the bounding box. The trade-offs are:
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). | |
| max_age | integer (Max Age) ( 0 .. 30 ] Default: 30 Examples: max_age=15 The maximum allowed age of the returned telemetry in minutes. |
| globalize | boolean (Globalize) Default: true If set data will be presented under the global operation, which is the desired default behaviour. Unglobalized data can lead to incomplete dataset being presented. |
| accept | string (Accept) Default: application/json |
[- {
- "operation_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "sensor_id": "string",
- "latitude": 0,
- "longitude": 0
}
]The Operation API enables users to retrieve detailed information about known flight operations.
Note that the globalize parameter modifies the output schema. The default and desired
behaviour is to use globalize=true. If globalize=false is used, the returned operations
can be fragmented, i.e., there can be multiple separate operations that would normally be
presented as one.
required | From (string) or From (string) (From) Examples: from=2024-03-04T11:00:00Z from=-01:00:00 from=-PT1H Absolute or relative date range start (ISO8601 datetime or duration string). Optional only when making a request with |
To (string) or To (string) or To (null) (To) Examples: to=2024-03-04T11:55:00Z to=-00:05:00 to=-PT5M Absolute or relative date range end (ISO8601 datetime or duration string). Current datetime is used when left empty. | |
Source Id (string) or Source Id (null) (Source Id) Deprecated Filter operations by a specific source. Deprecated, use | |
Sensor Id (string) or Sensor Id (null) (Sensor Id) Filter operations by a specific source sensor ID. | |
Limit (integer) or Limit (null) (Limit) If not provided, defaults to | |
| offset | integer (Offset) >= 0 Default: 0 |
Bbox (string) or Bbox (null) (Bbox) Examples: bbox=14.383,50.100,14.394,50.106 Bounding box coordinates (lon_min, lat_min, lon_max, lat_max). Only operations that have at least one telemetry inside the bbox will be included in the result. | |
| order | string (OperationListOrderingEnum) Default: "time" Enum: "time" "-time" Examples: order=time order=-time |
| include_last_telemetry | boolean (Include Last Telemetry) Default: false If set to true, the last telemetry of each type will be included, if such telemetry even exists. If set to false, |
| globalize | boolean (Globalize) Default: true If set the returned operations will be the global operations, which is the desired and default behaviour. Unglobalized data can lead to fragmentation (i.e. a single "flight" can be present as multiple operations). Note that this parameter slightly modifies the output schema. |
| exclude_public | boolean (Exclude Public) Default: false If set, only the data you explicitly have access to will be part of the result. This is useful if you only want to see or export your data. |
Seen (boolean) or Seen (null) (Seen) If true, only return operations that user has seen; if false, return only unseen; if omitted, return all. | |
DUMPSystemType (string) or Source Type (null) (Source Type) If set, filters the returned operations by the specific type. Useful, for example, if you only want to list detections, which can be achieved by settings this parameter to | |
Search (string) or Search (null) (Search) Search for specific substring (case insensitive). The following fields are searched: UA identifier values, UAS operator ID, sensor ID, and aircraft model. | |
Array of Transmission Technology (strings) or Transmission Technology (null) (Transmission Technology) Filter the operations by the used transmission technology. If there are multiple values passed the lookup will use a logical OR. | |
Ato From (number) or Ato From (null) (Ato From) Filter the operations to only include those that have reachedat least this ATO altitude [m]. | |
Ato To (number) or Ato To (null) (Ato To) Filter the operations to only include those that have been as lowas this ATO altitude [m]. | |
Operator Distance From (number) or Operator Distance From (null) (Operator Distance From) Filter the operations to only include those where the distance between the UA and its operator has, at some point, been at least this far [m]. | |
Operator Distance To (number) or Operator Distance To (null) (Operator Distance To) Filter the operations to only include those where the distance between the UA and its operator has, at some point, been at most this far [m]. | |
Sensor Distance From (number) or Sensor Distance From (null) (Sensor Distance From) Filter the operations to only include those where the distance between the UA and the sensor that had reported it has, at some point, been at least this far [m]. | |
Sensor Distance To (number) or Sensor Distance To (null) (Sensor Distance To) Filter the operations to only include those where the distance between the UA and the sensor that had reported it has, at some point, been at most this far [m]. |
[ ]| operation_id required | string (The ID of the operation) If |
Globalize (boolean) or Globalize (null) (Globalize) Specifies if the retrieved operation should be global or not. If not set (the default) the endpoint itself will determine if the returned operation should or shouldn't be globalized. Note that if you do know if the |
{- "id": "string",
- "status": "past",
- "sensor_id": "string",
- "uas_operator_id": "string",
- "ua_classification": "string",
- "ua_classification_type": "string",
- "ua_identifiers": [ ],
- "authentication": [ ],
- "descriptions": [ ],
- "warnings": [ ],
- "transmission_technology": "wifi_beacon",
- "aircraft_models": [
- {
- "maker": "string",
- "model": "string",
- "type": "string"
}
], - "seen": true,
- "bbox": "14.5,50.1,14.6,50.2",
- "time_created": "2019-08-24T14:15:22Z",
- "time_updated": "2019-08-24T14:15:22Z",
- "time_first_telemetry": "2019-08-24T14:15:22Z",
- "time_last_telemetry": "2019-08-24T14:15:22Z",
- "sources": [
- {
- "message_count": 0,
- "name": "string",
- "type": "rid_module"
}
], - "sensor_ids": [
- "string"
], - "suboperations": [ ],
- "transmission_technologies": [
- "wifi_beacon"
]
}Deletes the operation with the given operation_id. Note that the delete is implemented as a
soft delete.
If `globalize=true` then the delete will target all of the global operation's suboperations you
have a `write` access to, i.e., if there is a suboperation you only have `read` access
to the global operation will remain present even after the delete.
If `globalize=false` then only the specific suboperation will be deleted (assuming you have
a `write` access).
However, by default the `globalize` is not set and the endpoint itself will determine if the
passed `operation_id` is that of a global operation or suboperation. For this reason, it is
strongly recommended to explicitly set the `globalize` parameter.
Note that `globalize=true` puts an extra validation on the `operation_id`. It must be a valid
`UUID`.
| operation_id required | string (The ID of the operation) If |
Globalize (boolean) or Globalize (null) (Globalize) Specifies if the retrieved operation should be global or not. If not set (the default) the endpoint itself will determine if the returned operation should or shouldn't be globalized. Note that if you do know if the |
{- "detail": {
- "type": "invalid_operation_id",
- "loc": [
- "path",
- "operation_id"
], - "msg": "Operation ID must be a valid UUID.",
- "input": "foo"
}
}Note the 202 response code signifies the statistics need to be refreshed and a repeated
request is necessary to receive the "current" values (until the response code is 200).
| operation_id required | string (The ID of the operation) |
Globalize (boolean) or Globalize (null) (Globalize) Specifies whether the passed Note that if you do know if the |
{- "timestamp": "2019-08-24T14:15:22Z",
- "duration": 0,
- "total_distance": 0,
- "max_horizontal_speed": 0,
- "min_altitude": 0,
- "max_altitude": 0,
- "min_operator_distance": 0,
- "max_operator_distance": 0,
- "min_sensor_distance": 0,
- "max_sensor_distance": 0
}Each user can create at most one annotation per operation.
| operation_id required | string <uuid> (Operation Id) Global operation ID |
Note (string) or Note (null) (Note) | |
Any of <= 1000 characters string (Note) <= 1000 characters | |
{- "note": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "string",
- "note": "string",
- "can_edit": true
}Retrieve all user data attached to the specific global operation. This will return all user data the user making the request has access to.
| operation_id required | string <uuid> (Operation Id) Global operation ID |
{- "can_add": true,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "string",
- "note": "string",
- "can_edit": true
}
]
}| operation_id required | string <uuid> (Operation Id) Global operation ID |
| user_data_id required | string <uuid> (User Data Id) ID of the specific user data |
Note (string) or Note (null) (Note) | |
Any of <= 1000 characters string (Note) <= 1000 characters | |
{- "note": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "string",
- "note": "string",
- "can_edit": true
}| operation_id required | string <uuid> (Operation Id) Global operation ID |
| user_data_id required | string <uuid> (User Data Id) ID of the specific user data |
{- "type": "unauthenticated",
- "msg": "Authentication required",
- "loc": [
- "header",
- "Authorization"
], - "input": "omitted"
}The Aircrafts API allows users to manage aircraft stored in their Dronetag accounts. You can list, add, modify, or delete aircraft details using this API.
Returns all aircrafts that user has access to.
| _download | string Examples:
Format of the file depends on the request Accept header value. Currently supported values are: |
| format | string Enum: "csv" "json" |
| limit | integer Returned collection is split into invididual pages of data.
Note: The example includes a line break for readability
The limit indicates the maximum number of items to return. Default limit is 10. |
| offset | integer The offset indicates the starting position of the query in relation to the complete set of unpaginated items. |
| ordering | string Returned collection can be sorted according to one or multiple fields. Use For sorting according to multiple fields you can use |
| owner | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}
]Creates new aircraft. If name is omitted, system generates a default name. Weight of the aircraft, if weight=null is read from AircraftModel entity. If real aircraft weight differ from aircraft model's weight, it can be overriden by the weight field.
| format | string Enum: "csv" "json" |
| name required | string [ 1 .. 255 ] characters |
| model | string or null <uuid> |
| weight required | number <double> in grams (g) |
| uas_class required | string (UasClassEnum) Enum: "AircraftUASClass.C0" "AircraftUASClass.C1" "AircraftUASClass.C2" "AircraftUASClass.C3" "AircraftUASClass.C4" "AircraftUASClass.C5" "AircraftUASClass.C6" "AircraftUASClass.OTHER" "AircraftUASClass.NONE" "AircraftUASClass.UNKNOWN"
|
| endurance required | integer [ 0 .. 2147483647 ] in minutes (mins) |
{- "name": "string",
- "model": "a047ecae-0f27-4ff4-95bb-0f06d1225aa8",
- "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}Returns detailed information about an aircraft.
| id required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}Edits an existing aircraft. Fields that are not changed, can be omitted.
| id required | string <uuid> |
| name required | string [ 1 .. 255 ] characters |
| model | string or null <uuid> |
| weight required | number <double> in grams (g) |
| uas_class required | string (UasClassEnum) Enum: "AircraftUASClass.C0" "AircraftUASClass.C1" "AircraftUASClass.C2" "AircraftUASClass.C3" "AircraftUASClass.C4" "AircraftUASClass.C5" "AircraftUASClass.C6" "AircraftUASClass.OTHER" "AircraftUASClass.NONE" "AircraftUASClass.UNKNOWN"
|
| endurance required | integer [ 0 .. 2147483647 ] in minutes (mins) |
{- "name": "string",
- "model": "a047ecae-0f27-4ff4-95bb-0f06d1225aa8",
- "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}Returns a list of existing drone vendors with all models for users to choose from.
| ordering | string Returned collection can be sorted according to one or multiple fields. Use For sorting according to multiple fields you can use |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "models": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "full_name": "string",
- "type": "None/Not Declared",
- "weight": 0.1,
- "endurance": 2147483647,
- "uas_class": "AircraftUASClass.C0"
}
]
}
]The Airspace API is a legacy API designed for accessing current telemetry data.
Please switch to using the Telemetry API instead.
Returns all Dronetag devices that user has access to.
| _download | string Examples:
Format of the file depends on the request Accept header value. Currently supported values are: |
| format | string Enum: "csv" "json" |
| iccid | string |
| include_shared | string |
| limit | integer Returned collection is split into invididual pages of data.
Note: The example includes a line break for readability
The limit indicates the maximum number of items to return. Default limit is 10. |
| offset | integer The offset indicates the starting position of the query in relation to the complete set of unpaginated items. |
| ordering | string Returned collection can be sorted according to one or multiple fields. Use For sorting according to multiple fields you can use |
| owner | string <uuid> |
| serial_number | string |
| serial_number_prefix | string |
| type | string |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "product": {
- "code": "string",
- "name": "string",
- "product_type": "rid_transmitter",
- "type_id": -2147483648,
- "has_network_features": true,
- "deprecated": true,
- "has_trial": true
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "operator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "hw_revision": "string",
- "has_network_features": true,
- "flavor": "string",
- "iccid": "string",
- "fw_bundle": "string",
- "date_activated": "2019-08-24",
- "groups": [
- "string"
], - "is_userless_allowed": true,
- "default_aircraft_override": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}, - "access_list": "string",
- "color_tag": "string",
- "callsign": "string",
- "shared_acl_items_count": 0
}
]Register a new device
| format | string Enum: "csv" "json" |
| serial_number required | string non-empty |
| name | string or null non-empty |
| activation_confirmed | boolean or null |
| default_aircraft_override | string or null <uuid> |
{- "serial_number": "string",
- "name": "string",
- "activation_confirmed": true,
- "default_aircraft_override": "81e9bb11-9a89-4b30-adbb-c804d467c1c1"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "product": {
- "code": "string",
- "name": "string",
- "product_type": "rid_transmitter",
- "type_id": -2147483648,
- "has_network_features": true,
- "deprecated": true,
- "has_trial": true
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "operator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "hw_revision": "string",
- "has_network_features": true,
- "flavor": "string",
- "iccid": "string",
- "fw_bundle": "string",
- "date_activated": "2019-08-24",
- "groups": [
- "string"
], - "is_userless_allowed": true,
- "default_aircraft_override": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}, - "access_list": "string",
- "color_tag": "string",
- "callsign": "string",
- "shared_acl_items_count": 0
}Returns detailed information about a single Dronetag device.
| id required | string Device ID or Serial Number |
| include_shared | boolean Default: "false" Enum: "false" "true" If true, allows retrieving a device explicitly shared with the caller. Defaults to false. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "product": {
- "code": "string",
- "name": "string",
- "product_type": "rid_transmitter",
- "type_id": -2147483648,
- "has_network_features": true,
- "deprecated": true,
- "has_trial": true
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "operator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "hw_revision": "string",
- "has_network_features": true,
- "flavor": "string",
- "iccid": "string",
- "fw_bundle": "string",
- "date_activated": "2019-08-24",
- "groups": [
- "string"
], - "is_userless_allowed": true,
- "default_aircraft_override": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}, - "access_list": "string",
- "color_tag": "string",
- "callsign": "string",
- "shared_acl_items_count": 0
}Edits an existing device.
| id required | string Device ID or Serial Number |
| include_shared | boolean Default: "false" Enum: "false" "true" If true, allows retrieving a device explicitly shared with the caller. Defaults to false. |
| name | string or null non-empty |
| fw_bundle | string non-empty |
| provisioning_status | string non-empty |
| groups | Array of strings[ items non-empty ] |
| default_aircraft_override | string or null <uuid> |
| color_tag | string or null non-empty |
| callsign | string or null non-empty |
{- "name": "string",
- "fw_bundle": "string",
- "provisioning_status": "string",
- "groups": [
- "string"
], - "default_aircraft_override": "81e9bb11-9a89-4b30-adbb-c804d467c1c1",
- "color_tag": "string",
- "callsign": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "product": {
- "code": "string",
- "name": "string",
- "product_type": "rid_transmitter",
- "type_id": -2147483648,
- "has_network_features": true,
- "deprecated": true,
- "has_trial": true
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "operator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "hw_revision": "string",
- "has_network_features": true,
- "flavor": "string",
- "iccid": "string",
- "fw_bundle": "string",
- "date_activated": "2019-08-24",
- "groups": [
- "string"
], - "is_userless_allowed": true,
- "default_aircraft_override": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}, - "access_list": "string",
- "color_tag": "string",
- "callsign": "string",
- "shared_acl_items_count": 0
}Breaks the link between Dronetag device and user account. After unregistering, the device can be paired again with different account. Unregistering doesn't delete any data on its own, only pairing is changed. Upon unregistering, user should be asked if he wants to keep the data related to this device, or wipe them.
| id required | string Device ID or Serial Number |
{- "error": "string",
- "messages": [
- "string"
]
}Lists device capabilities as a simple boolean dictionary.
| id required | string <uuid> |
{- "product_has_network_features": true,
- "has_softsim": true,
- "can_be_provisioned": true
}Retrieves a default configuration set, assigned either directly to the device (takes priority), or assigned to the device flavor, if any is set.
If both device and flavor has no configuration set assigned, or device has no configuration set assigned and no flavor, an 404 error is returned.
| id required | string <uuid> |
{- "date_created": "2019-08-24T14:15:22Z",
- "name": "string",
- "data": {
- "property1": null,
- "property2": null
}, - "is_default": true,
- "is_merged": true
}Retrieves a list of eventual device eligibility issues — an issues that would prevent creating a new flight with this device.
If there are no issues, an empty response is usually returned. Empty response means, that the device has no issues and there should be no restrictions to start a new flight with this device.
| id required | string <uuid> |
[- {
- "id": "string",
- "description": "string",
- "is_blocking": true
}
]Generates a new SIM profile for this device and retrieves the newly creates SIM profile as a binary data.
| id required | string <uuid> |
{- "error": "string",
- "messages": [
- "string"
]
}Returns detailed information about a single Dronetag device's sim card.
| id required | string <uuid> |
{- "iccid": "string",
- "imsi": "string",
- "msisdn": "string",
- "ip": "string",
- "activated": "2019-08-24T14:15:22Z",
- "provider_name": "string",
- "provider_acronym": "string",
- "note": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_serial_number": "string"
}Returns data usage information about a single Dronetag device's sim card.
| id required | string <uuid> |
| include_shared | boolean Default: "false" Enum: "false" "true" If true, allows retrieving a device explicitly shared with the caller. Defaults to false. |
{- "used_data_bytes": "string",
- "data_quota_bytes": "string",
- "scan_hours_left_estimate": "string",
- "active_data_bundles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "is_paid": true,
- "is_available": true,
- "is_activated": true,
- "is_expired": true,
- "data_allowance": 1,
- "data_used": 2147483647,
- "data_used_pct": 0.1,
- "date_purchased": "2019-08-24T14:15:22Z",
- "date_paid": "2019-08-24T14:15:22Z",
- "date_expiration": "2019-08-24T14:15:22Z",
- "date_activated": "2019-08-24T14:15:22Z",
- "date_active_until": "2019-08-24T14:15:22Z",
- "activated_for": "string"
}
]
}Returns a history of device's status updates for a specific flight
| id required | string <uuid> |
| _download | string Examples:
Format of the file depends on the request Accept header value. Currently supported values are: |
| format | string Enum: "csv" "json" "kml" |
| limit | integer Returned collection is split into invididual pages of data.
Note: The example includes a line break for readability
The limit indicates the maximum number of items to return. Default limit is 10. |
| offset | integer The offset indicates the starting position of the query in relation to the complete set of unpaginated items. |
[- {
- "flight": "string",
- "time": "2019-08-24T14:15:22Z",
- "time_received": "2019-08-24T14:15:22Z",
- "battery": 0.1,
- "cellid": "string",
- "rsrp": 0.1,
- "rsrq": 0.1,
- "snr": 0.1,
- "tac": "strin",
- "satellites": -2147483648,
- "charging": true
}
]Creates a new device status history for a flight, from a collection of entries
| id required | string <uuid> |
| format | string Enum: "csv" "json" "kml" |
| flight required | string |
| time | string <date-time> (Time from GNSS receiver) |
| time_received | string <date-time> (Time received on cloud) |
| battery | number or null <double> (Voltage of devices battery) in Voltes (V) |
| cellid | string or null (ID of current LTE cell) <= 9 characters Cell ID ranges from 0 to 268,435,455 on UMTS and LTE networks. |
| rsrp | number or null <double> (Reference Signal Received Power of LTE) in decibelmiliwatts (dBm) |
| rsrq | number or null <double> (Reference Signal Received Quality of LTE) in decibels (dB) |
| snr | number or null <double> (Signal to Noise Ratio of LTE) in decibels (dB) |
| tac | string or null (Tracking Area Code of LTE) <= 5 characters The Tracking Area Code has a range of 0 to 65536. |
| satellites | integer or null (Number of GNSS satellites) [ -2147483648 .. 2147483647 ] |
| charging | boolean or null |
[- {
- "flight": "string",
- "time": "2019-08-24T14:15:22Z",
- "time_received": "2019-08-24T14:15:22Z",
- "battery": 0.1,
- "cellid": "string",
- "rsrp": 0.1,
- "rsrq": 0.1,
- "snr": 0.1,
- "tac": "strin",
- "satellites": -2147483648,
- "charging": true
}
]{- "error": "string",
- "messages": [
- "string"
]
}Endpoint to create a new device manufacture report
| serial_number required | string non-empty |
| station_id required | string [ 1 .. 64 ] characters |
| operator | string <= 64 characters |
| action | string <= 128 characters |
{- "serial_number": "string",
- "station_id": "string",
- "operator": "string",
- "action": "string"
}{- "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "station_id": "string",
- "operator": "string",
- "action": "string"
}Create a new device in backend database
| serial_number required | string [ 1 .. 20 ] characters |
| name | string <= 255 characters |
| type required | string (Code name) non-empty |
| owner | string or null <email> non-empty |
| works | boolean |
PurposeEnum (string) or BlankEnum (any) | |
One of string (PurposeEnum) Enum: "retail" "development" "user-testing" "obsolete"
| |
| fw_bundle | string or null (Firmware bundle version) <= 32 characters |
| hw_revision | string or null (Hardware revision) <= 256 characters |
| mfw_version | string or null (LTE Modem firmware version) <= 32 characters |
| iccid | string or null non-empty ^\d+$ |
| mmcu_id | string or null <= 255 characters Main microcontroler unit ID |
(ProvisioningStatusEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
One of string or null (ProvisioningStatusEnum) Enum: "pending" "provisioned" "revoked"
| |
| hw_notes | string or null (Hardware notes) |
| manufacture_batch | string or null <= 32 characters Manufacture batch ID |
| groups | Array of strings[ items non-empty ] |
{- "serial_number": "string",
- "name": "string",
- "type": "string",
- "owner": "user@example.com",
- "works": true,
- "purpose": "retail",
- "fw_bundle": "string",
- "hw_revision": "string",
- "mfw_version": "string",
- "iccid": "string",
- "mmcu_id": "string",
- "provisioning_status": "pending",
- "hw_notes": "string",
- "manufacture_batch": "string",
- "groups": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "owner": "user@example.com",
- "works": true,
- "purpose": "retail",
- "fw_bundle": "string",
- "hw_revision": "string",
- "mfw_version": "string",
- "iccid": "string",
- "mmcu_id": "string",
- "provisioning_status": "pending",
- "hw_notes": "string",
- "manufacture_batch": "string",
- "groups": [
- "string"
], - "date_created": "2019-08-24T14:15:22Z",
- "date_modified": "2019-08-24T14:15:22Z"
}Update information about the device
| serial_number required | string [ 1 .. 20 ] characters |
| name | string <= 255 characters |
| type | string (Code name) non-empty |
| owner | string or null <email> non-empty |
| works | boolean |
PurposeEnum (string) or BlankEnum (any) | |
One of string (PurposeEnum) Enum: "retail" "development" "user-testing" "obsolete"
| |
| fw_bundle | string or null (Firmware bundle version) <= 32 characters |
| hw_revision | string or null (Hardware revision) <= 256 characters |
| mfw_version | string or null (LTE Modem firmware version) <= 32 characters |
| iccid | string or null non-empty ^\d+$ |
| mmcu_id | string non-empty |
(ProvisioningStatusEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
One of string or null (ProvisioningStatusEnum) Enum: "pending" "provisioned" "revoked"
| |
| manufacture_batch | string or null <= 32 characters Manufacture batch ID |
| hw_notes | string or null (Hardware notes) |
| groups | Array of strings[ items non-empty ] |
{- "serial_number": "string",
- "name": "string",
- "type": "string",
- "owner": "user@example.com",
- "works": true,
- "purpose": "retail",
- "fw_bundle": "string",
- "hw_revision": "string",
- "mfw_version": "string",
- "iccid": "string",
- "mmcu_id": "string",
- "provisioning_status": "pending",
- "manufacture_batch": "string",
- "hw_notes": "string",
- "groups": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "owner": "user@example.com",
- "works": true,
- "purpose": "retail",
- "fw_bundle": "string",
- "hw_revision": "string",
- "mfw_version": "string",
- "iccid": "string",
- "mmcu_id": "string",
- "provisioning_status": "pending",
- "hw_notes": "string",
- "manufacture_batch": "string",
- "groups": [
- "string"
], - "date_created": "2019-08-24T14:15:22Z",
- "date_modified": "2019-08-24T14:15:22Z"
}Post a request to make devices retail ready. If any of the devices fail, the update is not made on any of the devices.
| serial_number_list | Array of strings[ items non-empty ] |
| id_list | Array of strings <uuid> [ items <uuid > ] |
{- "serial_number_list": [
- "string"
], - "id_list": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string",
- "product": {
- "code": "string",
- "name": "string",
- "product_type": "rid_transmitter",
- "type_id": -2147483648,
- "has_network_features": true,
- "deprecated": true,
- "has_trial": true
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "operator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "hw_revision": "string",
- "has_network_features": true,
- "flavor": "string",
- "iccid": "string",
- "fw_bundle": "string",
- "date_activated": "2019-08-24",
- "groups": [
- "string"
], - "is_userless_allowed": true,
- "default_aircraft_override": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "model": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "weight": 0.1,
- "uas_class": "AircraftUASClass.C0",
- "endurance": 2147483647
}, - "access_list": "string",
- "color_tag": "string",
- "callsign": "string",
- "shared_acl_items_count": 0
}
]Returns detailed information about a single Dronetagdevice's sim card according to simcards iccid.
| iccid required | string |
{- "iccid": "string",
- "imsi": "string",
- "msisdn": "string",
- "ip": "string",
- "activated": "2019-08-24T14:15:22Z",
- "provider_name": "string",
- "provider_acronym": "string",
- "note": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_serial_number": "string"
}The Flights API provides access to historical flight list and telemetry data stored in Dronetag user accounts.
Returns all flights that user has access to.
| _download | string Examples:
Format of the file depends on the request Accept header value. Currently supported values are: |
| aircraft | string <uuid> |
| date_finished | string <date-time> |
| date_from | string |
| date_started | string <date-time> |
| date_to | string |
| device | string <uuid> |
| device_sn | string |
| format | string Enum: "csv" "json" |
| limit | integer Returned collection is split into invididual pages of data.
Note: The example includes a line break for readability
The limit indicates the maximum number of items to return. Default limit is 10. |
| offset | integer The offset indicates the starting position of the query in relation to the complete set of unpaginated items. |
| ordering | string Returned collection can be sorted according to one or multiple fields. Use For sorting according to multiple fields you can use |
| pilot | string <uuid> |
| status | string Filter by flight status |
| visibility | string |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "status": "planned",
- "closing_flag": "nominal",
- "distance": 0.1,
- "duration": 0,
- "visibility": "public",
- "aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}
]Creates a flight. Flights are created with the status planned, if the status is not specified. Other statuses are also allowed, for example, for the case of offline sync of the flights. id is also allowed to be set which should be used only after a check is done, that a flight with this id does not exist, otherwise it will throw an 409 error.
If user decide to create a flight for an organization (organization_id != null), both device_id and aircraft_id must refer to devices and aircraft that are both in the same organization. If flight visibility is not specified in the request body, it is taken from user preferences default_visibility field.
| format | string Enum: "csv" "json" |
| id | string <uuid> | ||||
| date_planned_start required | string <date-time> | ||||
| date_planned_finish required | string <date-time> | ||||
| date_started | string or null <date-time> | ||||
| date_finished | string or null <date-time> | ||||
| visibility | string (VisibilityEnum) Enum: "public" "private"
| ||||
required | object or object or object | ||||
One of
| |||||
| max_flight_altitude required | number <double> (Max flight geodetic altitude) in metres (m) | ||||
| lower_altitude | number <double> (Min flight geodetic altitude) >= 0 in metres (m) | ||||
| takeoff_latitude required | number <double> [ -90 .. 90 ] in degrees (°) | ||||
| takeoff_longitude required | number <double> [ -180 .. 180 ] in degrees (°) | ||||
| max_height | number or null <double> >= 0 Maximum height (relative altitude) used for geofencing | ||||
| status | string Default: "planned" Enum: "planned" "current" "inactive" "uploading" "processing" "error" "finished" "cancelled"
| ||||
| device | string or null <uuid> | ||||
| pilot | string <uuid> | ||||
| aircraft | string or null <uuid> | ||||
| operation_mode | string (OperationModeEnum) Enum: "vlos" "bvlos"
| ||||
| operation_category | string (OperationCategoryEnum) Enum: "open" "specific" "certified"
| ||||
| source | string Default: "direct-source" Enum: "direct-source" "flight-store"
| ||||
| color_tag_used | string or null <= 25 characters ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ | ||||
| callsign_used | string or null <= 20 characters Callsign of the device | ||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "visibility": "public",
- "region": {
- "type": "Point",
- "coordinates": [
- 12.9721,
- 77.5933
]
}, - "max_flight_altitude": 0.1,
- "lower_altitude": 0.1,
- "takeoff_latitude": -90,
- "takeoff_longitude": -180,
- "max_height": 0.1,
- "status": "planned",
- "device": "8dca31e6-c85b-4a6b-bfb4-205d45d9b3bd",
- "pilot": "9b930a8e-4cbf-4c3d-b228-f550dcd80d0a",
- "aircraft": "b5e9a414-31c7-41b7-b21e-1f857715972c",
- "operation_mode": "vlos",
- "operation_category": "open",
- "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "status": "planned",
- "closing_flag": "nominal",
- "distance": 0.1,
- "duration": 0,
- "visibility": "public",
- "aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}Create or update a flight plan using serial number.
Tries to find a flight plan with serial number specified by via_serial_number query parameter
and:
"current" or "planned"date_planned_start < timezone.now() < date_planned_finishand update it with parameters defined in request body.
Before a flight is created, an eligibility check is performed, if the user can create a new flight for the selected device. If not, 4xx errors are returned with description in the response body.
Note: If takeoff_latitude and takeoff_longitude are provided it is also checked if the take_off location is inside the geometry defined by the region_geojson. If not a new flight is created.
If flight plan does not exist a new flight plan will be created in the following way:
date_planned_start - set to timezone.now() or value of date_started from request body
date_planned_finish - set to date_planned_start + 30 minutes or the value of date_finished
from request body
date_started - set to date_planned_start
date_finished - null - is calculated together with
duration in flight postprocessing, which should
be called after uploading telemetry and status data.
status - "current" or value of status from request body
region_geojson - default radius 1000m and take_off parameters provided in the request body.
{
"type": "Feature",
"properties": {
"radius": radius,
},
"geometry": {"type": "Point",
"coordinates": [takeoff_latitude, takeoff_longitude]}
}
max_flight_altitude - default 120m + value of takeoff_altitude from request body.
If takeoff_altitude not provided
backend try to fetch the data from Open Topo Data.
If fetching fails,
the default value of takeoff_altitude is 0.
visibility - default "public" or value from default_visiblity user preferences
device - specified by the value of via_serial_number query parameter
aircraft - Default aircraft of device owner, returns 400 if not set
pilot - Device owner
| format | string Enum: "csv" "json" |
| takeoff_latitude required | number <double> |
| takeoff_longitude required | number <double> |
| takeoff_altitude | number or null <double> |
| takeoff_pressure | number or null <double> |
{- "takeoff_latitude": 0.1,
- "takeoff_longitude": 0.1,
- "takeoff_altitude": 0.1,
- "takeoff_pressure": 0.1
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "status": "planned",
- "closing_flag": "nominal",
- "distance": 0.1,
- "duration": 0,
- "visibility": "public",
- "aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}Returns flight detailed information.
| id required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "status": "planned",
- "closing_flag": "nominal",
- "distance": 0.1,
- "duration": 2147483647,
- "visibility": "public",
- "region": {
- "type": "Point",
- "coordinates": [
- 12.9721,
- 77.5933
]
}, - "max_flight_altitude": 0.1,
- "max_height": 0.1,
- "lower_altitude": 0.1,
- "take_off": {
- "location": {
- "lat": 0.1,
- "lon": 0.1
}, - "pressure": 0.1,
- "pressure_altitude": 0.1,
- "altitude": 0.1
}, - "aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "pilot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "full_name": "string",
- "uas_operator_id": "string"
}, - "operation_mode": "vlos",
- "operation_category": "open",
- "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}Edits an existing flight plan. Flight plans are flights with future date and status planned, therefore only planned flights can be edited. **Past flights are read-only.**Only properties of flight can be edited, not the relationships (with aircrafts and devices). Fields that are not changed, can be omitted
| id required | string <uuid> |
(StatusEnum (string or null)) or (NullEnum (any or null)) | |||||
One of string or null (StatusEnum) Enum: "planned" "current" "inactive" "uploading" "processing" "error" "finished" "cancelled"
| |||||
(ClosingFlagEnum (string or null)) or (NullEnum (any or null)) | |||||
One of string or null (ClosingFlagEnum) Enum: "nominal" "corrupted" "timeouted" "expired" "replaced"
| |||||
(object or null) or (object or null) or (object or null) | |||||
One of
| |||||
(VisibilityEnum (string or null)) or (NullEnum (any or null)) | |||||
One of string or null (VisibilityEnum) Enum: "public" "private"
| |||||
| takeoff_latitude | number or null <double> | ||||
| takeoff_longitude | number or null <double> | ||||
| max_flight_altitude | number <double> | ||||
| max_height | number or null <double> >= 0 Maximum height (relative altitude) used for geofencing | ||||
| lower_altitude | number <double> (Min flight geodetic altitude) >= 0 in metres (m) | ||||
{- "status": "planned",
- "closing_flag": "nominal",
- "region": {
- "type": "Point",
- "coordinates": [
- 12.9721,
- 77.5933
]
}, - "visibility": "public",
- "takeoff_latitude": 0.1,
- "takeoff_longitude": 0.1,
- "max_flight_altitude": 0.1,
- "max_height": 0.1,
- "lower_altitude": 0.1
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "status": "planned",
- "closing_flag": "nominal",
- "distance": 0.1,
- "duration": 2147483647,
- "visibility": "public",
- "region": {
- "type": "Point",
- "coordinates": [
- 12.9721,
- 77.5933
]
}, - "max_flight_altitude": 0.1,
- "max_height": 0.1,
- "lower_altitude": 0.1,
- "take_off": {
- "location": {
- "lat": 0.1,
- "lon": 0.1
}, - "pressure": 0.1,
- "pressure_altitude": 0.1,
- "altitude": 0.1
}, - "aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "pilot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "full_name": "string",
- "uas_operator_id": "string"
}, - "operation_mode": "vlos",
- "operation_category": "open",
- "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}Triggers flight post-processing, adds a request to queue
to calculate distance, date_finished, duration and generates thumbnail.
Can be triggered only once,
after uploading telemetry & status data.
| id required | string <uuid> |
{- "error": "string",
- "messages": [
- "string"
]
}Returns flight telemetry data
| id required | string <uuid> |
| _download | string Examples:
Format of the file depends on the request Accept header value. Currently supported values are: |
| format | string Enum: "csv" "gpx" "json" "kml" |
| limit | integer Returned collection is split into invididual pages of data.
Note: The example includes a line break for readability
The limit indicates the maximum number of items to return. Default limit is 10. |
| offset | integer The offset indicates the starting position of the query in relation to the complete set of unpaginated items. |
| ordering | string Returned collection can be sorted according to one or multiple fields. Use For sorting according to multiple fields you can use |
[- {
- "time": "2019-08-24T14:15:22Z",
- "location": {
- "lat": 0.1,
- "lon": 0.1
}, - "velocity": {
- "x": 0.1,
- "y": 0.1,
- "z": 0.1
}, - "altitude": 0.1,
- "geo_altitude": 0.1,
- "vertical_accuracy": 0.1,
- "horizontal_accuracy": 0.1,
- "speed_accuracy": 0.1,
- "height": 0.1,
- "pressure": 0.1
}
]Create flight telemetry data for flight.
| id required | string <uuid> |
| format | string Enum: "csv" "gpx" "json" "kml" |
| time required | string <date-time> (Time from GNSS receiver) when data were captured on the drone (UTC time) | ||||||
required | object (TelemetryLocationRequest) | ||||||
| |||||||
required | object (TelemetryVelocityRequest) | ||||||
| |||||||
| altitude | number or null <double> (Pressure altitude from GNSS receiver) in metres (m) | ||||||
| geo_altitude | number or null <double> (Geodetic altitude from GNSS receiver) in metres (m) | ||||||
| vertical_accuracy | number or null <double> in metres (m) | ||||||
| horizontal_accuracy | number or null <double> in metres (m) | ||||||
| speed_accuracy | number or null <double> in metres per second (m/s) | ||||||
| height | number or null <double> in metres (m) | ||||||
| pressure | number or null <double> in hectopascals (hPa) | ||||||
[- {
- "time": "2019-08-24T14:15:22Z",
- "location": {
- "lat": 0.1,
- "lon": 0.1
}, - "velocity": {
- "x": 0.1,
- "y": 0.1,
- "z": 0.1
}, - "altitude": 0.1,
- "geo_altitude": 0.1,
- "vertical_accuracy": 0.1,
- "horizontal_accuracy": 0.1,
- "speed_accuracy": 0.1,
- "height": 0.1,
- "pressure": 0.1
}
]{- "error": "string",
- "messages": [
- "string"
]
}Returns flight telemetry and device status data
| id required | string <uuid> |
| _download | string Examples:
Format of the file depends on the request Accept header value. Currently supported values are: |
| format | string Enum: "csv" "json" |
[- {
- "time": "2019-08-24T14:15:22Z",
- "time_received": "2019-08-24T14:15:22Z",
- "latitude": 0.1,
- "longitude": 0.1,
- "altitude": 0.1,
- "geo_altitude": 0.1,
- "velocity_x": 0.1,
- "velocity_y": 0.1,
- "velocity_z": 0.1,
- "vertical_accuracy": 0.1,
- "horizontal_accuracy": 0.1,
- "speed_accuracy": 0.1,
- "height": 0.1,
- "pressure": 0.1,
- "heading": 0.1,
- "battery": 0.1,
- "rsrq": 0.1,
- "rsrp": 0.1,
- "cellid": "string",
- "snr": 0.1,
- "tac": "string",
- "satellites": 0,
- "charging": true
}
]Implementation of /flights/{id}/telemetry-status (GET)
| id required | string <uuid> |
| format | string Enum: "csv" "json" |
| time required | string <date-time> |
| time_received required | string <date-time> |
| latitude required | number <double> |
| longitude required | number <double> |
| altitude required | number <double> |
| geo_altitude required | number <double> |
| velocity_x required | number <double> |
| velocity_y required | number <double> |
| velocity_z required | number <double> |
| vertical_accuracy required | number <double> |
| horizontal_accuracy required | number <double> |
| speed_accuracy required | number <double> |
| height required | number <double> |
| pressure required | number <double> |
| heading required | number <double> |
| battery | number or null <double> |
| rsrq | number or null <double> |
| rsrp | number or null <double> |
| cellid | string or null non-empty |
| snr | number or null <double> |
| tac | string or null non-empty |
| satellites | integer or null |
| charging | boolean or null |
{- "time": "2019-08-24T14:15:22Z",
- "time_received": "2019-08-24T14:15:22Z",
- "latitude": 0.1,
- "longitude": 0.1,
- "altitude": 0.1,
- "geo_altitude": 0.1,
- "velocity_x": 0.1,
- "velocity_y": 0.1,
- "velocity_z": 0.1,
- "vertical_accuracy": 0.1,
- "horizontal_accuracy": 0.1,
- "speed_accuracy": 0.1,
- "height": 0.1,
- "pressure": 0.1,
- "heading": 0.1,
- "battery": 0.1,
- "rsrq": 0.1,
- "rsrp": 0.1,
- "cellid": "string",
- "snr": 0.1,
- "tac": "string",
- "satellites": 0,
- "charging": true
}{- "time": "2019-08-24T14:15:22Z",
- "time_received": "2019-08-24T14:15:22Z",
- "latitude": 0.1,
- "longitude": 0.1,
- "altitude": 0.1,
- "geo_altitude": 0.1,
- "velocity_x": 0.1,
- "velocity_y": 0.1,
- "velocity_z": 0.1,
- "vertical_accuracy": 0.1,
- "horizontal_accuracy": 0.1,
- "speed_accuracy": 0.1,
- "height": 0.1,
- "pressure": 0.1,
- "heading": 0.1,
- "battery": 0.1,
- "rsrq": 0.1,
- "rsrp": 0.1,
- "cellid": "string",
- "snr": 0.1,
- "tac": "string",
- "satellites": 0,
- "charging": true
}Returns device's current flight.
| sn required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date_planned_start": "2019-08-24T14:15:22Z",
- "date_planned_finish": "2019-08-24T14:15:22Z",
- "date_started": "2019-08-24T14:15:22Z",
- "date_finished": "2019-08-24T14:15:22Z",
- "status": "planned",
- "closing_flag": "nominal",
- "distance": 0.1,
- "duration": 2147483647,
- "visibility": "public",
- "region": {
- "type": "Point",
- "coordinates": [
- 12.9721,
- 77.5933
]
}, - "max_flight_altitude": 0.1,
- "max_height": 0.1,
- "lower_altitude": 0.1,
- "take_off": {
- "location": {
- "lat": 0.1,
- "lon": 0.1
}, - "pressure": 0.1,
- "pressure_altitude": 0.1,
- "altitude": 0.1
}, - "aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "pilot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "full_name": "string",
- "uas_operator_id": "string"
}, - "operation_mode": "vlos",
- "operation_category": "open",
- "source": "direct-source",
- "color_tag_used": "string",
- "callsign_used": "string"
}Implementation of /flights/stats
Distance data is in meters (m) and time data is in seconds (s)
{- "total_flights": 0,
- "total_distance": 0.1,
- "total_duration": 0.1,
- "count_planned": 0,
- "count_current": 0,
- "count_past": 0,
- "flight_hours_this_month": 0,
- "flight_hours_monthly_allowance": 0,
- "flight_hours_monthly_additional_allowance": 0
}The Search API offers functionality to search across multiple object types within the Dronetag ecosystem.
Performs a search across multiple resources of the web platform, such as: - Platform objects with access (devices, aircrafts, zones...)Using this search, user can quickly find his devices, aircrafts or search zones by name.Search is case-insensitiveIf no results are found, response is still 200 OK, but with emptysearch results.
| query | string Examples:
Search query |
{- "objects": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}The Users API allows for the management of user accounts and profiles. Users can update personal information, configure account settings, and manage properties related to their profiles.
When registering a new user, the user preferences are set to default_visibility:public
| full_name | string or null <= 255 characters |
| email required | string <email> [ 1 .. 254 ] characters |
| phone_number | string or null <= 128 characters |
| uas_operator_id | string or null <= 255 characters |
(Country232Enum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
One of string or null (Country232Enum) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW"
| |
| password required | string [ 1 .. 128 ] characters |
{- "full_name": "string",
- "email": "user@example.com",
- "phone_number": "string",
- "uas_operator_id": "string",
- "country": "AF",
- "password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "is_verified": true,
- "full_name": "string",
- "phone_number": "string",
- "uas_operator_id": "string",
- "country": "AF",
- "registered": "2019-08-24T14:15:22Z",
- "default_aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "owned_devices": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}
], - "aircrafts": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}
], - "preferences": {
- "property1": "string",
- "property2": "string"
}, - "flight_hours_this_period": "string",
- "subscription_plan": {
- "name": "string",
- "id": "string",
- "description": "string",
- "price_czk": 0.1,
- "price_eur": 0.1,
- "price_czk_yearly": 0.1,
- "price_eur_yearly": 0.1,
- "is_user_selectable": true,
- "prices": {
- "month": [
- {
- "currency": "string",
- "amount": 0.1
}
], - "year": [
- {
- "currency": "string",
- "amount": 0.1
}
]
}
}, - "trial_started": "2019-08-24"
}Returns detailed information about user, together with his owned devices and aircrafts. Retrieval of user owned resources can be disabled with only_user switch parameter.
| id required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "is_verified": true,
- "full_name": "string",
- "phone_number": "string",
- "uas_operator_id": "string",
- "country": "AF",
- "registered": "2019-08-24T14:15:22Z",
- "default_aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "owned_devices": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}
], - "aircrafts": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}
], - "preferences": {
- "property1": "string",
- "property2": "string"
}, - "flight_hours_this_period": "string",
- "subscription_plan": {
- "name": "string",
- "id": "string",
- "description": "string",
- "price_czk": 0.1,
- "price_eur": 0.1,
- "price_czk_yearly": 0.1,
- "price_eur_yearly": 0.1,
- "is_user_selectable": true,
- "prices": {
- "month": [
- {
- "currency": "string",
- "amount": 0.1
}
], - "year": [
- {
- "currency": "string",
- "amount": 0.1
}
]
}
}, - "trial_started": "2019-08-24"
}Updates user profile. Fields can be updated partially (if ommited, they won't change).
| id required | string <uuid> |
string <email> non-empty | |
| full_name | string or null <= 255 characters |
| phone_number | string or null <= 128 characters |
| uas_operator_id | string or null <= 255 characters |
| pilot_license_id | string or null <= 255 characters |
(Country232Enum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
One of string or null (Country232Enum) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW"
| |
| default_aircraft | string or null <uuid> |
| password | string non-empty |
{- "email": "user@example.com",
- "full_name": "string",
- "phone_number": "string",
- "uas_operator_id": "string",
- "pilot_license_id": "string",
- "country": "AF",
- "default_aircraft": "5d8bb8c2-9bc4-45d1-8fb4-970a2022ce05",
- "password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "is_verified": true,
- "full_name": "string",
- "phone_number": "string",
- "uas_operator_id": "string",
- "country": "AF",
- "registered": "2019-08-24T14:15:22Z",
- "default_aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "owned_devices": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}
], - "aircrafts": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}
], - "preferences": {
- "property1": "string",
- "property2": "string"
}, - "flight_hours_this_period": "string",
- "subscription_plan": {
- "name": "string",
- "id": "string",
- "description": "string",
- "price_czk": 0.1,
- "price_eur": 0.1,
- "price_czk_yearly": 0.1,
- "price_eur_yearly": 0.1,
- "is_user_selectable": true,
- "prices": {
- "month": [
- {
- "currency": "string",
- "amount": 0.1
}
], - "year": [
- {
- "currency": "string",
- "amount": 0.1
}
]
}
}, - "trial_started": "2019-08-24"
}Deactivates the user profile (account). You can de-activate only your own account.
Deactivated profile cannot be re-activated, data will be anonymized.
| id required | string <uuid> |
{- "error": "string",
- "messages": [
- "string"
]
}Preferences can be updated partially (you don't have to specify all preferences, if you don't want to change them).If some preference should be removed, use blank value (such as null) as the value
| id required | string <uuid> |
| property required | string non-empty |
| value required | string non-empty |
{- "property": "string",
- "value": "string"
}[- {
- "property": "string",
- "value": "string"
}
]Returns detailed information about the actively logged user.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "is_verified": true,
- "full_name": "string",
- "phone_number": "string",
- "uas_operator_id": "string",
- "country": "AF",
- "registered": "2019-08-24T14:15:22Z",
- "default_aircraft": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}, - "owned_devices": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}
], - "aircrafts": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "public_name": "string"
}
], - "preferences": {
- "property1": "string",
- "property2": "string"
}, - "flight_hours_this_period": "string",
- "subscription_plan": {
- "name": "string",
- "id": "string",
- "description": "string",
- "price_czk": 0.1,
- "price_eur": 0.1,
- "price_czk_yearly": 0.1,
- "price_eur_yearly": 0.1,
- "is_user_selectable": true,
- "prices": {
- "month": [
- {
- "currency": "string",
- "amount": 0.1
}
], - "year": [
- {
- "currency": "string",
- "amount": 0.1
}
]
}
}, - "trial_started": "2019-08-24"
}Returns the list of PATs associated with the user from the auth JWT (user_id claim).
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "prefix": "string"
}
]Creates a new personal access token (PAT).
The password is not stored. It is only required to obtain the offline token,
which will be later used for the PAT -> JWT exchange.
Note that the token in the response is the only occassion the token will be made
available, after that, it is not possible to obtain the full token again.
| password required | string <password> (Password) |
Name (string) or Name (null) (Name) | |
Any of string (Name) | |
| expires_at required | string <date-time> (Expires At) |
{- "password": "pa$$word",
- "name": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "token": "string"
}| token_id required | string <uuid> (Token Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "prefix": "string"
}Deletes/revokes the PAT. Revoked PATs are not stored.
| token_id required | string <uuid> (Token Id) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}