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

{
    "id": 44,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/44/?format=api",
    "agency_id": null,
    "name": "Unknown Pad",
    "description": null,
    "info_url": null,
    "wiki_url": "",
    "map_url": "https://www.google.com/maps?q=51.036,59.958",
    "latitude": "51.036",
    "longitude": "59.958",
    "location": {
        "id": 5,
        "url": "https://ll.thespacedevs.com/2.2.0/location/5/?format=api",
        "name": "Dombarovskiy, Russian Federation",
        "country_code": "RUS",
        "description": "Dombarovsky is a military airbase near Yasny in Russia's Orenburg Oblast. Operated by the Soviet Air Defence Forces and later by the Russian Air Force, it hosted fighter interceptor squadrons and hosts an ICBM base (which has been adapted for commercial satellite launches) with a supporting helicopter base.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_5_20200803142425.jpg",
        "timezone_name": "Asia/Yekaterinburg",
        "total_launch_count": 10,
        "total_landing_count": 0
    },
    "country_code": "RUS",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_44_20200803143327.jpg",
    "total_launch_count": 0,
    "orbital_launch_attempt_count": 0
}