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/238/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 238,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/238/?format=api",
    "agency_id": 188,
    "name": "Eris Pad",
    "description": "Launch pad for Gilmour Space's orbital rocket Eris.",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Gilmour_Space_Technologies#Bowen_Orbital_Spaceport_(BOS)",
    "map_url": null,
    "latitude": "-19.958151",
    "longitude": "148.1129553",
    "location": {
        "id": 181,
        "url": "https://ll.thespacedevs.com/2.2.0/location/181/?format=api",
        "name": "Bowen Orbital Spaceport",
        "country_code": "AUS",
        "description": "Private orbital launch facility owned and operated by Gilmour Space.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_bowen_orbital_spaceport_20250227073649.jpg",
        "timezone_name": "Australia/Brisbane",
        "total_launch_count": 0,
        "total_landing_count": 0
    },
    "country_code": "AUS",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_eris_pad_20250227074117.jpg",
    "total_launch_count": 0,
    "orbital_launch_attempt_count": 0
}