API endpoint that allows Location instances to be viewed.

GET:
Return a list of all the existing location instances.

FILTERS:
Parameters - 'name', 'country_code', 'id'
Example - /2.0.0/location/?country_code=USA

GET /2.0.0/location/8/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 8,
    "name": "Wenchang Space Launch Site, People's Republic of China",
    "country_code": "CHN",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_8_20200803142445.jpg",
    "total_launch_count": 28,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 175,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/175/?format=api",
            "agency_id": null,
            "name": "101",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Spacecraft_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.614334,110.951011",
            "latitude": 19.614334,
            "longitude": 110.951011,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_175_20200803143424.jpg",
            "total_launch_count": 11
        },
        {
            "id": 218,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/218/?format=api",
            "agency_id": null,
            "name": "Commercial LC-1",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.597275,110.930753",
            "latitude": 19.597275,
            "longitude": 110.930753,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_commercial_lc-1_20231225074041.jpg",
            "total_launch_count": 0
        },
        {
            "id": 176,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/176/?format=api",
            "agency_id": null,
            "name": "201",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Spacecraft_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.618452,110.955356",
            "latitude": 19.618452,
            "longitude": 110.955356,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_176_20200803143412.jpg",
            "total_launch_count": 17
        },
        {
            "id": 219,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/219/?format=api",
            "agency_id": null,
            "name": "Commercial LC-2",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Commercial_Space_Launch_Site",
            "map_url": "https://www.google.com/maps?q=19.59755,110.936481",
            "latitude": 19.59755,
            "longitude": 110.936481,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_commercial_lc-2_20231225074048.jpg",
            "total_launch_count": 0
        },
        {
            "id": 78,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/78/?format=api",
            "agency_id": null,
            "name": "Unknown Pad",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=19.614354,110.951057",
            "latitude": 19.614354,
            "longitude": 110.951057,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_78_20200803143548.jpg",
            "total_launch_count": 0
        }
    ]
}