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

{
  "id": 73,
  "url": "https://ll.thespacedevs.com/2.2.0/pad/73/?format=api",
  "agency_id": null,
  "name": "Unknown Pad",
  "description": "There is more then one possible pad for this launch.",
  "info_url": null,
  "wiki_url": null,
  "map_url": "https://www.google.com/maps?q=13.733,80.235",
  "latitude": "13.733",
  "longitude": "80.235",
  "location": {
    "id": 14,
    "url": "https://ll.thespacedevs.com/2.2.0/location/14/?format=api",
    "name": "Satish Dhawan Space Centre, India",
    "country_code": "IND",
    "description": "Satish Dhawan Space Centre – SDSC (formerly Sriharikota Range – SHAR),[1] is the primary spaceport of the Indian Space Research Organisation (ISRO), located in Sriharikota, Andhra Pradesh.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_14_20200803142403.jpg",
    "timezone_name": "Asia/Kolkata",
    "total_launch_count": 103,
    "total_landing_count": 0
  },
  "country_code": "IND",
  "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_73_20200803143531.jpg",
  "total_launch_count": 0,
  "orbital_launch_attempt_count": 0
}