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

{
    "count": 51,
    "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=20",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10",
    "results": [
        {
            "id": 13,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/13/?format=api",
            "name": "Guiana Space Centre, French Guiana",
            "country_code": "GUF",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 325,
            "total_landing_count": 0
        },
        {
            "id": 27,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/27/?format=api",
            "name": "Kennedy Space Center, FL, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
            "total_launch_count": 267,
            "total_landing_count": 0
        },
        {
            "id": 31,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/31/?format=api",
            "name": "Spaceport America, NM, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
            "total_launch_count": 4,
            "total_landing_count": 4
        },
        {
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_144_20200803142439.jpg",
            "total_launch_count": 86,
            "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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
            "total_launch_count": 4,
            "total_landing_count": 0
        },
        {
            "id": 151,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/151/?format=api",
            "name": "Broglio Space Center, Kenya",
            "country_code": "ITA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
            "total_launch_count": 9,
            "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-prod.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 19,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/19/?format=api",
            "name": "Taiyuan Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
            "total_launch_count": 142,
            "total_landing_count": 0
        },
        {
            "id": 25,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/25/?format=api",
            "name": "Pacific Spaceport Complex, Alaska, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
            "total_launch_count": 9,
            "total_landing_count": 0
        }
    ]
}