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

{
  "id": 242,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/242/?format=api",
  "agency_id": null,
  "name": "Commercial LC-4",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
  "map_url": "https://www.google.com/maps?q=19.58394,110.91531",
  "latitude": "19.58394",
  "longitude": "110.91531",
  "location": {
    "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": 58,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_commercial_lc-4_20251128182247.jpg",
  "total_launch_count": 0
}