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

{
  "id": 163,
  "name": "El Arenosillo Test Centre",
  "country_code": "ESP",
  "description": "El Arenosillo Test Centre is the name of a rocket launch site managed by INTA, located in Moguer, Spain. It is located in the province of Huelva, Andalucía, on the southwest coast of Spain.",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_163_20240111100612.jpg",
  "timezone_name": "Europe/Madrid",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 207,
      "url": "https://ll.thespacedevs.com/2.2.0/pad/207/?format=api",
      "agency_id": null,
      "name": "Médano del Loro",
      "description": null,
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/El_Arenosillo",
      "map_url": null,
      "latitude": 37.09687,
      "longitude": -6.73863,
      "country_code": "ESP",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_miura_1_pad_20230530101735.jpg",
      "total_launch_count": 1
    }
  ]
}