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

{
    "id": 5,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/5/?format=api",
    "name": "Mercury No.18",
    "serial_number": "18",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "PT4H55M44S",
    "time_docked": "P0D",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Mercury No.18 is the Mercury capsule used for the Mercury-Atlas 7  - callsign \"Aurora 7\" - mission launched on May 24, 1962 and piloted by astronaut Scott Carpenter.",
    "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": 3,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/3/?format=api",
            "destination": "Low Earth Orbit",
            "mission_end": "1962-05-24T17:41:00Z",
            "spacecraft": {
                "id": 5,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/5/?format=api",
                "name": "Mercury No.18",
                "serial_number": "18",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "PT4H55M44S",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Mercury No.18 is the Mercury capsule used for the Mercury-Atlas 7  - callsign \"Aurora 7\" - mission launched on May 24, 1962 and piloted by astronaut Scott Carpenter.",
                "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": "bb844564-1ae0-4af2-b2a1-f3a28195ea0f",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/bb844564-1ae0-4af2-b2a1-f3a28195ea0f/?format=api",
                "slug": "atlas-lv-3b-mercury-atlas-7",
                "name": "Atlas LV-3B | Mercury-Atlas 7",
                "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:42:42Z",
                "net": "1962-05-24T12:45:16Z",
                "window_end": "1962-05-24T12:45:16Z",
                "window_start": "1962-05-24T12:45:16Z",
                "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": 192,
                    "configuration": {
                        "id": 162,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/162/?format=api",
                        "name": "Atlas LV-3B",
                        "family": "Atlas",
                        "full_name": "Atlas LV-3B",
                        "variant": "LV-3B"
                    }
                },
                "mission": {
                    "id": 170,
                    "name": "Mercury-Atlas 7",
                    "description": "Mercury-Atlas 7 was the fourth crewed spaceflight for the United States. The spacecraft, named Aurora 7, carried the astronaut Scott Carpenter to orbit where it completed three orbits before returning to Earth. The mission lasted for 4 hours, 56 minutes & 5 seconds. Due to a targeting error during reentry the spacecraft splashed about 400 km off-course delaying the recovery efforts.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 17,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/17/?format=api",
                    "agency_id": 1048,
                    "name": "Space Launch Complex 14",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Air_Force_Station_Launch_Complex_14",
                    "map_url": "https://www.google.com/maps?q=28.49103,-80.54687",
                    "latitude": "28.49103",
                    "longitude": "-80.54687",
                    "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_17_20200803143405.jpg",
                    "total_launch_count": 20,
                    "orbital_launch_attempt_count": 15
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/atlas_image_20190222030015.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": 166,
                "location_launch_attempt_count": 82,
                "pad_launch_attempt_count": 11,
                "agency_launch_attempt_count": 41,
                "orbital_launch_attempt_count_year": 25,
                "location_launch_attempt_count_year": 10,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 5,
                "type": "normal"
            },
            "landing": {
                "id": 485,
                "attempt": true,
                "success": true,
                "description": "The Mercury spacecraft safely splashed down in the Carribean Sea.",
                "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)."
                }
            }
        }
    ]
}