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

{
    "id": 115,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/115/?format=api",
    "agency_id": null,
    "name": "Launch Platform",
    "description": null,
    "info_url": null,
    "wiki_url": null,
    "map_url": "https://www.google.com/maps?q=36.200595,55.333939",
    "latitude": "36.200595",
    "longitude": "55.333939",
    "location": {
        "id": 145,
        "url": "https://ll.thespacedevs.com/2.2.0/location/145/?format=api",
        "name": "Shahrud Missile Test Site, Islamic Republic of Iran",
        "country_code": "IRN",
        "description": "Shahroud Space Center is a Military Spaceport under control of the Islamic Revolutionary Guard Corps Aerospace Force (IRGCASF) located south-east of Shahroud Semnan Province, used to orbit military satellites for Iran's military space program.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_145_20200803142443.jpg",
        "timezone_name": "Asia/Tehran",
        "total_launch_count": 6,
        "total_landing_count": 0
    },
    "country_code": "IRN",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_115_20200803143303.jpg",
    "total_launch_count": 6,
    "orbital_launch_attempt_count": 6
}