API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'id', 'agency_id', 'name', 'name__contains', 'latitude', 'latitude__contains', 'longitude', 'longitude__contains', 'location__name', 'location__name__contains', 'location__id', 'orbital_launch_attempt_count', 'total_launch_count'

ORDERING: Fields - 'id', 'name', 'location__id', 'location__name', 'orbital_launch_attempt_count', 'total_launch_count'

Example - /2.2.0/pad/?ordering=location__name

GET /2.2.0/pad/213/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 213,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/213/?format=api",
    "agency_id": null,
    "name": "Launch Pad Callum",
    "description": "Multi-user launch pad located at SaxaVord Spaceport. Users include Skyrora, HyImpulse and Isar Aerospace.",
    "info_url": null,
    "wiki_url": null,
    "map_url": null,
    "latitude": null,
    "longitude": null,
    "location": {
        "id": 157,
        "url": "https://ll.thespacedevs.com/2.2.0/location/157/?format=api",
        "name": "SaxaVord Spaceport",
        "country_code": "GBR",
        "description": "SaxaVord Spaceport is a UK spaceport located on the Lamba Ness peninsula on Unst, the most northerly of the inhabited Shetland Islands off the coast of Scotland. The site is near the RAF Saxa Vord radar station and the settlement of Skaw, adjacent to the Saxa Vord distillery.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_saxavord_spaceport_20211102161146.jpg",
        "timezone_name": "Europe/London",
        "total_launch_count": 0,
        "total_landing_count": 0
    },
    "country_code": "GBR",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_pad_callum_20231013025800.jpg",
    "total_launch_count": 0,
    "orbital_launch_attempt_count": 0
}