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

{
  "id": 90,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/90/?format=api",
  "agency_id": 141,
  "name": "West Texas Suborbital Launch Site/ Corn Ranch",
  "info_url": "https://www.blueorigin.com",
  "wiki_url": "https://en.wikipedia.org/wiki/Corn_Ranch",
  "map_url": "https://www.google.com/maps?q=31.422878000000000,-104.757121000000000",
  "latitude": "31.422878",
  "longitude": "-104.757121",
  "location": {
    "id": 29,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/29/?format=api",
    "name": "Corn Ranch, Van Horn, TX, USA",
    "country_code": "USA",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_29_20200803142436.jpg",
    "total_launch_count": 38,
    "total_landing_count": 38
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_90_20200803143233.jpg",
  "total_launch_count": 38
}