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

{
  "id": 116,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/116/?format=api",
  "agency_id": 161,
  "name": "Launch Complex 11",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Launch_Complex_11",
  "map_url": "https://www.google.com/maps?q=28.4755556,-80.5427496",
  "latitude": "28.4755556",
  "longitude": "-80.5427496",
  "location": {
    "id": 12,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/12/?format=api",
    "name": "Cape Canaveral SFS, FL, USA",
    "country_code": "USA",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
    "total_launch_count": 1108,
    "total_landing_count": 75
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_116_20200803143216.jpg",
  "total_launch_count": 1
}