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/80/
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 80,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/80/",
    "agency_id": 121,
    "name": "Space Launch Complex 40",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
    "map_url": "https://www.google.com/maps?q=28.56194122,-80.57735736",
    "latitude": "28.56194122",
    "longitude": "-80.57735736",
    "location": {
        "id": 12,
        "url": "https://ll.thespacedevs.com/2.0.0/location/12/",
        "name": "Cape Canaveral SFS, FL, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_12_20200803142519.jpg",
        "total_launch_count": 999,
        "total_landing_count": 59
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_80_20200803143323.jpg",
    "total_launch_count": 284
}