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

{
  "id": 29,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/29/?format=api",
  "agency_id": null,
  "name": "Space Launch Complex 41",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_41",
  "map_url": "https://www.google.com/maps?q=28.58341025,-80.58303644",
  "latitude": "28.58341025",
  "longitude": "-80.58303644",
  "location": {
    "id": 12,
    "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
    "name": "Cape Canaveral SFS, FL, USA",
    "country_code": "USA",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
    "total_launch_count": 1100,
    "total_landing_count": 71
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_29_20200803143528.jpg",
  "total_launch_count": 122
}