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

{
    "id": 234,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/234/?format=api",
    "agency_id": 147,
    "name": "Rocket Lab Launch Complex 3 (Launch Area 0 D)",
    "info_url": null,
    "wiki_url": null,
    "map_url": "https://www.google.com/maps?q=37.8321693,-75.4899046",
    "latitude": "37.8321693",
    "longitude": "-75.4899046",
    "location": {
        "id": 21,
        "url": "https://ll.thespacedevs.com/2.0.0/location/21/?format=api",
        "name": "Wallops Flight Facility, Virginia, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
        "total_launch_count": 80,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_rocket_lab_launch_complex_3_2528launch_area_0_d2529_20241115175136.jpg",
    "total_launch_count": 0
}