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

{
  "id": 208,
  "url": "https://lldev.thespacedevs.com/2.0.0/pad/208/?format=api",
  "agency_id": null,
  "name": "Malligyong-1 Pad",
  "info_url": null,
  "wiki_url": null,
  "map_url": "https://goo.gl/maps/DgkrTCHCsAcw1CWR7",
  "latitude": "39.652861",
  "longitude": "124.736639",
  "location": {
    "id": 7,
    "url": "https://lldev.thespacedevs.com/2.0.0/location/7/?format=api",
    "name": "Sohae Satellite Launching Station,  Cholsan County, North Pyongan Province, Democratic People's Republic of Korea",
    "country_code": "PRK",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
    "total_launch_count": 7,
    "total_landing_count": 0
  },
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_unknown_pad_prk_2023_20230601125308.jpg",
  "total_launch_count": 4
}