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

{
    "id": 220,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/220/?format=api",
    "agency_id": null,
    "name": "Space One Launch Pad",
    "info_url": "https://www.space-one.co.jp/",
    "wiki_url": null,
    "map_url": null,
    "latitude": "33.544224",
    "longitude": "135.889502",
    "location": {
        "id": 166,
        "url": "https://ll.thespacedevs.com/2.0.0/location/166/?format=api",
        "name": "Space Port Kii, Japan",
        "country_code": "JPN",
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_space_port_kii252c_japan_20240126073749.jpg",
        "total_launch_count": 1,
        "total_landing_count": 0
    },
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_space_one_launch_pad_20240126074332.jpg",
    "total_launch_count": 1
}