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

{
    "count": 52,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.2.0/location/?format=api&limit=10&offset=40",
    "results": [
        {
            "id": 178,
            "url": "https://lldev.thespacedevs.com/2.2.0/location/178/?format=api",
            "name": "Esrange Space Center",
            "country_code": "SWE",
            "description": "Esrange Space Center is a rocket range and research centre located about 40 kilometers east of the town of Kiruna in northern Sweden. It is a base for scientific research with high-altitude balloons, investigation of the aurora borealis, sounding rocket launches, and satellite tracking. Built in 1964 by ESRO, one of the predecessors of the European Space Agency, the site is currently operated by the Swedish Space Corporation. An orbital launch complex, LC-3, has been built in the early 2020s.",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg",
            "timezone_name": "Europe/Stockholm",
            "total_launch_count": 0,
            "total_landing_count": 0
        },
        {
            "id": 146,
            "url": "https://lldev.thespacedevs.com/2.2.0/location/146/?format=api",
            "name": "Svobodny Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "description": "Svobodny was a Russian rocket launch site located approximately 15 km north of Svobodny, Amur Oblast. The cosmodrome was originally constructed as a launch site for intercontinental ballistic missiles called Svobodny-18. It was initially selected as a replacement for Baikonur Cosmodrome in the Kazakh Soviet Socialist Republic, which became independent as Kazakhstan after the dissolution of the Soviet Union. However the development of Svobodny was subsequently ended in 2007 in favour of a totally new space port, the Vostochny Cosmodrome.",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
            "timezone_name": "Asia/Yakutsk",
            "total_launch_count": 5,
            "total_landing_count": 0
        }
    ]
}