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

{
  "id": 239,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/239/?format=api",
  "agency_id": 1044,
  "name": "Launch Complex 3B",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Esrange#Reusable_Rocket_Testing",
  "map_url": "https://www.google.com/maps?q=67.877368,21.165001",
  "latitude": "67.877368",
  "longitude": "21.165001",
  "location": {
    "id": 178,
    "url": "https://ll.thespacedevs.com/2.0.0/location/178/?format=api",
    "name": "Esrange Space Center",
    "country_code": "SWE",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_esrange_space_center_20241208021356.jpg",
    "total_launch_count": 0,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_3b_20250916091141.jpg",
  "total_launch_count": 0
}