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

{
    "id": 10,
    "name": "Onenui Station, Mahia Peninsula, New Zealand",
    "country_code": "NZL",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_10_20200803142509.jpg",
    "total_launch_count": 42,
    "total_landing_count": 17,
    "pads": [
        {
            "id": 185,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/185/?format=api",
            "agency_id": 147,
            "name": "Rocket Lab Launch Complex 1B",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Rocket_Lab_Launch_Complex_1",
            "map_url": "https://www.google.com/maps?q=-39.262833,177.864469",
            "latitude": -39.262833,
            "longitude": 177.864469,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_185_20200803143540.jpg",
            "total_launch_count": 16
        },
        {
            "id": 65,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/65/?format=api",
            "agency_id": 147,
            "name": "Rocket Lab Launch Complex 1A",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Rocket_Lab_Launch_Complex_1",
            "map_url": "https://www.google.com/maps?q=-39.262833,177.864469",
            "latitude": -39.262833,
            "longitude": 177.864469,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_65_20200803143549.jpg",
            "total_launch_count": 26
        },
        {
            "id": 210,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/210/?format=api",
            "agency_id": null,
            "name": "Unknown Pad",
            "info_url": null,
            "wiki_url": null,
            "map_url": null,
            "latitude": -39.260881,
            "longitude": 177.865826,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_210_20230819165718.jpg",
            "total_launch_count": 0
        }
    ]
}