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": 156,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/156/?format=api",
            "name": "Whalers Way Orbital Launch Complex, South Australia",
            "country_code": "AUS",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_whalers_way_orbital_launch_complex_20210910042508.jpg",
            "total_launch_count": 1,
            "total_landing_count": 0
        },
        {
            "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": 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": 166,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/166/?format=api",
            "name": "Spaceport Kii, Japan",
            "country_code": "JPN",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_space_port_kii252c_japan_20240126073749.jpg",
            "total_launch_count": 2,
            "total_landing_count": 0
        },
        {
            "id": 7,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/7/?format=api",
            "name": "Sohae Satellite Launching Station,  Cholsan County, North Pyongan Province, Democratic People's Republic of Korea",
            "country_code": "PRK",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
            "total_launch_count": 7,
            "total_landing_count": 0
        },
        {
            "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": 327,
            "total_landing_count": 0
        },
        {
            "id": 11,
            "url": "https://lldev.thespacedevs.com/2.0.0/location/11/?format=api",
            "name": "Vandenberg SFB, CA, USA",
            "country_code": "USA",
            "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
            "total_launch_count": 830,
            "total_landing_count": 28
        },
        {
            "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": 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
        }
    ]
}