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.2.0/location/?country_code=USA

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

{
    "id": 19,
    "name": "Taiyuan Satellite Launch Center, People's Republic of China",
    "country_code": "CHN",
    "description": "The Taiyuan Satellite Launch Center is a People's Republic of China space and defense launch facility. It is situated in Kelan County, Xinzhou, Shanxi Province and is the second of four launch sites having been founded in March 1966 and coming into full operation in 1968.",
    "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/location_19_20200803142421.jpg",
    "timezone_name": "Asia/Shanghai",
    "total_launch_count": 142,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 25,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/25/?format=api",
            "agency_id": null,
            "name": "Launch Complex 9",
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.863128,111.589567",
            "latitude": 38.863128,
            "longitude": 111.589567,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_25_20200803143501.jpg",
            "total_launch_count": 76
        },
        {
            "id": 60,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/60/?format=api",
            "agency_id": null,
            "name": "Unknown Pad",
            "description": null,
            "info_url": null,
            "wiki_url": "",
            "map_url": "https://www.google.com/maps?q=38.849,111.608",
            "latitude": 38.849,
            "longitude": 111.608,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_60_20200803143606.jpg",
            "total_launch_count": 0
        },
        {
            "id": 113,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/113/?format=api",
            "agency_id": null,
            "name": "Launch Complex 16",
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.868222,111.58024",
            "latitude": 38.868222,
            "longitude": 111.58024,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_113_20200803143556.jpg",
            "total_launch_count": 15
        },
        {
            "id": 158,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/158/?format=api",
            "agency_id": null,
            "name": "Mobile Launcher Pad",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Taiyuan_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=38.890002,111.608129",
            "latitude": 38.890002,
            "longitude": 111.608129,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_158_20200803143440.jpg",
            "total_launch_count": 2
        },
        {
            "id": 33,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/33/?format=api",
            "agency_id": null,
            "name": "Launch Complex 7",
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.8489311,111.6079339",
            "latitude": 38.8489311,
            "longitude": 111.6079339,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_33_20200803143335.jpg",
            "total_launch_count": 32
        },
        {
            "id": 200,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/200/?format=api",
            "agency_id": null,
            "name": "Launch Complex 9A",
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=38.8583,111.5802",
            "latitude": 38.8583,
            "longitude": 111.5802,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_launch_complex_9a_20220330003717.jpg",
            "total_launch_count": 14
        },
        {
            "id": 142,
            "url": "https://lldev.thespacedevs.com/2.2.0/pad/142/?format=api",
            "agency_id": null,
            "name": "Kaituozhe Launch Pad",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Taiyuan_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=38.835756,111.606406",
            "latitude": 38.835756,
            "longitude": 111.606406,
            "country_code": "CHN",
            "map_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/map_images/pad_142_20200803143244.jpg",
            "total_launch_count": 3
        }
    ]
}