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

{
    "id": 2,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/2/?format=api",
    "name": "Mercury No.7",
    "serial_number": "7",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "PT15M22S",
    "time_docked": "P0D",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Mercury No.7 is the Mercury capsule used for the Mercury-Redstone 3 - callsign \"Freedom 7\" - mission launched on May 5, 1961 and piloted by astronaut Alan Shepard.",
    "spacecraft_config": {
        "id": 11,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "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 upper Earth atmosphere and low Earth orbit.",
        "history": "The Mercury spacecraft was the manned capsule used for suborbital and orbital launches during the Project Mercury, the first human spaceflight program of the United States, from 1958 through 1963.",
        "details": "The Mercury spacecraft's principal designer was Maxime Faget, who started research for manned spaceflight during the time of the NACA. With 100 cubic feet (2.8 m3) of habitable volume, the capsule was just large enough for a single crew member. Inside were 120 controls: 55 electrical switches, 30 fuses and 35 mechanical levers. The heaviest spacecraft, Mercury-Atlas 9, weighed 3,000 pounds (1,400 kg) fully loaded. Its outer skin was made of René 41, a nickel alloy able to withstand high temperatures.",
        "maiden_flight": "1961-05-05",
        "height": 3.3,
        "diameter": 1.8,
        "human_rated": true,
        "crew_capacity": 1,
        "payload_capacity": null,
        "payload_return_capacity": null,
        "flight_life": "Between 15 minutes and 3 days.",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Project_Mercury#Spacecraft",
        "info_link": ""
    },
    "flights": [
        {
            "id": 200,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/200/?format=api",
            "destination": "Suborbital",
            "mission_end": "1961-05-05T14:49:35Z",
            "spacecraft": {
                "id": 2,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/2/?format=api",
                "name": "Mercury No.7",
                "serial_number": "7",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "PT15M22S",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.7 is the Mercury capsule used for the Mercury-Redstone 3 - callsign \"Freedom 7\" - mission launched on May 5, 1961 and piloted by astronaut Alan Shepard.",
                "spacecraft_config": {
                    "id": 11,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
                    "name": "Mercury",
                    "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/mercury_image_20190207032519.jpeg"
                }
            },
            "launch": {
                "id": "9fe0c6ce-7858-4915-b4e3-7c93f8e56177",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/9fe0c6ce-7858-4915-b4e3-7c93f8e56177/?format=api",
                "slug": "redstone-mrlv-mercury-redstone-3",
                "name": "Redstone MRLV | Mercury-Redstone 3",
                "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-07-08T08:58:07Z",
                "net": "1961-05-05T14:34:13Z",
                "window_end": "1961-05-05T14:34:13Z",
                "window_start": "1961-05-05T14:34:13Z",
                "net_precision": null,
                "probability": -1,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "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": 2174,
                    "configuration": {
                        "id": 107,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/107/?format=api",
                        "name": "Redstone",
                        "family": "Redstone",
                        "full_name": "Redstone MRLV",
                        "variant": "MRLV"
                    }
                },
                "mission": {
                    "id": 940,
                    "name": "Mercury-Redstone 3",
                    "description": "Mercury-Redstone 3, or Freedom 7, was the first United States human spaceflight, on May 5, 1961, piloted by astronaut Alan Shepard. It was the first manned flight of Project Mercury, the objective of which was to put an astronaut into orbit around the Earth and return him safely. Shepard's mission was a 15-minute suborbital flight with the primary objective of demonstrating his ability to withstand the high g-forces of launch and atmospheric re-entry.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 15,
                        "name": "Suborbital",
                        "abbrev": "Sub"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 123,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/123/?format=api",
                    "agency_id": 161,
                    "name": "Launch Complex 5",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Launch_Complex_5",
                    "map_url": "https://www.google.com/maps?q=28.43942,-80.573301",
                    "latitude": "28.43942",
                    "longitude": "-80.573301",
                    "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": 951,
                        "total_landing_count": 51
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_123_20200803143235.jpg",
                    "total_launch_count": 13,
                    "orbital_launch_attempt_count": 7
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/redstone_image_20190207032627.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 2,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/2/?format=api",
                        "name": "Mercury",
                        "description": "Project Mercury was the first human spaceflight program of the United States, running from 1958 through 1963.",
                        "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/project2520mer_program_20200820194755.png",
                        "start_date": "1958-10-07T00:00:00Z",
                        "end_date": "1963-05-16T23:24:02Z",
                        "info_url": "https://www.nasa.gov/mission_pages/mercury/missions/program-toc.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Project_Mercury",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": null,
                "location_launch_attempt_count": 59,
                "pad_launch_attempt_count": 12,
                "agency_launch_attempt_count": 28,
                "orbital_launch_attempt_count_year": 0,
                "location_launch_attempt_count_year": 9,
                "pad_launch_attempt_count_year": 3,
                "agency_launch_attempt_count_year": 9,
                "type": "normal"
            },
            "landing": {
                "id": 493,
                "attempt": true,
                "success": true,
                "description": "The Mercury 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)."
                }
            }
        }
    ]
}