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

{
    "id": 217,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/217/?format=api",
    "agency_id": null,
    "name": "Bo Run Jiu Zhou mobile launch platform",
    "info_url": null,
    "wiki_url": null,
    "map_url": "https://www.google.com/maps?q=21.283333,112.0",
    "latitude": "21.283333",
    "longitude": "112.0",
    "location": {
        "id": 3,
        "url": "https://ll.thespacedevs.com/2.0.0/location/3/?format=api",
        "name": "Sea Launch",
        "country_code": "???",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg",
        "total_launch_count": 55,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_bo_run_jiu_zhou_mobile_launch_platform_20231206001303.jpg",
    "total_launch_count": 3
}