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

{
  "id": 81,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/81/?format=api",
  "agency_id": 115,
  "name": "Soyuz Launch Complex",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Ensemble_de_Lancement_Soyouz",
  "map_url": "https://www.google.com/maps?q=5.3019,-52.8346",
  "latitude": "5.3019",
  "longitude": "-52.8346",
  "location": {
    "id": 13,
    "url": "https://ll.thespacedevs.com/2.0.0/location/13/?format=api",
    "name": "Guiana Space Centre, French Guiana",
    "country_code": "GUF",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
    "total_launch_count": 331,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_81_20200803143601.jpg",
  "total_launch_count": 26
}