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": 51,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.2.0/location/?format=api&limit=10&offset=40",
    "results": [
        {
            "id": 164,
            "url": "https://ll.thespacedevs.com/2.2.0/location/164/?format=api",
            "name": "Koonibba Test Range, South Australia",
            "country_code": "AUS",
            "description": "The Koonibba Test Range is a rocket test range site near the township of Koonibba in the far west of South Australia. Rockets are launched to the north over a clear area – the Yumbarra Conservation Park and Yellabinna Wilderness Protection Area – for 145 kilometres (90 mi).",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
            "timezone_name": "Australia/Adelaide",
            "total_launch_count": 1,
            "total_landing_count": 0
        }
    ]
}