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

{
  "id": 41,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/41/?format=api",
  "agency_id": 37,
  "name": "Yoshinobu Launch Complex LP-1",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Yoshinobu_Launch_Complex",
  "map_url": "https://www.google.com/maps?q=30.400813,130.977748",
  "latitude": "30.400813",
  "longitude": "130.977748",
  "location": {
    "id": 26,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/26/?format=api",
    "name": "Tanegashima Space Center, Japan",
    "country_code": "JPN",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_26_20200803142507.jpg",
    "total_launch_count": 97,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_41_20200803143551.jpg",
  "total_launch_count": 57
}