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

{
  "id": 147,
  "name": "Interarmy Special Vehicles Test Centre, French Algeria",
  "country_code": "FRA",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_147_20240808092142.jpg",
  "total_launch_count": 4,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 141,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/141/?format=api",
      "agency_id": null,
      "name": "Brigitte",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Hammaguir",
      "map_url": "https://www.google.com/maps?q=30.7787318,-3.0669721",
      "latitude": 30.7787318,
      "longitude": -3.0669721,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_141_20200803143211.jpg",
      "total_launch_count": 4
    }
  ]
}