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

{
    "id": 243,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/243/?format=api",
    "agency_id": 259,
    "name": "Launch Area 96B",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Zhuque-3",
    "map_url": "https://www.google.com/maps?q=40.92017,100.25129",
    "latitude": "40.92017",
    "longitude": "100.25129",
    "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": 266,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_area_96b_20251128220544.jpg",
    "total_launch_count": 0
}