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

{
    "id": 211,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/211/?format=api",
    "agency_id": 1002,
    "name": "Launch Complex 1",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Taiki_Aerospace_Research_Field",
    "map_url": "https://www.google.com/maps?q=42.50000000,143.441389",
    "latitude": "42.5",
    "longitude": "143.441389",
    "location": {
        "id": 32,
        "url": "https://ll.thespacedevs.com/2.0.0/location/32/?format=api",
        "name": "Hokkaido Spaceport, Japan",
        "country_code": "JPN",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_32_20200803142407.jpg",
        "total_launch_count": 7,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_1_20230816074610.jpg",
    "total_launch_count": 0
}