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

{
  "count": 53,
  "next": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=30",
  "previous": "https://lldev.thespacedevs.com/2.0.0/location/?format=api&limit=10&offset=10",
  "results": [
    {
      "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
    },
    {
      "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": 70,
      "total_landing_count": 0
    },
    {
      "id": 30,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/30/?format=api",
      "name": "Kapustin Yar, Russian Federation",
      "country_code": "RUS",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
      "total_launch_count": 101,
      "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": 98,
      "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": 242,
      "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
    },
    {
      "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": 334,
      "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": 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-dev.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
      "total_launch_count": 158,
      "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
    }
  ]
}