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
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=10",
    "previous": null,
    "results": [
        {
            "id": 10,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/10/?format=api",
            "name": "Rocket Lab Launch Complex 1, Mahia Peninsula, New Zealand",
            "country_code": "NZL",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_10_20200803142509.jpg",
            "total_launch_count": 69,
            "total_landing_count": 17
        },
        {
            "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": 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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
            "total_launch_count": 330,
            "total_landing_count": 0
        },
        {
            "id": 20,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/20/?format=api",
            "name": "Air launch to orbit",
            "country_code": "???",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_20_20200803142433.jpg",
            "total_launch_count": 51,
            "total_landing_count": 0
        },
        {
            "id": 26,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/26/?format=api",
            "name": "Tanegashima Space Center, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_26_20200803142507.jpg",
            "total_launch_count": 96,
            "total_landing_count": 0
        },
        {
            "id": 4,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/4/?format=api",
            "name": "Palmachim Airbase, State of Israel",
            "country_code": "ISR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_4_20200803142418.jpg",
            "total_launch_count": 13,
            "total_landing_count": 0
        },
        {
            "id": 155,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/155/?format=api",
            "name": "White Sands Missile Range",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_white_sands_missile_range_20210901072636.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        },
        {
            "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": 2,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/2/?format=api",
            "name": "Semnan Space Center, Islamic Republic of Iran",
            "country_code": "IRN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
            "total_launch_count": 15,
            "total_landing_count": 0
        },
        {
            "id": 21,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/21/?format=api",
            "name": "Wallops Flight Facility, Virginia, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
            "total_launch_count": 84,
            "total_landing_count": 0
        }
    ]
}