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

{
    "id": 216,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/216/?format=api",
    "agency_id": null,
    "name": "ADD Offshore launch platform",
    "description": "Offshore launch platform for the South Korean military small satellite launch vehicle.",
    "info_url": null,
    "wiki_url": null,
    "map_url": null,
    "latitude": "33.216667",
    "longitude": "126.366667",
    "location": {
        "id": 3,
        "url": "https://ll.thespacedevs.com/2.2.0/location/3/?format=api",
        "name": "Sea Launch",
        "country_code": "???",
        "description": "",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
        "timezone_name": "",
        "total_launch_count": 55,
        "total_landing_count": 0
    },
    "country_code": "KOR",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_add_offshore_launch_platform_20231204142359.jpg",
    "total_launch_count": 1,
    "orbital_launch_attempt_count": 1
}