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

{
    "id": 58,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/58/?format=api",
    "agency_id": null,
    "name": "Safir Launch Pad",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Semnan_Space_Center#Circular_launch_platform",
    "map_url": "https://www.google.com/maps?q=35.23462,53.920936",
    "latitude": "35.23462",
    "longitude": "53.920936",
    "location": {
        "id": 2,
        "url": "https://ll.thespacedevs.com/2.0.0/location/2/?format=api",
        "name": "Semnan Space Center, Islamic Republic of Iran",
        "country_code": "IRN",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_2_20200803142458.jpg",
        "total_launch_count": 15,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_58_20200803143301.jpg",
    "total_launch_count": 8
}