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=30
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=40",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=20",
    "results": [
        {
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
            "total_launch_count": 273,
            "total_landing_count": 0
        },
        {
            "id": 32,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/32/?format=api",
            "name": "Hokkaido Spaceport, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
            "total_launch_count": 7,
            "total_landing_count": 0
        },
        {
            "id": 162,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/162/?format=api",
            "name": "Edwards Air Force Base",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_edwards_air_force_base_20230422085221.jpg",
            "total_launch_count": 0,
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
            "total_launch_count": 4,
            "total_landing_count": 4
        },
        {
            "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": 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": 1678,
            "total_landing_count": 0
        },
        {
            "id": 152,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/152/?format=api",
            "name": "RAAF Woomera Range Complex",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_152_20200803142502.jpg",
            "total_launch_count": 6,
            "total_landing_count": 0
        },
        {
            "id": 1,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/1/?format=api",
            "name": "Pacific Missile Range Facility, Barking Sands, HI, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "id": 24,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/24/?format=api",
            "name": "Uchinoura Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_24_20200803142411.jpg",
            "total_launch_count": 43,
            "total_landing_count": 0
        },
        {
            "id": 153,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/153/?format=api",
            "name": "Tonghae Satellite Launching Ground",
            "country_code": "PRK",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        }
    ]
}