API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'name', 'location' Example - /2.0.0/pad/?location=12

GET /2.0.0/pad/141/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "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",
  "location": {
    "id": 147,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/147/?format=api",
    "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
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_141_20200803143211.jpg",
  "total_launch_count": 4
}