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

{
  "id": 180,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/180/?format=api",
  "agency_id": null,
  "name": "Launch Area 6A",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/RAAF_Woomera_Range_Complex",
  "map_url": "https://www.google.com/maps?q=-30.9552778,136.5300282",
  "latitude": "-30.9552778",
  "longitude": "136.5300282",
  "location": {
    "id": 152,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/152/?format=api",
    "name": "RAAF Woomera Range Complex",
    "country_code": "AUS",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_152_20200803142502.jpg",
    "total_launch_count": 6,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_180_20200803143508.jpg",
  "total_launch_count": 3
}