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

{
    "id": 202,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/202/?format=api",
    "agency_id": 1038,
    "name": "Suborbital Launch Ramp",
    "info_url": "https://ela.space/arnhem-space-centre/",
    "wiki_url": "https://en.wikipedia.org/wiki/Arnhem_Land#Economy",
    "map_url": "https://www.google.com/maps?q=-12.3892948,136.7903215",
    "latitude": "-12.3892948",
    "longitude": "136.7903215",
    "location": {
        "id": 160,
        "url": "https://ll.thespacedevs.com/2.0.0/location/160/?format=api",
        "name": "Arnhem Space Centre",
        "country_code": "AUS",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_arnhem_space_centre_20220622160552.jpg",
        "total_launch_count": 3,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_suborbital_launch_ramp_20220625184504.jpg",
    "total_launch_count": 3
}