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

{
  "id": 154,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/154/?format=api",
  "agency_id": null,
  "name": "Space Launch Complex 5",
  "info_url": "https://www.astronautix.com/v/vandenbergslc5.html",
  "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Air_Force_Base_Space_Launch_Complex_5",
  "map_url": "https://www.google.com/maps?q=34.6080,-120.6247",
  "latitude": "34.608",
  "longitude": "-120.6247",
  "location": {
    "id": 11,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/11/?format=api",
    "name": "Vandenberg SFB, CA, USA",
    "country_code": "USA",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
    "total_launch_count": 872,
    "total_landing_count": 33
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_154_20200803143408.jpg",
  "total_launch_count": 69
}