Location Instance
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/3/?format=api
{ "id": 3, "name": "Sea Launch", "country_code": "???", "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/location_3_20200803142448.jpg", "total_launch_count": 40, "total_landing_count": 0, "pads": [ { "id": 101, "url": "https://lldev.thespacedevs.com/2.0.0/pad/101/?format=api", "agency_id": null, "name": "Unknown Pad", "info_url": null, "wiki_url": null, "map_url": "https://www.google.com/maps?q=0.0,0.0", "latitude": null, "longitude": null, "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_101_20200803143204.jpg", "total_launch_count": 0 }, { "id": 147, "url": "https://lldev.thespacedevs.com/2.0.0/pad/147/?format=api", "agency_id": null, "name": "Novomoskovsk (K-407)", "info_url": null, "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Novomoskovsk_(K-407)", "map_url": "https://www.google.com/maps?q=74.000000,38.000000", "latitude": 74.0, "longitude": 38.0, "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_147_20200803143422.jpg", "total_launch_count": 1 }, { "id": 148, "url": "https://lldev.thespacedevs.com/2.0.0/pad/148/?format=api", "agency_id": null, "name": "Borisoglebsk (K-496)", "info_url": null, "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Borisoglebsk_(K-496)", "map_url": "https://www.google.com/maps?q=74.0000,38.0000", "latitude": 74.0, "longitude": 38.0, "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_148_20200803143426.jpg", "total_launch_count": 1 }, { "id": 149, "url": "https://lldev.thespacedevs.com/2.0.0/pad/149/?format=api", "agency_id": null, "name": "Ekaterinburg (K-84)", "info_url": null, "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Ekaterinburg_(K-84)", "map_url": "https://www.google.com/maps?q=74.000000,38.0000", "latitude": 74.0, "longitude": 38.0, "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_149_20200803143409.jpg", "total_launch_count": 1 }, { "id": 13, "url": "https://lldev.thespacedevs.com/2.0.0/pad/13/?format=api", "agency_id": 80, "name": "Launch Platform Odyssey", "info_url": null, "wiki_url": "https://en.wikipedia.org/wiki/Odyssey_(launch_platform)", "map_url": "https://www.google.com/maps?q=0.0,-154", "latitude": 0.0, "longitude": -154.0, "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_13_20200803143257.jpg", "total_launch_count": 36 }, { "id": 216, "url": "https://lldev.thespacedevs.com/2.0.0/pad/216/?format=api", "agency_id": null, "name": "ADD Offshore launch platform", "info_url": null, "wiki_url": null, "map_url": null, "latitude": 33.216667, "longitude": 126.366667, "map_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/map_images/pad_add_offshore_launch_platform_20231204142359.jpg", "total_launch_count": 1 } ] }