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

{
    "id": 106,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/106/?format=api",
    "agency_id": 1002,
    "name": "Launch Complex 0",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Taiki_Aerospace_Research_Field",
    "map_url": "https://www.google.com/maps?q=42.50000000,143.441389",
    "latitude": "42.5",
    "longitude": "143.441389",
    "location": {
        "id": 32,
        "url": "https://ll.thespacedevs.com/2.2.0/location/32/?format=api",
        "name": "Hokkaido Spaceport, Japan",
        "country_code": "JPN",
        "description": "Rocket launch pad of Interstellar Technologies, located next to the Taiki Aerospace Research Field.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
        "timezone_name": "Asia/Tokyo",
        "total_launch_count": 7,
        "total_landing_count": 0
    },
    "country_code": "JPN",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_106_20200803143453.jpg",
    "total_launch_count": 7,
    "orbital_launch_attempt_count": 0
}