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/19/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 19,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/19/?format=api",
    "name": "Gemini SC9",
    "serial_number": "9",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P3DT20M27S",
    "time_docked": "P0D",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Gemini SC9 is the Gemini capsule used for the Gemini 9 mission launched on June 3, 1966 and crewed by astronauts James A. Lovell, Jr. (command pilot) and Edwin E. Aldrin, Jr. (pilot).",
    "spacecraft_config": {
        "id": 12,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/12/?format=api",
        "name": "Gemini",
        "type": {
            "id": 2,
            "name": "Capsule"
        },
        "agency": {
            "id": 44,
            "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
            "name": "National Aeronautics and Space Administration",
            "featured": true,
            "type": "Government",
            "country_code": "USA",
            "abbrev": "NASA",
            "description": "The National Aeronautics and Space Administration is an independent agency of the executive branch of the United States federal government responsible for the civilian space program, as well as aeronautics and aerospace research. NASA have many launch facilities but most are inactive. The most commonly used pad will be LC-39B at Kennedy Space Center in Florida.",
            "administrator": "Administrator: Bill Nelson",
            "founding_year": "1958",
            "launchers": "Space Shuttle | SLS",
            "spacecraft": "Orion",
            "parent": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_image_20190207032448.jpeg",
            "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/national2520aeronautics2520and2520space2520administration_logo_20190207032448.png"
        },
        "in_use": false,
        "capability": "Human transportation to low Earth orbit.",
        "history": "The Gemini crew capsule (referred to as the Reentry Module) was essentially an enlarged version of the Mercury capsule. Unlike Mercury, the retrorockets, electrical power, propulsion systems, oxygen, and water were located in a detachable Adapter Module behind the Reentry Module. A major design improvement in Gemini was to locate all internal spacecraft systems in modular components, which could be independently tested and replaced when necessary, without removing or disturbing other already tested components.",
        "details": "The spacecraft was 18 feet 5 inches (5.61 m) long and 10 feet (3.0 m) wide, with a launch weight varying from 7,100 to 8,350 pounds (3,220 to 3,790 kg).",
        "maiden_flight": "1964-04-08",
        "height": 5.61,
        "diameter": 3.0,
        "human_rated": true,
        "crew_capacity": 2,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "Between a few hours and multiple days (14 day is the maximum achieved).",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/gemini_image_20190207032517.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Project_Gemini#Spacecraft",
        "info_link": ""
    },
    "flights": [
        {
            "id": 17,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/17/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1966-06-06T14:00:00Z",
            "spacecraft": {
                "id": 19,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/19/?format=api",
                "name": "Gemini SC9",
                "serial_number": "9",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P3DT20M27S",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Gemini SC9 is the Gemini capsule used for the Gemini 9 mission launched on June 3, 1966 and crewed by astronauts James A. Lovell, Jr. (command pilot) and Edwin E. Aldrin, Jr. (pilot).",
                "spacecraft_config": {
                    "id": 12,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/12/?format=api",
                    "name": "Gemini",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 44,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                        "name": "National Aeronautics and Space Administration",
                        "type": "Government"
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/gemini_image_20190207032517.jpeg"
                }
            },
            "launch": {
                "id": "481a154b-2ae1-4af2-afce-2ba5bfe26dfe",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/481a154b-2ae1-4af2-afce-2ba5bfe26dfe/?format=api",
                "slug": "titan-ii-glv-gemini-ix-a",
                "name": "Titan II GLV | Gemini IX-A",
                "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-14T17:40:10Z",
                "net": "1966-06-03T13:39:33Z",
                "window_end": "1966-06-03T13:39:33Z",
                "window_start": "1966-06-03T13:39:33Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": null,
                "hashtag": null,
                "launch_service_provider": {
                    "id": 44,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                    "name": "National Aeronautics and Space Administration",
                    "type": "Government"
                },
                "rocket": {
                    "id": 207,
                    "configuration": {
                        "id": 98,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/98/?format=api",
                        "name": "Titan II",
                        "family": "Titan",
                        "full_name": "Titan II GLV",
                        "variant": "GLV"
                    }
                },
                "mission": {
                    "id": 257,
                    "name": "Gemini IX-A (Gemini 9A)",
                    "description": "Gemini 9A was the seventh crewed mission of the NASA's Project Gemini. The mission was commanded by Command Pilot Thomas P. Stafford and Pilot Eugene Cernan. The astronauts rendezvoused with the Augmented Docking Target Adapter, but were unable to dock due to docking target's fairing which failed to deploy. The mission started on June 3, 1966, 13:39:33 UTC and ended on June 6, 1966, 14:00:23 UTC.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 18,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/18/?format=api",
                    "agency_id": null,
                    "name": "Launch Complex 19",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_19",
                    "map_url": "https://www.google.com/maps?q=28.506898,-80.554169",
                    "latitude": "28.506898",
                    "longitude": "-80.554169",
                    "location": {
                        "id": 12,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/12/?format=api",
                        "name": "Cape Canaveral, FL, USA",
                        "country_code": "USA",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 953,
                        "total_landing_count": 51
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_18_20200803143356.jpg",
                    "total_launch_count": 12,
                    "orbital_launch_attempt_count": 11
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/titan2520ii_image_20190222030027.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 3,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/3/?format=api",
                        "name": "Gemini",
                        "description": "Project Gemini was NASA's second human spaceflight program. Conducted between projects Mercury and Apollo, Gemini started in 1961 and concluded in 1966.",
                        "agencies": [
                            {
                                "id": 44,
                                "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
                                "name": "National Aeronautics and Space Administration",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/project2520gem_program_20200820195350.png",
                        "start_date": "1961-12-07T00:00:00Z",
                        "end_date": "1966-11-15T19:21:04Z",
                        "info_url": "https://www.nasa.gov/mission_pages/gemini/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Project_Gemini",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 570,
                "location_launch_attempt_count": 171,
                "pad_launch_attempt_count": 9,
                "agency_launch_attempt_count": 80,
                "orbital_launch_attempt_count_year": 54,
                "location_launch_attempt_count_year": 12,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 6,
                "type": "normal"
            },
            "landing": {
                "id": 466,
                "attempt": true,
                "success": true,
                "description": "The Gemini spacecraft safely splashed down in the Atlantic Ocean.",
                "downrange_distance": null,
                "location": {
                    "id": 6,
                    "name": "Atlantic Ocean",
                    "abbrev": "ATL",
                    "description": "Atlantic Ocean",
                    "location": null,
                    "successful_landings": 0
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}