API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'id', 'agency_id', 'name', 'name__contains', 'latitude', 'latitude__contains', 'longitude', 'longitude__contains', 'location__name', 'location__name__contains', 'location__id', 'orbital_launch_attempt_count', 'total_launch_count'

ORDERING: Fields - 'id', 'name', 'location__id', 'location__name', 'orbital_launch_attempt_count', 'total_launch_count'

Example - /2.2.0/pad/?ordering=location__name

GET /2.2.0/pad/184/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
  "id": 184,
  "url": "https://ll.thespacedevs.com/2.2.0/pad/184/?format=api",
  "agency_id": null,
  "name": "Satellite Launch Pad",
  "description": null,
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Tonghae_Satellite_Launching_Ground",
  "map_url": "https://www.google.com/maps?q=40.855799,129.665895",
  "latitude": "40.855799",
  "longitude": "129.665895",
  "location": {
    "id": 153,
    "url": "https://ll.thespacedevs.com/2.2.0/location/153/?format=api",
    "name": "Tonghae Satellite Launching Ground",
    "country_code": "PRK",
    "description": "The Tonghae Satellite Launching Ground is a rocket launching site in North Korea.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_153_20200803142503.jpg",
    "timezone_name": "Asia/Pyongyang",
    "total_launch_count": 2,
    "total_landing_count": 0
  },
  "country_code": "PRK",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_184_20200803143423.jpg",
  "total_launch_count": 2,
  "orbital_launch_attempt_count": 2
}