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=40
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=50",
    "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
    "results": [
        {
            "id": 159,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/159/?format=api",
            "name": "Sutherland Spaceport",
            "country_code": "GBR",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_sutherland_spaceport_20220511180155.jpg",
            "total_launch_count": 0,
            "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": 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": 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": 8,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/8/?format=api",
            "name": "Wenchang Space Launch Site, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_8_20200803142445.jpg",
            "total_launch_count": 57,
            "total_landing_count": 0
        },
        {
            "id": 18,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/18/?format=api",
            "name": "Vostochny Cosmodrome, Siberia, Russian Federation",
            "country_code": "RUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
            "total_launch_count": 21,
            "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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
            "total_launch_count": 9,
            "total_landing_count": 0
        },
        {
            "id": 142,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/142/?format=api",
            "name": "Ronald Reagan Ballistic Missile Defense Test Site, Kwajalein Atoll, Marshall Islands",
            "country_code": "MHL",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_142_20200803142511.jpg",
            "total_launch_count": 5,
            "total_landing_count": 0
        },
        {
            "id": 15,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/15/?format=api",
            "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
            "total_launch_count": 1560,
            "total_landing_count": 0
        },
        {
            "id": 16,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/16/?format=api",
            "name": "Xichang Satellite Launch Center, People's Republic of China",
            "country_code": "CHN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_16_20200803142513.jpg",
            "total_launch_count": 237,
            "total_landing_count": 0
        }
    ]
}