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

{
    "id": 203,
    "url": "https://ll.thespacedevs.com/2.0.0/pad/203/?format=api",
    "agency_id": 121,
    "name": "Launch Complex 39A Starship Pad",
    "info_url": null,
    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39A",
    "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
    "latitude": "28.60822681",
    "longitude": "-80.60428186",
    "location": {
        "id": 27,
        "url": "https://ll.thespacedevs.com/2.0.0/location/27/?format=api",
        "name": "Kennedy Space Center, FL, USA",
        "country_code": "USA",
        "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_27_20200803142447.jpg",
        "total_launch_count": 264,
        "total_landing_count": 0
    },
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_39a_20220818090654.jpg",
    "total_launch_count": 0
}