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

{
    "id": 105,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/105/?format=api",
    "agency_id": 1001,
    "name": "Vertical Launch Area",
    "description": null,
    "info_url": null,
    "wiki_url": null,
    "map_url": "https://www.google.com/maps?q=32.9901856,-106.9750602",
    "latitude": "32.9901856",
    "longitude": "-106.9750602",
    "location": {
        "id": 31,
        "url": "https://ll.thespacedevs.com/2.2.0/location/31/?format=api",
        "name": "Spaceport America, NM, USA",
        "country_code": "USA",
        "description": "Spaceport America is an FAA-licensed spaceport located in the Jornada del Muerto desert basin north of Las Cruces, New Mexico, and southeast of Truth or Consequences. With Virgin Galactic's launch of the VSS Unity, with three people aboard, on May 22, 2021, New Mexico became the third US state to launch humans into space after California and Florida.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_31_20200803142505.jpg",
        "timezone_name": "America/Denver",
        "total_launch_count": 4,
        "total_landing_count": 4
    },
    "country_code": "USA",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_105_20200803143432.jpg",
    "total_launch_count": 4,
    "orbital_launch_attempt_count": 0
}