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

{
  "id": 216,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/216/?format=api",
  "agency_id": null,
  "name": "ADD Offshore launch platform",
  "info_url": null,
  "wiki_url": null,
  "map_url": null,
  "latitude": "33.216667",
  "longitude": "126.366667",
  "location": {
    "id": 3,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/3/?format=api",
    "name": "Sea Launch",
    "country_code": "???",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
    "total_launch_count": 40,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_add_offshore_launch_platform_20231204142359.jpg",
  "total_launch_count": 1
}