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

{
    "id": 113,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/113/?format=api",
    "agency_id": null,
    "name": "Launch Complex 16",
    "description": null,
    "info_url": null,
    "wiki_url": null,
    "map_url": "https://www.google.com/maps?q=38.868222,111.58024",
    "latitude": "38.868222",
    "longitude": "111.58024",
    "location": {
        "id": 19,
        "url": "https://ll.thespacedevs.com/2.2.0/location/19/?format=api",
        "name": "Taiyuan Satellite Launch Center, People's Republic of China",
        "country_code": "CHN",
        "description": "The Taiyuan Satellite Launch Center is a People's Republic of China space and defense launch facility. It is situated in Kelan County, Xinzhou, Shanxi Province and is the second of four launch sites having been founded in March 1966 and coming into full operation in 1968.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
        "timezone_name": "Asia/Shanghai",
        "total_launch_count": 139,
        "total_landing_count": 0
    },
    "country_code": "CHN",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_113_20200803143556.jpg",
    "total_launch_count": 15,
    "orbital_launch_attempt_count": 15
}