API endpoint that allows Location instances to be viewed.

GET:
Return a list of all the existing location instances.

FILTERS:
Parameters - 'name', 'country_code', 'id'
Example - /2.0.0/location/?country_code=USA

GET /2.0.0/location/166/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 166,
    "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,
    "pads": [
        {
            "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,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_space_one_launch_pad_20240126074332.jpg",
            "total_launch_count": 1
        }
    ]
}