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

{
    "count": 233,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.2.0/pad/?format=api&limit=10&offset=220&ordering=total_launch_count",
    "results": [
        {
            "id": 80,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/80/?format=api",
            "agency_id": 121,
            "name": "Space Launch Complex 40",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
            "map_url": "https://www.google.com/maps?q=28.56194122,-80.57735736",
            "latitude": "28.56194122",
            "longitude": "-80.57735736",
            "location": {
                "id": 12,
                "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                "name": "Cape Canaveral SFS, FL, USA",
                "country_code": "USA",
                "description": "Cape Canaveral Space Force Station (CCSFS) is an installation of the United States Space Force's Space Launch Delta 45, located on Cape Canaveral in Brevard County, Florida.",
                "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
                "timezone_name": "America/New_York",
                "total_launch_count": 1100,
                "total_landing_count": 71
            },
            "country_code": "USA",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_80_20200803143323.jpg",
            "total_launch_count": 376,
            "orbital_launch_attempt_count": 376
        },
        {
            "id": 20,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/20/?format=api",
            "agency_id": null,
            "name": "31/6",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Baikonur_Cosmodrome_Site_31",
            "map_url": "https://www.google.com/maps?q=45.996034,63.564003",
            "latitude": "45.996034",
            "longitude": "63.564003",
            "location": {
                "id": 15,
                "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
                "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
                "country_code": "KAZ",
                "description": "The Baikonur Cosmodrome is a spaceport operated by Russia within Kazakhstan. Located in the Kazakh city of Baikonur, it is the largest operational space launch facility in terms of area. All Russian crewed spaceflights are launched from Baikonur.",
                "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
                "timezone_name": "Asia/Qyzylorda",
                "total_launch_count": 1561,
                "total_landing_count": 0
            },
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_20_20200803143516.jpg",
            "total_launch_count": 427,
            "orbital_launch_attempt_count": 427
        },
        {
            "id": 32,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/32/?format=api",
            "agency_id": null,
            "name": "1/5",
            "description": null,
            "info_url": null,
            "wiki_url": "",
            "map_url": "https://www.google.com/maps?q=45.92,63.342",
            "latitude": "45.92",
            "longitude": "63.342",
            "location": {
                "id": 15,
                "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
                "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
                "country_code": "KAZ",
                "description": "The Baikonur Cosmodrome is a spaceport operated by Russia within Kazakhstan. Located in the Kazakh city of Baikonur, it is the largest operational space launch facility in terms of area. All Russian crewed spaceflights are launched from Baikonur.",
                "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_15_20200803142517.jpg",
                "timezone_name": "Asia/Qyzylorda",
                "total_launch_count": 1561,
                "total_landing_count": 0
            },
            "country_code": "KAZ",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_32_20200803143513.jpg",
            "total_launch_count": 487,
            "orbital_launch_attempt_count": 487
        }
    ]
}