Airport

Fetch All Airports Endpoint.

This endpoint retrieves a comprehensive list of all airports stored in the database. For improved readability and compactness, the timestamps (i.e., 'created_at' and 'updated_at') associated with each airport record are excluded from the response.

get/api/v1/airports

Request

  • Base URL: https://atisgenerator.com
  • URL: https://atisgenerator.com/api/v1/airports
  • Auth: none declared

Response

Response for successful retrieval of all airports.

status'success' | 'error'

Status of the response

messagestring

Message of the response

codeinteger

Code of the response

Example response

{
  "status": "success",
  "message": "Airports retrieved successfully.",
  "code": 200,
  "data": [
    {
      "id": 1,
      "icao": "AGEV",
      "name": "Geva Airport",
      "runways": "33,15"
    }
  ]
}

Changes

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