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

{
    "id": 88,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/88/?format=api",
    "agency_id": 34,
    "name": "Imam Khomeini Spaceport",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Imam_Khomeini_Spaceport",
    "map_url": "https://www.google.com/maps?q=35.237005,53.9505",
    "latitude": "35.237005",
    "longitude": "53.9505",
    "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_88_20200803143310.jpg",
    "total_launch_count": 7
}