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

{
    "id": 247,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/247/?format=api",
    "agency_id": 88,
    "name": "Long March 12A Pad",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Long_March_12A",
    "map_url": "https://www.google.com/maps?q=40.89154,100.21739",
    "latitude": "40.89154",
    "longitude": "100.21739",
    "location": {
        "id": 17,
        "url": "https://ll.thespacedevs.com/2.0.0/location/17/?format=api",
        "name": "Jiuquan Satellite Launch Center, People's Republic of China",
        "country_code": "CHN",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_17_20200803142429.jpg",
        "total_launch_count": 271,
        "total_landing_count": 1
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_long_march_12a_pad_20251128223939.jpg",
    "total_launch_count": 0
}