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

{
  "id": 101,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/101/?format=api",
  "agency_id": null,
  "name": "Unknown Pad",
  "info_url": null,
  "wiki_url": null,
  "map_url": "https://www.google.com/maps?q=0.0,0.0",
  "latitude": null,
  "longitude": null,
  "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_101_20200803143204.jpg",
  "total_launch_count": 0
}