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

{
  "id": 145,
  "name": "Shahrud Missile Test Site, Islamic Republic of Iran",
  "country_code": "IRN",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
  "total_launch_count": 6,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 115,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/115/?format=api",
      "agency_id": null,
      "name": "Launch Platform",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=36.200595,55.333939",
      "latitude": 36.200595,
      "longitude": 55.333939,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_115_20200803143303.jpg",
      "total_launch_count": 6
    }
  ]
}