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

{
  "id": 163,
  "name": "El Arenosillo Test Centre",
  "country_code": "ESP",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_163_20240111100612.jpg",
  "total_launch_count": 1,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 207,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/207/?format=api",
      "agency_id": null,
      "name": "Médano del Loro",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/El_Arenosillo",
      "map_url": null,
      "latitude": 37.09687,
      "longitude": -6.73863,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_miura_1_pad_20230530101735.jpg",
      "total_launch_count": 1
    }
  ]
}