API endpoint that allows Spacecrafts to be viewed.
A Spacecraft is a physically manufactured instance of a Spacecraft Configuration

GET:
Return a list of all the existing spacecraft.

FILTERS:
Parameters - 'name', 'status', 'spacecraft_config', 'is_placeholder', 'in_space'
Example - /2.2.0/spacecraft/?in_space=true

SEARCH EXAMPLE:
Example - /2.2.0/spacecraft/?search=Dragon

ORDERING:
Fields - 'id', 'time_in_space', 'time_docked', 'flights_count', 'mission_ends_count'
Example - /2.2.0/spacecraft/?ordering=id

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

{
    "id": 140,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/140/?format=api",
    "name": "Soyuz T-6",
    "serial_number": "Soyuz T 11F732 #9",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P7DT21H50M52S",
    "time_docked": "P6DT17H17M",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Soyuz T-6 was a Soyuz spacecraft which launched on 24 June 1982 16:29 UTC. It  transported three cosmonauts of EP-1 to Salyut 7. The crew was Vladimir Dzhanibekov,\r\nAleksandr Ivanchenkov, and Jean-Loup Chrétien.",
    "spacecraft_config": {
        "id": 42,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/42/?format=api",
        "name": "Soyuz T",
        "type": {
            "id": 2,
            "name": "Capsule"
        },
        "agency": {
            "id": 63,
            "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
            "name": "Russian Federal Space Agency (ROSCOSMOS)",
            "featured": true,
            "type": "Government",
            "country_code": "RUS",
            "abbrev": "RFSA",
            "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
            "administrator": "Administrator: Yuri Borisov",
            "founding_year": "1992",
            "launchers": "Soyuz",
            "spacecraft": "Soyuz",
            "parent": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
            "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png"
        },
        "in_use": false,
        "capability": "Manned and Cargo Salyut & Mir Logistics, Lifeboat",
        "history": "The Soyuz-T was a major upgrade over previous Soyuz spacecraft, sporting solid-state electronics for the first time and a much more advanced onboard computer to help overcome the chronic docking problems that affected cosmonauts during space station missions. In addition, solar panels returned, allowing the Soyuz-T to fly up to 11 days independently as well as a redesigned propulsion system, the KTDU-426. Finally, it could at last carry three cosmonauts with pressure suits.",
        "details": "Soyuz is a series of spacecraft designed for the Soviet space programme by the Korolyov Design Bureau (now RKK Energia) in the 1960s that remains in service today. The Soyuz succeeded the Voskhod spacecraft and was originally built as part of the Soviet Manned Lunar programme. The Soyuz spacecraft is launched on a Soyuz rocket, the most frequently used and most reliable launch vehicle in the world to date. The Soyuz rocket design is based on the Vostok launcher, which in turn was based on the 8K74 or R-7A Semyorka, a Soviet intercontinental ballistic missile. All Soyuz spacecraft are launched from the Baikonur Cosmodrome in Kazakhstan.",
        "maiden_flight": "1979-12-16",
        "height": 7.48,
        "diameter": 2.0,
        "human_rated": true,
        "crew_capacity": 3,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "120 days while docked",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_t_image_20231228134543.png",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Soyuz-T",
        "info_link": ""
    },
    "flights": [
        {
            "id": 312,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/312/?format=api",
            "destination": "Salyut 7",
            "mission_end": "1982-07-02T14:20:40Z",
            "spacecraft": {
                "id": 140,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/140/?format=api",
                "name": "Soyuz T-6",
                "serial_number": "Soyuz T 11F732 #9",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P7DT21H50M52S",
                "time_docked": "P6DT17H17M",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Soyuz T-6 was a Soyuz spacecraft which launched on 24 June 1982 16:29 UTC. It  transported three cosmonauts of EP-1 to Salyut 7. The crew was Vladimir Dzhanibekov,\r\nAleksandr Ivanchenkov, and Jean-Loup Chrétien.",
                "spacecraft_config": {
                    "id": 42,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/42/?format=api",
                    "name": "Soyuz T",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 63,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                        "name": "Russian Federal Space Agency (ROSCOSMOS)",
                        "type": "Government"
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_t_image_20231228134543.png"
                }
            },
            "launch": {
                "id": "4cf4b690-d17b-4d74-b4dc-8787940762e8",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/4cf4b690-d17b-4d74-b4dc-8787940762e8/?format=api",
                "slug": "soyuz-u-soyuz-t-6",
                "name": "Soyuz-U | Soyuz T-6",
                "status": {
                    "id": 3,
                    "name": "Launch Successful",
                    "abbrev": "Success",
                    "description": "The launch vehicle successfully inserted its payload(s) into the target orbit(s)."
                },
                "last_updated": "2023-06-14T08:40:09Z",
                "net": "1982-06-24T16:29:48Z",
                "window_end": "1982-06-24T16:29:48Z",
                "window_start": "1982-06-24T16:29:48Z",
                "net_precision": {
                    "id": 0,
                    "name": "Second",
                    "abbrev": "SEC",
                    "description": "The T-0 is accurate to the second."
                },
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 66,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                    "name": "Soviet Space Program",
                    "type": "Government"
                },
                "rocket": {
                    "id": 284,
                    "configuration": {
                        "id": 37,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/37/?format=api",
                        "name": "Soyuz U",
                        "family": "Soyuz",
                        "full_name": "Soyuz U",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 324,
                    "name": "Soyuz T-6",
                    "description": "Soyuz T-6 was the second mission to the Salyut 7 space station and the first to visit the long-duration Soyuz T-5 resident crew of the station. The mission began on June 24, 1982, 16:29:48 UTC, launching Commander Vladimir Dzhanibekov, Flight Engineer Aleksandr Ivanchenkov and Research Cosmonaut Jean-Loup Chrétien, the first French cosmonaut, into orbit. They docked with the station the next day. During their 7-day stay on the station, crew performed various scientific and medical experiments.\nThe mission concluded with a safe landing back on Earth on July 2, 1982, 14:20:40 UTC.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 32,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/32/?format=api",
                    "agency_id": null,
                    "name": "1/5",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "",
                    "map_url": "https://www.google.com/maps?q=45.92,63.342",
                    "latitude": "45.92",
                    "longitude": "63.342",
                    "location": {
                        "id": 15,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
                        "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
                        "country_code": "KAZ",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_15_20200803142517.jpg",
                        "timezone_name": "Asia/Qyzylorda",
                        "total_launch_count": 1548,
                        "total_landing_count": 0
                    },
                    "country_code": "KAZ",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_32_20200803143513.jpg",
                    "total_launch_count": 487,
                    "orbital_launch_attempt_count": 487
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz2520u_image_20190222031023.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 8,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/8/?format=api",
                        "name": "Soyuz",
                        "description": "The Soyuz programme is a human spaceflight programme initiated by the Soviet Union in the early 1960s. The Soyuz spacecraft was originally part of a Moon landing project intended to put a Soviet cosmonaut on the Moon. It was the third Soviet human spaceflight programme after the Vostok and Voskhod programmes.",
                        "agencies": [
                            {
                                "id": 63,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                                "name": "Russian Federal Space Agency (ROSCOSMOS)",
                                "type": "Government"
                            },
                            {
                                "id": 66,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                                "name": "Soviet Space Program",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz_program_20201129185543.png",
                        "start_date": "1966-11-28T11:02:00Z",
                        "end_date": null,
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Soyuz_programme",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    },
                    {
                        "id": 23,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/23/?format=api",
                        "name": "Salyut",
                        "description": "The Salyut programme was the first space station programme, undertaken by the Soviet Union. It involved a series of four crewed scientific research space stations and two crewed military reconnaissance space stations over a period of 15 years, from 1971 to 1986.",
                        "agencies": [
                            {
                                "id": 66,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                                "name": "Soviet Space Program",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/salyut_program_20230506090532.png",
                        "start_date": "1971-04-19T01:40:00Z",
                        "end_date": "1986-07-16T12:34:05Z",
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Salyut_programme",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 2573,
                "location_launch_attempt_count": 638,
                "pad_launch_attempt_count": 190,
                "agency_launch_attempt_count": 1605,
                "orbital_launch_attempt_count_year": 66,
                "location_launch_attempt_count_year": 21,
                "pad_launch_attempt_count_year": 3,
                "agency_launch_attempt_count_year": 57,
                "type": "normal"
            },
            "landing": {
                "id": 831,
                "attempt": true,
                "success": true,
                "description": "The Soyuz spacecraft safely landed in Kazakhstan.",
                "downrange_distance": null,
                "location": {
                    "id": 19,
                    "name": "Kazakhstan",
                    "abbrev": "KAZ",
                    "description": "Deserts of Kazakhstan in Central Asia",
                    "location": null,
                    "successful_landings": 0
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}