API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'name', 'location' Example - /2.0.0/pad/?location=12

GET /2.0.0/pad/260/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 260,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/260/?format=api",
  "agency_id": null,
  "name": "Launch Complex 16 CZ-6C Pad",
  "info_url": null,
  "wiki_url": null,
  "map_url": "https://www.google.com/maps?q=38.86913%2C111.57956",
  "latitude": "38.86913",
  "longitude": "111.57956",
  "location": {
    "id": 19,
    "url": "https://ll.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-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
    "total_launch_count": 166,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_16_cz-6c_pad_20261129043955.jpg",
  "total_launch_count": 1
}