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

{
    "id": 100,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/100/?format=api",
    "agency_id": null,
    "name": "Mayak-2",
    "info_url": null,
    "wiki_url": null,
    "map_url": "https://www.google.com/maps?q=48.569551,46.295814",
    "latitude": "48.569551",
    "longitude": "46.295814",
    "location": {
        "id": 30,
        "url": "https://ll.thespacedevs.com/2.0.0/location/30/?format=api",
        "name": "Kapustin Yar, Russian Federation",
        "country_code": "RUS",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_30_20200803142515.jpg",
        "total_launch_count": 101,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_100_20200803143212.jpg",
    "total_launch_count": 24
}