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

{
    "id": 18,
    "name": "Vostochny Cosmodrome, Siberia, Russian Federation",
    "country_code": "RUS",
    "description": "The Vostochny Cosmodrome is a Russian spaceport above the 51st parallel north in the Amur Oblast, in the Russian Far East. It is intended to reduce Russia's dependency on the Baikonur Cosmodrome in Kazakhstan. The first launch took place on 28 April 2016 at 02:01 UTC.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
    "timezone_name": "Asia/Yakutsk",
    "total_launch_count": 19,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 83,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/83/?format=api",
            "agency_id": 63,
            "name": "Cosmodrome Site 1S",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Vostochny_Cosmodrome",
            "map_url": "https://www.google.com/maps?q=51.884395,128.333932",
            "latitude": 51.884395,
            "longitude": 128.333932,
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_83_20200803143544.jpg",
            "total_launch_count": 18
        },
        {
            "id": 108,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/108/?format=api",
            "agency_id": 63,
            "name": "Cosmodrome Site 1A",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Vostochny_Cosmodrome",
            "map_url": "https://www.google.com/maps?q=51.884395,128.333932",
            "latitude": 51.884395,
            "longitude": 128.333932,
            "country_code": "RUS",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_108_20200803143525.jpg",
            "total_launch_count": 1
        }
    ]
}