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.2.0/location/?country_code=USA

GET /2.2.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",
  "description": "Shahroud Space Center is a Military Spaceport under control of the Islamic Revolutionary Guard Corps Aerospace Force (IRGCASF) located south-east of Shahroud Semnan Province, used to orbit military satellites for Iran's military space program.",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
  "timezone_name": "Asia/Tehran",
  "total_launch_count": 6,
  "total_landing_count": 0,
  "pads": [
    {
      "id": 115,
      "url": "https://ll.thespacedevs.com/2.2.0/pad/115/?format=api",
      "agency_id": null,
      "name": "Launch Platform",
      "description": null,
      "info_url": null,
      "wiki_url": null,
      "map_url": "https://www.google.com/maps?q=36.200595,55.333939",
      "latitude": 36.200595,
      "longitude": 55.333939,
      "country_code": "IRN",
      "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_115_20200803143303.jpg",
      "total_launch_count": 6
    }
  ]
}