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

{
    "id": 107,
    "url": "https://ll.thespacedevs.com/2.2.0/pad/107/?format=api",
    "agency_id": null,
    "name": "Omelek Island",
    "description": null,
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Omelek_Island",
    "map_url": "https://www.google.com/maps?q=9.047861,167.743",
    "latitude": "9.047861",
    "longitude": "167.743",
    "location": {
        "id": 142,
        "url": "https://ll.thespacedevs.com/2.2.0/location/142/?format=api",
        "name": "Ronald Reagan Ballistic Missile Defense Test Site, Kwajalein Atoll, Marshall Islands",
        "country_code": "MHL",
        "description": "The Ronald Reagan Ballistic Missile Defense Test Site is a missile test range in Marshall Islands. It covers about 750,000 square miles (1,900,000 km2) and includes rocket launch sites at the Kwajalein Atoll (on multiple islands), Wake Island, and Aur Atoll. It primarily functions as a test facility for U.S. missile defense and space research programs.",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_142_20200803142511.jpg",
        "timezone_name": "Pacific/Tarawa",
        "total_launch_count": 5,
        "total_landing_count": 0
    },
    "country_code": "MHL",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_107_20200803143450.jpg",
    "total_launch_count": 5,
    "orbital_launch_attempt_count": 5
}