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.0.0/location/?country_code=USA

GET /2.0.0/location/?format=api&offset=20
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 52,
    "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
    "results": [
        {
            "id": 30,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/30/?format=api",
            "name": "Kapustin Yar, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
            "total_launch_count": 101,
            "total_landing_count": 0
        },
        {
            "id": 163,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/163/?format=api",
            "name": "El Arenosillo Test Centre",
            "country_code": "ESP",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_163_20240111100612.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 164,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/164/?format=api",
            "name": "Koonibba Test Range, South Australia",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 144,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/144/?format=api",
            "name": "Air launch to Suborbital flight",
            "country_code": "???",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_144_20200803142439.jpg",
            "total_launch_count": 86,
            "total_landing_count": 0
        },
        {
            "id": 161,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/161/?format=api",
            "name": "Andøya Spaceport",
            "country_code": "NOR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_161_20240109072235.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 12,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral SFS, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
            "total_launch_count": 1085,
            "total_landing_count": 71
        },
        {
            "id": 145,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/145/?format=api",
            "name": "Shahrud Missile Test Site, Islamic Republic of Iran",
            "country_code": "IRN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
            "total_launch_count": 6,
            "total_landing_count": 0
        },
        {
            "id": 147,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/147/?format=api",
            "name": "Interarmy Special Vehicles Test Centre, French Algeria",
            "country_code": "FRA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
            "total_launch_count": 4,
            "total_landing_count": 0
        },
        {
            "id": 17,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/17/?format=api",
            "name": "Jiuquan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
            "total_launch_count": 277,
            "total_landing_count": 2
        },
        {
            "id": 6,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/6/?format=api",
            "name": "Plesetsk Cosmodrome, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_6_20200803142434.jpg",
            "total_launch_count": 1681,
            "total_landing_count": 0
        }
    ]
}