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

{
  "id": 156,
  "name": "Whalers Way Orbital Launch Complex, South Australia",
  "country_code": "AUS",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_whalers_way_orbital_launch_complex_20210910042508.jpg",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 197,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/197/?format=api",
      "agency_id": 1028,
      "name": "Pad 1",
      "info_url": "https://www.southernlaunch.space/whalers-way-orbital-launch-complex",
      "wiki_url": "https://en.wikipedia.org/wiki/Whalers_Way_Orbital_Launch_Complex",
      "map_url": "https://www.google.com/maps?q=-34.937822,135.630035",
      "latitude": -34.937822,
      "longitude": 135.630035,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_whalers_way_orbital_launch_complex_20210910042853.jpg",
      "total_launch_count": 1
    }
  ]
}