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

{
  "id": 67,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/67/?format=api",
  "agency_id": 115,
  "name": "Ariane Launch Area 4",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Guiana_Space_Centre",
  "map_url": "https://www.google.com/maps?q=5.256319,-52.786838",
  "latitude": "5.256319",
  "longitude": "-52.786838",
  "location": {
    "id": 13,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/13/?format=api",
    "name": "Guiana Space Centre, French Guiana",
    "country_code": "GUF",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
    "total_launch_count": 331,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_67_20200803143559.jpg",
  "total_launch_count": 6
}