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

{
    "id": 195,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/195/?format=api",
    "agency_id": 44,
    "name": "Launch Area 1",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Wallops_Flight_Facility",
    "map_url": "https://www.google.com/maps?q=37.938611,-75.457222",
    "latitude": "37.938611",
    "longitude": "-75.457222",
    "location": {
        "id": 21,
        "url": "https://ll.thespacedevs.com/2.0.0/location/21/?format=api",
        "name": "Wallops Flight Facility, Virginia, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_21_20200803142423.jpg",
        "total_launch_count": 80,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_area_1_20210901085625.jpg",
    "total_launch_count": 7
}