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

{
    "id": 10,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/10/?format=api",
    "agency_id": 37,
    "name": "Osaki Launch Complex",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Tanegashima_Space_Center",
    "map_url": "https://www.google.com/maps?q=30.3993934,130.9702486",
    "latitude": "30.3993934",
    "longitude": "130.9702486",
    "location": {
        "id": 26,
        "url": "https://ll.thespacedevs.com/2.2.0/location/26/?format=api",
        "name": "Tanegashima Space Center, Japan",
        "country_code": "JPN",
        "description": "The Tanegashima Space Center is the largest rocket-launch complex in Japan. It is located on the southeastern tip of Tanegashima, an island located south of Kyushu, an island and region and Japan. It was established in 1969 when the National Space Development Agency of Japan (NASDA) was formed, and is now run by JAXA. The activities that take place at TNSC include assembly, testing, launching, and tracking satellites, as well as rocket engine firing tests.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_26_20200803142507.jpg",
        "timezone_name": "Asia/Tokyo",
        "total_launch_count": 94,
        "total_landing_count": 0
    },
    "country_code": "JPN",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_10_20200803143519.jpg",
    "total_launch_count": 24,
    "orbital_launch_attempt_count": 24
}