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

{
  "id": 128,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/128/?format=api",
  "agency_id": 163,
  "name": "5",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Svobodny_Cosmodrome",
  "map_url": "https://www.google.com/maps?q=51.7,127.997806",
  "latitude": "51.7",
  "longitude": "127.997806",
  "location": {
    "id": 146,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/146/?format=api",
    "name": "Svobodny Cosmodrome, Russian Federation",
    "country_code": "RUS",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_146_20200803142450.jpg",
    "total_launch_count": 5,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_128_20200803143250.jpg",
  "total_launch_count": 5
}