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

{
  "id": 161,
  "name": "Andøya Spaceport",
  "country_code": "NOR",
  "description": "Andøya Space, also named Andøya Space Center and formerly Andøya Rocket Range, is a rocket launch site, rocket range, and spaceport on Andøya island (the northernmost in the Vesterålen archipelago) in Andøy Municipality in Nordland county, Norway.",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_161_20240109072235.jpg",
  "timezone_name": "Europe/Oslo",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 51,
      "url": "https://ll.thespacedevs.com/2.2.0/pad/51/?format=api",
      "agency_id": null,
      "name": "Orbital Launch Pad",
      "description": null,
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/And%C3%B8ya_Space",
      "map_url": "https://www.google.com/maps?q=69.1084,15.5895",
      "latitude": 69.1084,
      "longitude": 15.5895,
      "country_code": "NOR",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_51_20200803143605.jpg",
      "total_launch_count": 1
    }
  ]
}