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

{
    "id": 126,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/126/?format=api",
    "agency_id": 63,
    "name": "32/1",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Plesetsk_Cosmodrome_Site_32",
    "map_url": "https://www.google.com/maps?q=62.9063889,40.7844727",
    "latitude": "62.9063889",
    "longitude": "40.7844727",
    "location": {
        "id": 6,
        "url": "https://ll.thespacedevs.com/2.2.0/location/6/?format=api",
        "name": "Plesetsk Cosmodrome, Russian Federation",
        "country_code": "RUS",
        "description": "Plesetsk Cosmodrome is a Russian spaceport located in Mirny, Arkhangelsk Oblast, about 800 km north of Moscow and approximately 200 km south of Arkhangelsk. Originally developed as an ICBM site for the R-7 missile, it also served for numerous satellite launches using the R-7 and other rockets. Its high latitude makes it useful only for certain types of launches, especially the Molniya orbits, so for much of the site's history it functioned as a secondary location, with most orbital launches taking place from Baikonur, in the Kazakh SSR. With the end of the Soviet Union, Baikonur became a foreign territory, and Kazakhstan charged $115 million usage fees annually. Consequently, Plesetsk has seen considerably more activity since the 2000s.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_6_20200803142434.jpg",
        "timezone_name": "Europe/Moscow",
        "total_launch_count": 1674,
        "total_landing_count": 0
    },
    "country_code": "RUS",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_126_20200803143238.jpg",
    "total_launch_count": 57,
    "orbital_launch_attempt_count": 57
}