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.2.0/location/?country_code=USA

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

{
  "id": 164,
  "name": "Koonibba Test Range, South Australia",
  "country_code": "AUS",
  "description": "The Koonibba Test Range is a rocket test range site near the township of Koonibba in the far west of South Australia. Rockets are launched to the north over a clear area – the Yumbarra Conservation Park and Yellabinna Wilderness Protection Area – for 145 kilometres (90 mi).",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_koonibba_test_range252c_south_australia_20231114184328.jpg",
  "timezone_name": "Australia/Adelaide",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 215,
      "url": "https://ll.thespacedevs.com/2.2.0/pad/215/?format=api",
      "agency_id": 1028,
      "name": "Pad 1",
      "description": "",
      "info_url": "https://www.southernlaunch.space/koonibba-test-range",
      "wiki_url": "https://en.wikipedia.org/wiki/Koonibba_Test_Range",
      "map_url": "https://www.google.com/maps?q=-31.885558,133.448686",
      "latitude": -31.885558,
      "longitude": 133.448686,
      "country_code": "AUS",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_pad_1_20231114184452.jpg",
      "total_launch_count": 1
    }
  ]
}