Download OpenAPI specification:Download
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
.
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",
- "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. |
[ ]
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": [ ],
- "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": [ ]
}
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"
}
}
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" |
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 |
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"
}
]
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"
}
Returns detailed information about a single Dronetag device.
id required | string Device ID or Serial Number |
{- "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"
}
Edits an existing device.
id required | string Device ID or Serial Number |
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"
}
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"
}
Returns data usage information about a single Dronetag device's sim card.
id required | string <uuid> |
{- "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 |
{- "serial_number": "string",
- "station_id": "string",
- "operator": "string"
}
{- "device": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "serial_number": "string",
- "name": "string",
- "type": "string"
}, - "station_id": "string",
- "operator": "string"
}
Create a new device in backend database
serial_number required | string [ 1 .. 20 ] characters |
name | string <= 255 characters |
type required | string 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 Integrated Circuit Card Identifier (SIM card ID) |
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"
| |
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",
- "provisioning_status": "pending",
- "certificate_sn": "string",
- "can_be_provisioned": true
}
Update information about the device
serial_number required | string [ 1 .. 20 ] characters |
name | string <= 255 characters |
type required | string 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 Integrated Circuit Card Identifier (SIM card ID) |
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"
]
}
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"
}
]
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"
}
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: - status set to "current"
or "planned"
- date_planned_start
< timezone.now()
< date_planned_finish
and 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 totimezone.now()
or value ofdate_started
from request bodydate_planned_finish
- set todate_planned_start
+ 30 minutes or the value ofdate_finished
from request bodydate_started
- set todate_planned_start
date_finished
-null
- is calculated together withduration
in flight postprocessing, which should be called after uploading telemetry and status data.status
-"current"
or value ofstatus
from request bodyregion_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 oftakeoff_altitude
from request body. Iftakeoff_altitude
not provided backend try to fetch the data from Open Topo Data. If fetching fails, the default value oftakeoff_altitude
is 0.visibility
- default"public"
or value fromdefault_visiblity
user preferencesdevice
- specified by the value ofvia_serial_number
query parameteraircraft
- Default aircraft of device owner, returns 400 if not setpilot
- 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"
}
]
}