flight-authorization

Get paginated current flight authorization list

Returns current (non-ended, non-cancelled) flight authorizations for the user's organization with fixed severity ordering (CONTINGENT, withdrawn after activation, NON_CONFIRMING, ACTIVATED, ACCEPTED with start within ±4 hours, then remaining). Pagination uses page and size only; sort is server-defined. Includes the same per-status statistics as the list endpoint.

get/flight-auths/list/current

Request

  • Base URL
    http://localhost:8486
  • Auth
    API key in header x-auth-token

Query parameters

pageinteger
sizeinteger
sortstring

Sort criteria. Prefer Spring-style repeated params, e.g. sort=status,DESC&sort=id,DESC. Each value is field (default DESC) or field,DIR. Repeated sort params are joined by the binder; a single value such as status,DESC,id,DESC is also accepted. Invalid formats fall back to id,DESC.

Response

Flight authorization list retrieved successfully

statusStatisticsobject

Statistics of flight authorizations per status

Example response

{
  "flightAuthorizations": {
    "content": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "status": "ACTIVATED",
        "shortName": "Test Flight",
        "timeStart": "2024-01-15T10:00:00Z",
        "timeEnd": "2024-01-15T11:00:00Z",
        "category": "SPECIFIC_CATEGORY",
        "pilotId": 1,
        "pilotName": "John Doe",
        "organizationId": 1,
        "organizationName": "Test Organization",
        "client": "Test Client",
        "droneId": 1,
        "droneModel": "DJI Mavic",
        "droneType": "Multirotor",
        "droneName": "Drone-001",
        "droneWeight": 2.5,
        "missionDescription": "Survey mission",
        "processingType": "SEGMENTS",
        "creationDate": "2024-01-15T09:00:00Z",
        "uspaceId": 1,
        "uspaceName": "Central Park USpace",
        "uspaceCode": "CP001"
      }
    ],
    "size": 10,
    "totalElements": 25,
    "totalPages": 3,
    "first": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.