API endpoint that allows Location instances to be viewed.

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

FILTERS: Parameters - 'name', 'country_code', 'id' Example - /2.2.0/location/?country_code=USA

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

{
    "id": 181,
    "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,
    "pads": [
        {
            "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,
            "country_code": "AUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_eris_pad_20250227074117.jpg",
            "total_launch_count": 0
        }
    ]
}