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

{
  "id": 1,
  "name": "Pacific Missile Range Facility, Barking Sands, HI, USA",
  "country_code": "USA",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_1_20200803142427.jpg",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 63,
      "url": "https://ll.thespacedevs.com/2.0.0/pad/63/?format=api",
      "agency_id": 166,
      "name": "LP-41",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Pacific_Missile_Range_Facility",
      "map_url": "https://www.google.com/maps?q=21.982029,-159.759328",
      "latitude": 21.982029,
      "longitude": -159.759328,
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_63_20200803143308.jpg",
      "total_launch_count": 1
    }
  ]
}