API endpoint that allows a flight of a specific Spacecraft instances to be viewed.

GET:
Return a list of all the existing Spacecraft flights.

FILTERS:
Parameters - 'spacecraft'
Example - /api/2.0.0/launcher/?spacecraft=37

GET /2.0.0/spacecraft/flight/826/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 826,
    "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/826/?format=api",
    "mission_end": "2024-04-30T05:38:00Z",
    "destination": "International Space Station",
    "launch_crew": [],
    "onboard_crew": [],
    "landing_crew": [],
    "spacecraft": {
        "id": 474,
        "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/474/?format=api",
        "name": "Cargo Dragon C209",
        "serial_number": "C209",
        "status": {
            "id": 1,
            "name": "Active"
        },
        "description": "Second Cargo Dragon 2",
        "spacecraft_config": {
            "id": 7,
            "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/7/?format=api",
            "name": "Cargo Dragon 2",
            "type": {
                "id": 2,
                "name": "Capsule"
            },
            "agency": {
                "id": 121,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                "name": "SpaceX",
                "featured": true,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "SpX",
                "description": "Space Exploration Technologies Corp., known as SpaceX, is an American aerospace manufacturer and space transport services company headquartered in Hawthorne, California. It was founded in 2002 by entrepreneur Elon Musk with the goal of reducing space transportation costs and enabling the colonization of Mars. SpaceX operates from many pads, on the East Coast of the US they operate from SLC-40 at Cape Canaveral Space Force Station and historic LC-39A at Kennedy Space Center. They also operate from SLC-4E at Vandenberg Space Force Base, California, usually for polar launches. Another launch site is being developed at Boca Chica, Texas.",
                "administrator": "CEO: Elon Musk",
                "founding_year": "2002",
                "launchers": "Falcon | Starship",
                "spacecraft": "Dragon",
                "parent": null,
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/spacex_image_20190207032501.jpeg"
            },
            "in_use": true,
            "capability": "Cargo Earth Orbit Logistics",
            "history": "Cargo Dragon 2 is an updated version of the original Dragon spaceship designed to service the International Space Station with first flights conducted in 2020.\r\n\r\nIn contrast to Dragon 1 it docks to the International Space Station instead of being berthed by the Canada Arm.",
            "details": "Cargo Dragon 2 is a autonomous spaceship capable of bringing science to and from the International Space Station with large pressurized and un-pressurized sections to support a variety of missions.",
            "maiden_flight": "2020-12-06",
            "height": 7.2,
            "diameter": 3.7,
            "human_rated": false,
            "crew_capacity": null,
            "payload_capacity": 6000,
            "flight_life": "Able to fly for up to one week of free flight or two years docked.",
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/crs-28_dragon_d_image_20230530191602.jpeg",
            "nation_url": null,
            "wiki_link": "https://en.wikipedia.org/wiki/Dragon_2",
            "info_link": "https://www.spacex.com/dragon"
        }
    },
    "launch": {
        "id": "604e4aa8-73f8-4f1c-bf4c-5a130625cac7",
        "url": "https://ll.thespacedevs.com/2.0.0/launch/604e4aa8-73f8-4f1c-bf4c-5a130625cac7/?format=api",
        "launch_library_id": null,
        "slug": "falcon-9-block-5-dragon-crs-2-spx-30",
        "name": "Falcon 9 Block 5 | Dragon CRS-2 SpX-30",
        "status": {
            "id": 3,
            "name": "Success"
        },
        "net": "2024-03-21T20:55:09Z",
        "window_end": "2024-03-21T20:55:09Z",
        "window_start": "2024-03-21T20:55:09Z",
        "inhold": false,
        "tbdtime": false,
        "tbddate": false,
        "probability": 90,
        "holdreason": "",
        "failreason": "",
        "hashtag": null,
        "launch_service_provider": {
            "id": 121,
            "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
            "name": "SpaceX",
            "type": "Commercial"
        },
        "rocket": {
            "id": 7743,
            "configuration": {
                "id": 164,
                "launch_library_id": 188,
                "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/164/?format=api",
                "name": "Falcon 9",
                "family": "Falcon",
                "full_name": "Falcon 9 Block 5",
                "variant": "Block 5"
            }
        },
        "mission": {
            "id": 6261,
            "launch_library_id": null,
            "name": "Dragon CRS-2 SpX-30",
            "description": "30th commercial resupply services mission to the International Space Station operated by SpaceX. The flight will be conducted under the second Commercial Resupply Services contract with NASA.\r\n\r\nCargo Dragon 2 brings supplies and payloads, including critical materials to directly support science and research investigations that occur onboard the orbiting laboratory.",
            "launch_designator": null,
            "type": "Resupply",
            "orbit": {
                "id": 8,
                "name": "Low Earth Orbit",
                "abbrev": "LEO"
            }
        },
        "pad": {
            "id": 80,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/80/?format=api",
            "agency_id": 121,
            "name": "Space Launch Complex 40",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Space_Launch_Complex_40",
            "map_url": "https://www.google.com/maps?q=28.56194122,-80.57735736",
            "latitude": "28.56194122",
            "longitude": "-80.57735736",
            "location": {
                "id": 12,
                "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
                "name": "Cape Canaveral, FL, USA",
                "country_code": "USA",
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                "total_launch_count": 950,
                "total_landing_count": 51
            },
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_80_20200803143323.jpg",
            "total_launch_count": 239
        },
        "webcast_live": false,
        "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon_9__cargo_image_20240322070818.jpeg",
        "infographic": null,
        "program": [
            {
                "id": 11,
                "url": "https://ll.thespacedevs.com/2.0.0/program/11/?format=api",
                "name": "Commercial Resupply Services",
                "description": "Commercial Resupply Services (CRS) are a series of flights awarded by NASA for the delivery of cargo and supplies to the International Space Station.The first CRS contracts were signed in 2008 and awarded $1.6 billion to SpaceX for twelve cargo Dragon and $1.9 billion to Orbital Sciences for eight Cygnus flights, covering deliveries to 2016. The Falcon 9 and Antares rockets were also developed under the CRS program to deliver cargo spacecraft to the ISS.",
                "agencies": [
                    {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                        "name": "National Aeronautics and Space Administration",
                        "type": "Government"
                    },
                    {
                        "id": 257,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/257/?format=api",
                        "name": "Northrop Grumman Space Systems",
                        "type": "Commercial"
                    },
                    {
                        "id": 1020,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/1020/?format=api",
                        "name": "Sierra Nevada Corporation",
                        "type": "Commercial"
                    },
                    {
                        "id": 121,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                        "name": "SpaceX",
                        "type": "Commercial"
                    }
                ],
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/commercial2520_program_20201129212219.png",
                "start_date": "2008-12-23T00:00:00Z",
                "end_date": null,
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Commercial_Resupply_Services#Commercial_Resupply_Services"
            },
            {
                "id": 17,
                "url": "https://ll.thespacedevs.com/2.0.0/program/17/?format=api",
                "name": "International Space Station",
                "description": "The International Space Station programme is tied together by a complex set of legal, political and financial agreements between the sixteen nations involved in the project, governing ownership of the various components, rights to crewing and utilization, and responsibilities for crew rotation and resupply of the International Space Station. It was conceived in 1984 by President Ronald Reagan, during the Space Station Freedom project as it was originally called.",
                "agencies": [
                    {
                        "id": 16,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/16/?format=api",
                        "name": "Canadian Space Agency",
                        "type": "Government"
                    },
                    {
                        "id": 27,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/27/?format=api",
                        "name": "European Space Agency",
                        "type": "Multinational"
                    },
                    {
                        "id": 37,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/37/?format=api",
                        "name": "Japan Aerospace Exploration Agency",
                        "type": "Government"
                    },
                    {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/44/?format=api",
                        "name": "National Aeronautics and Space Administration",
                        "type": "Government"
                    },
                    {
                        "id": 63,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/63/?format=api",
                        "name": "Russian Federal Space Agency (ROSCOSMOS)",
                        "type": "Government"
                    }
                ],
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/international2_program_20201129184745.png",
                "start_date": "1998-11-20T06:40:00Z",
                "end_date": null,
                "info_url": "https://www.nasa.gov/mission_pages/station/main/index.html",
                "wiki_url": "https://en.wikipedia.org/wiki/International_Space_Station_programme"
            }
        ]
    },
    "docking_events": [
        {
            "spacestation": {
                "id": 4,
                "url": "https://ll.thespacedevs.com/2.0.0/spacestation/4/?format=api",
                "name": "International Space Station",
                "status": {
                    "id": 1,
                    "name": "Active"
                },
                "founded": "1998-11-20",
                "description": "The International Space Station (ISS) is a space station, or a habitable artificial satellite, in low Earth orbit. Its first component was launched into orbit in 1998, with the first long-term residents arriving in November 2000. It has been inhabited continuously since that date. The last pressurised module was fitted in 2011, and an experimental inflatable space habitat was added in 2016. The station is expected to operate until 2030. Development and assembly of the station continues, with several new elements scheduled for launch in 2019. The ISS is the largest human-made body in low Earth orbit and can often be seen with the naked eye from Earth. The ISS consists of pressurised habitation modules, structural trusses, solar arrays, radiators, docking ports, experiment bays and robotic arms. ISS components have been launched by Russian Proton and Soyuz rockets, and American Space Shuttles.",
                "orbit": "Low Earth Orbit",
                "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/international2520space2520station_image_20190220215716.jpeg"
            },
            "docking": "2024-03-23T11:19:00Z",
            "departure": "2024-04-28T17:10:00Z",
            "docking_location": {
                "id": 30,
                "name": "Harmony zenith"
            }
        }
    ]
}