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

{
    "id": 16,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/16/?format=api",
    "agency_id": null,
    "name": "Space Launch Complex 4E",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Vandenberg_Space_Launch_Complex_4#SLC-4E",
    "map_url": "https://www.google.com/maps?q=34.632,-120.611",
    "latitude": "34.632",
    "longitude": "-120.611",
    "location": {
        "id": 11,
        "url": "https://ll.thespacedevs.com/2.0.0/location/11/?format=api",
        "name": "Vandenberg SFB, CA, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_11_20200803142416.jpg",
        "total_launch_count": 804,
        "total_landing_count": 26
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_16_20200803143532.jpg",
    "total_launch_count": 190
}