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

{
    "id": 160,
    "name": "Arnhem Space Centre",
    "country_code": "AUS",
    "description": "The Arnhem Space Centre was Australia's first commercial spaceport, located near Nhulunbuy, in Arnhem Land, Australia. It was owned and operated by Equatorial Launch Australia (ELA), and was the site of NASA's first non-orbital sounding rocket launch from a commercial port outside the United States on 27 June 2022.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_arnhem_space_centre_20220622160552.jpg",
    "timezone_name": "Australia/Darwin",
    "total_launch_count": 3,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 202,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/202/?format=api",
            "agency_id": 1038,
            "name": "Suborbital Launch Ramp",
            "description": null,
            "info_url": "https://ela.space/arnhem-space-centre/",
            "wiki_url": "https://en.wikipedia.org/wiki/Arnhem_Land#Economy",
            "map_url": "https://www.google.com/maps?q=-12.3892948,136.7903215",
            "latitude": -12.3892948,
            "longitude": 136.7903215,
            "country_code": "AUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_suborbital_launch_ramp_20220625184504.jpg",
            "total_launch_count": 3
        }
    ]
}