Unifly GCS API (1.3.2)

Download OpenAPI specification:

The Unifly GCS api provides means for a Ground Control Station to interact with the UTM platform, perform take offs and landings, and create a manage operations.

Flight Status

Notify flight status changes

Performs a takeoff

Performs a takeoff

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "flightId": "string",
  • "operationId": "string"
}

Indicate that the UAS has landed

Indicate that the UAS has landed

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "flightId": "string",
  • "operationId": "string"
}

Retrieve the flight status of the given UAS

Retrieve the flight status of the given UAS

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "flightStatus": "LANDED"
}

Operations

Create and manage operations

createOperation

Create a new operation

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Request Body schema: application/json
required
type
required
string
Value: "Feature"
required
object (operationCreateProperties)
required
object (GeoJSON Polygon)

Responses

Request samples

Content type
application/json
{
  • "type": "Feature",
  • "properties": {
    },
  • "geometry": {
    }
}

Response samples

Content type
application/json
{}

Retrieve operations for the given UAS

Retrieve operations for the given UAS

path Parameters
serialNumber
required
string

The unique serial number for the UAS

activeAfter
required
string <date-time>

The start time to filter operations

activeBefore
required
string <date-time>

The end time to filter operations

query Parameters
activeAfter
string <date-time>

Only return operations that are active after specified date-time

activeBefore
string <date-time>

Only return operations that are active before specified date-time

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/vnd.geo+json
{
  • "type": "FeatureCollection",
  • "features": [
    ]
}

/uas/{serialNumber}/operations/{operationId}

path Parameters
serialNumber
required
string

The unique serial number for the UAS

operationId
required
string
header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/vnd.geo+json
{
  • "type": "Feature",
  • "properties": {
    },
  • "geometry": {
    }
}

Request acceptance for the specified operation.

Request acceptance for the specified operation.

path Parameters
operationId
required
string

The unique identifier of the operation.

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "message": "Acceptance request is not allowed due to [specific reason]."
}

Request activation for the specified operation.

Request activation for the specified operation.

path Parameters
operationId
required
string

The unique identifier of the operation.

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "message": "Activation request is not allowed due to [specific reason]."
}

Request withdrawal for the specified operation.

Request withdrawal for the specified operation.

path Parameters
operationId
required
string

The unique identifier of the operation.

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "message": "Withdrawal request is not allowed due to [specific reason]."
}

Request the end for the specified operation.

Request the end for the specified operation.

path Parameters
operationId
required
string

The unique identifier of the operation.

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "message": "End request is not allowed due to [specific reason]."
}

PermissionRequests

Manage operation permission requests

Submits all permission requests of an operation.

path Parameters
operationId
required
string

The unique identifier of the operation.

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "permissionRequests": [
    ]
}

UAS

Create and manage Uas

Retrieve an UAS

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "generalFeatures": {
    },
  • "flightFeatures": {
    },
  • "controllerFeatures": {
    },
  • "nickname": "string",
  • "serialNumber": "string",
  • "registrationRef": "string"
}

Create a new UAS

Create a new UAS with the given details.

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Request Body schema: application/json
required
object
object
object
nickname
string

Nickname of the UAS

serialNumber
required
string

Serial number of the UAS

registrationRef
string

Registration reference of the UAS

Responses

Request samples

Content type
application/json
{
  • "generalFeatures": {
    },
  • "flightFeatures": {
    },
  • "controllerFeatures": {
    },
  • "nickname": "string",
  • "serialNumber": "string",
  • "registrationRef": "string"
}

Response samples

Content type
application/json
{}

Geofences

Retrieve applicable geofences

Retrieve geofences

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Request Body schema: application/json
bbox
Array of numbers (bbox) = 4 items [ items [ -180 .. 180 ] ]

Bounding box coordinates for which to fetch geofences, in GeoJSON bbox format ([west, south, east, north]).

identifier
string

Unique identifier of a specific geofence to fetch. Useful for when you receive an event about a new geofence and you want to fetch extra information.

timeWindow
required
Array of strings <date-time> (timeWindow) = 2 items [ items <date-time > ]

Start and end time of the time window for which to fetch geofences, in format [start, end].

Responses

Request samples

Content type
application/json
{
  • "bbox": [
    ],
  • "identifier": "string",
  • "timeWindow": [
    ]
}

Response samples

Content type
application/json
{
  • "type": "FeatureCollection",
  • "features": [
    ],
  • "bbox": [
    ]
}

Company

Retrieve company info

Retrieve the company information associated with the provided API key

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
{
  • "companyUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Pilots

Retrieve assignable pilots for an operation

List assignable pilots

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Observers

Retrieve assignable observers for an operation

List assignable observers

path Parameters
serialNumber
required
string

The unique serial number for the UAS

header Parameters
apikey
required
string

The API key for the user. The user can obtain this from their "profile" page.

Responses

Response samples

Content type
application/json
[
  • {
    }
]