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

{
  "id": 210,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/210/?format=api",
  "agency_id": null,
  "name": "Unknown Pad",
  "info_url": null,
  "wiki_url": null,
  "map_url": null,
  "latitude": "-39.260881",
  "longitude": "177.865826",
  "location": {
    "id": 10,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/10/?format=api",
    "name": "Rocket Lab Launch Complex 1, Mahia Peninsula, New Zealand",
    "country_code": "NZL",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_10_20200803142509.jpg",
    "total_launch_count": 75,
    "total_landing_count": 17
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_210_20230819165718.jpg",
  "total_launch_count": 0
}