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

{
  "id": 14,
  "name": "Satish Dhawan Space Centre, India",
  "country_code": "IND",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
  "total_launch_count": 103,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 73,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/73/?format=api",
      "agency_id": null,
      "name": "Unknown Pad",
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=13.733,80.235",
      "latitude": 13.733,
      "longitude": 80.235,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_73_20200803143531.jpg",
      "total_launch_count": 0
    },
    {
      "id": 82,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/82/?format=api",
      "agency_id": 31,
      "name": "Satish Dhawan Space Centre Second Launch Pad",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Satish_Dhawan_Space_Centre_Second_Launch_Pad",
      "map_url": "https://www.google.com/maps?q=13.7199,80.2304",
      "latitude": 13.7199,
      "longitude": 80.2304,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_82_20200803143602.jpg",
      "total_launch_count": 32
    },
    {
      "id": 50,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/50/?format=api",
      "agency_id": 31,
      "name": "Satish Dhawan Space Centre First Launch Pad",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Satish_Dhawan_Space_Centre_First_Launch_Pad",
      "map_url": "https://www.google.com/maps?q=13.733,80.235",
      "latitude": 13.733,
      "longitude": 80.235,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_50_20200803143457.jpg",
      "total_launch_count": 63
    },
    {
      "id": 40,
      "url": "https://lldev.thespacedevs.com/2.0.0/pad/40/?format=api",
      "agency_id": 31,
      "name": "SLV-3 Launch Pad",
      "info_url": null,
      "wiki_url": "https://en.wikipedia.org/wiki/Satish_Dhawan_Space_Centre_SLV_Launch_Pad",
      "map_url": "https://www.google.com/maps?q=13.666193,80.227231",
      "latitude": 13.666193,
      "longitude": 80.227231,
      "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_40_20200803143325.jpg",
      "total_launch_count": 8
    }
  ]
}