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

{
    "id": 190,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/190/?format=api",
    "agency_id": 1024,
    "name": "Mojave Air and Space Port",
    "info_url": "https://www.mojaveairport.com/",
    "wiki_url": "https://en.wikipedia.org/wiki/Mojave_Air_and_Space_Port",
    "map_url": "https://www.google.com/maps?q=35.0594444,-118.1538607",
    "latitude": "35.0594444",
    "longitude": "-118.1538607",
    "location": {
        "id": 144,
        "url": "https://ll.thespacedevs.com/2.0.0/location/144/?format=api",
        "name": "Air launch to Suborbital flight",
        "country_code": "???",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_144_20200803142439.jpg",
        "total_launch_count": 86,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_190_20210522160913.jpg",
    "total_launch_count": 53
}