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

{
  "id": 125,
  "url": "https://lldev.thespacedevs.com/2.2.0/pad/125/?format=api",
  "agency_id": 46,
  "name": "Diamant Launch Area",
  "description": "",
  "info_url": null,
  "wiki_url": null,
  "map_url": "https://www.google.com/maps?q=5.2222222,-52.7758051",
  "latitude": "5.2222222",
  "longitude": "-52.7758051",
  "location": {
    "id": 13,
    "url": "https://lldev.thespacedevs.com/2.2.0/location/13/?format=api",
    "name": "Guiana Space Centre, French Guiana",
    "country_code": "GUF",
    "description": "The Guiana Space Centre is a European spaceport to the northwest of Kourou in French Guiana, a region of France in South America. Kourou is located at a latitude of 5°. In operation since 1968, it is a suitable location for a spaceport because of its equatorial location and open sea to the east.",
    "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_13_20200803142412.jpg",
    "timezone_name": "America/Cayenne",
    "total_launch_count": 331,
    "total_landing_count": 0
  },
  "country_code": "GUF",
  "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_125_20200803143236.jpg",
  "total_launch_count": 8,
  "orbital_launch_attempt_count": 8
}