API endpoint that allows Location instances to be viewed.

GET: Return a list of all the existing location instances.

FILTERS: Parameters - 'name', 'location' Example - /2.0.0/pad/?location=12

GET /2.0.0/pad/235/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 235,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/235/?format=api",
    "agency_id": 121,
    "name": "Orbital Launch Mount B",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/SpaceX_Starbase#Launch_site_(Orbital_Launch_Pad_A_and_B)",
    "map_url": "https://www.google.com/maps?q=25.996603,-97.158251",
    "latitude": "25.996603",
    "longitude": "-97.158251",
    "location": {
        "id": 143,
        "url": "https://ll.thespacedevs.com/2.0.0/location/143/?format=api",
        "name": "SpaceX Starbase, TX, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_143_20200803142438.jpg",
        "total_launch_count": 17,
        "total_landing_count": 13
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_orbital_launch_mount_b_20241126031254.jpg",
    "total_launch_count": 0
}