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": 54,
  "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": 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": 100,
      "total_landing_count": 0
    },
    {
      "id": 12,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/12/?format=api",
      "name": "Cape Canaveral SFS, FL, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
      "total_launch_count": 1132,
      "total_landing_count": 83
    },
    {
      "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": 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": 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": 87,
      "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": 25,
      "url": "https://lldev.thespacedevs.com/2.0.0/location/25/?format=api",
      "name": "Pacific Spaceport Complex, Alaska, USA",
      "country_code": "USA",
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
      "total_launch_count": 9,
      "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": 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": 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
    }
  ]
}