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

{
    "id": 114,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/114/?format=api",
    "agency_id": null,
    "name": "Launch Pad 3B",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Pacific_Spaceport_Complex_%E2%80%93_Alaska",
    "map_url": "https://www.google.com/maps?q=57.430673,-152.353077",
    "latitude": "57.430673",
    "longitude": "-152.353077",
    "location": {
        "id": 25,
        "url": "https://ll.thespacedevs.com/2.0.0/location/25/?format=api",
        "name": "Pacific Spaceport Complex, Alaska, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_25_20200803142500.jpg",
        "total_launch_count": 9,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_114_20200803145248.jpg",
    "total_launch_count": 5
}