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

{
  "id": 111,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/111/?format=api",
  "agency_id": 121,
  "name": "Suborbital Pad A",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/SpaceX_South_Texas_Launch_Site",
  "map_url": "https://www.google.com/maps?q=25.997116,-97.15503099856647",
  "latitude": "25.997116",
  "longitude": "-97.15503099856647",
  "location": {
    "id": 143,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/143/?format=api",
    "name": "SpaceX Starbase, TX, USA",
    "country_code": "USA",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_143_20200803142438.jpg",
    "total_launch_count": 20,
    "total_landing_count": 13
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_111_20200803143229.jpg",
  "total_launch_count": 7
}