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

{
  "id": 183,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/183/?format=api",
  "agency_id": null,
  "name": "370/13",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Dombarovsky_Air_Base",
  "map_url": "https://www.google.com/maps?q=51.0938889,59.8400282",
  "latitude": "51.0938889",
  "longitude": "59.8400282",
  "location": {
    "id": 5,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/5/?format=api",
    "name": "Dombarovskiy, Russian Federation",
    "country_code": "RUS",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_5_20200803142425.jpg",
    "total_launch_count": 10,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_183_20200803143512.jpg",
  "total_launch_count": 8
}