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

{
  "id": 205,
  "url": "https://ll.thespacedevs.com/2.0.0/pad/205/?format=api",
  "agency_id": 1045,
  "name": "Launch Pad Fredo",
  "info_url": "https://saxavord.com/",
  "wiki_url": "https://en.wikipedia.org/wiki/SaxaVord_Spaceport",
  "map_url": "https://www.google.com/maps?q=60.81736038715111,-0.7626391593025057",
  "latitude": "60.81736038715111",
  "longitude": "-0.7626391593025057",
  "location": {
    "id": 157,
    "url": "https://ll.thespacedevs.com/2.0.0/location/157/?format=api",
    "name": "SaxaVord Spaceport",
    "country_code": "GBR",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_saxavord_spaceport_20211102161146.jpg",
    "total_launch_count": 0,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_pad_fredo_20230112225206.jpg",
  "total_launch_count": 0
}