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

{
  "id": 83,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/83/?format=api",
  "agency_id": 63,
  "name": "Cosmodrome Site 1S",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Vostochny_Cosmodrome",
  "map_url": "https://www.google.com/maps?q=51.884395,128.333932",
  "latitude": "51.884395",
  "longitude": "128.333932",
  "location": {
    "id": 18,
    "url": "https://ll.thespacedevs.com/2.0.0/location/18/?format=api",
    "name": "Vostochny Cosmodrome, Siberia, Russian Federation",
    "country_code": "RUS",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_18_20200803142401.jpg",
    "total_launch_count": 21,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_83_20200803143544.jpg",
  "total_launch_count": 20
}