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

{
  "id": 160,
  "name": "Arnhem Space Centre",
  "country_code": "AUS",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_arnhem_space_centre_20220622160552.jpg",
  "total_launch_count": 3,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 202,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/202/?format=api",
      "agency_id": 1038,
      "name": "Suborbital Launch Ramp",
      "info_url": "https://ela.space/arnhem-space-centre/",
      "wiki_url": "https://en.wikipedia.org/wiki/Arnhem_Land#Economy",
      "map_url": "https://www.google.com/maps?q=-12.3892948,136.7903215",
      "latitude": -12.3892948,
      "longitude": 136.7903215,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_suborbital_launch_ramp_20220625184504.jpg",
      "total_launch_count": 3
    }
  ]
}