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

{
  "id": 151,
  "name": "Broglio Space Center, Kenya",
  "country_code": "ITA",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_151_20200803142409.jpg",
  "total_launch_count": 9,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 155,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/155/?format=api",
      "agency_id": null,
      "name": "San Marco platform",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Broglio_Space_Center",
      "map_url": "https://www.google.com/maps?q=-2.9383333,40.210306",
      "latitude": -2.9383333,
      "longitude": 40.210306,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_155_20200803143349.jpg",
      "total_launch_count": 9
    }
  ]
}