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

{
  "id": 114,
  "url": "https://ll.thespacedevs.com/2.2.0/pad/114/?format=api",
  "agency_id": null,
  "name": "Launch Pad 3B",
  "description": "",
  "info_url": null,
  "wiki_url": "https://en.wikipedia.org/wiki/Pacific_Spaceport_Complex_%E2%80%93_Alaska",
  "map_url": "https://www.google.com/maps?q=57.430673,-152.353077",
  "latitude": "57.430673",
  "longitude": "-152.353077",
  "location": {
    "id": 25,
    "url": "https://ll.thespacedevs.com/2.2.0/location/25/?format=api",
    "name": "Pacific Spaceport Complex, Alaska, USA",
    "country_code": "USA",
    "description": "The Pacific Spaceport Complex – Alaska (PSCA), formerly known as the Kodiak Launch Complex (KLC), is a dual-use commercial and military spaceport for sub-orbital and orbital launch vehicles. The facility is owned and operated by the Alaska Aerospace Corporation, a corporation owned by the Government of Alaska, and is located on Kodiak Island in Alaska.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
    "timezone_name": "America/Anchorage",
    "total_launch_count": 9,
    "total_landing_count": 0
  },
  "country_code": "USA",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_114_20200803145248.jpg",
  "total_launch_count": 5,
  "orbital_launch_attempt_count": 5
}