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

{
  "id": 136,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/136/?format=api",
  "agency_id": null,
  "name": "107",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Kapustin_Yar",
  "map_url": "https://www.google.com/maps?q=48.540716,46.296826",
  "latitude": "48.540716",
  "longitude": "46.296826",
  "location": {
    "id": 30,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/30/?format=api",
    "name": "Kapustin Yar, Russian Federation",
    "country_code": "RUS",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
    "total_launch_count": 101,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_136_20200803143342.jpg",
  "total_launch_count": 3
}