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

{
    "id": 74,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/74/?format=api",
    "agency_id": 40,
    "name": "Unha Launch Pad",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Sohae_Satellite_Launching_Station",
    "map_url": "https://www.google.com/maps?q=39.660065,124.705366",
    "latitude": "39.660065",
    "longitude": "124.705366",
    "location": {
        "id": 7,
        "url": "https://ll.thespacedevs.com/2.2.0/location/7/?format=api",
        "name": "Sohae Satellite Launching Station,  Cholsan County, North Pyongan Province, Democratic People's Republic of Korea",
        "country_code": "PRK",
        "description": "Sohae Satellite Launching Station is a rocket launching site in Tongch'ang-ri, Cholsan County, North Pyongan Province, North Korea. The base is located among hills close to the northern border with China. The spaceport was built on the site of the village Pongdong-ri which was displaced during construction.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_7_20200803142414.jpg",
        "timezone_name": "Asia/Pyongyang",
        "total_launch_count": 7,
        "total_landing_count": 0
    },
    "country_code": "PRK",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_74_20200803143358.jpg",
    "total_launch_count": 3,
    "orbital_launch_attempt_count": 3
}