API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'name', 'country_code', 'id' Example - /2.0.0/location/?country_code=USA

GET /2.0.0/location/9/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 9,
  "name": "Naro Space Center, South Korea",
  "country_code": "KOR",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_9_20200803142441.jpg",
  "total_launch_count": 8,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 64,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/64/?format=api",
      "agency_id": 41,
      "name": "LC-1",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Naro_Space_Center",
      "map_url": "https://www.google.com/maps?q=34.431867,127.535069",
      "latitude": 34.431867,
      "longitude": 127.535069,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_64_20200803143347.jpg",
      "total_launch_count": 3
    },
    {
      "id": 192,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/192/?format=api",
      "agency_id": 41,
      "name": "LC-2",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Naro_Space_Center",
      "map_url": "https://www.google.com/maps?q=34.431867,127.535069",
      "latitude": 34.431867,
      "longitude": 127.535069,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_lc-2_20210812070305.jpg",
      "total_launch_count": 5
    }
  ]
}