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

{
  "id": 238,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/238/?format=api",
  "agency_id": 188,
  "name": "Eris Pad",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Gilmour_Space_Technologies#Bowen_Orbital_Spaceport_(BOS)",
  "map_url": null,
  "latitude": "-19.958151",
  "longitude": "148.1129553",
  "location": {
    "id": 181,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/181/?format=api",
    "name": "Bowen Orbital Spaceport",
    "country_code": "AUS",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_bowen_orbital_spaceport_20250227073649.jpg",
    "total_launch_count": 1,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_eris_pad_20250227074117.jpg",
  "total_launch_count": 1
}