flight-authorization

Get paginated list of flight authorizations

Retrieves a paginated list of flight authorizations for the current user's organization with status statistics and filtering capabilities

get/flight-auths/list

Request

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

Query parameters

status'DRAFT' | 'PROPOSED' | 'REJECTED' | 'CANCELLED' | 'ACCEPTED' | 'ACTIVATED' | 'NON_CONFIRMING' | 'WITHDRAWN' | 'ENDED' | 'CONTINGENT' | 'TIMED_OUT'

Filter by flight authorization status

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.