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

{
    "id": 26,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/26/?format=api",
    "name": "Apollo CSM-103",
    "serial_number": "CSM-103",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P6DT3H",
    "time_docked": "P0D",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "CSM-103 was an Apollo Command & Service Module used in the Apollo 8 mission.",
    "spacecraft_config": {
        "id": 10,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
        "name": "Apollo Command/Service Module",
        "type": {
            "id": 2,
            "name": "Capsule"
        },
        "agency": {
            "id": 999,
            "url": "https://ll.thespacedevs.com/2.2.0/agencies/999/?format=api",
            "name": "North American Aviation",
            "featured": false,
            "type": "Commercial",
            "country_code": "USA",
            "abbrev": "",
            "description": "North American Aviation (NAA) was a major American aerospace manufacturer, responsible for a number of historic aircraft, including the T-6 Texan trainer, the P-51 Mustang fighter, the B-25 Mitchell bomber, the F-86 Sabre jet fighter, the X-15 rocket plane, and the XB-70, as well as Apollo command and service module, the second stage of the Saturn V rocket, the Space Shuttle orbiter and the B-1 Lancer.",
            "administrator": null,
            "founding_year": "1928",
            "launchers": "North American X-15",
            "spacecraft": "",
            "parent": "Boeing",
            "image_url": null,
            "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/north2520american2520aviation_logo_20200711032022.png"
        },
        "in_use": false,
        "capability": "Cargo and Human Transportation to Lunar Orbit",
        "history": "The Apollo Command/Service Module (CSM) was one of two principal components of the United States Apollo spacecraft, used for the Apollo program which landed astronauts on the Moon between 1969 and 1972.",
        "details": "The Apollo Command/Service Module (CSM) was one of two principal components of the United States Apollo spacecraft, used for the Apollo program which landed astronauts on the Moon between 1969 and 1972. The CSM functioned as a mother ship which carried a crew of three astronauts and the second Apollo spacecraft, the Lunar Module, to lunar orbit, and brought the astronauts back to Earth. It consisted of two parts: the conical Command Module, a cabin that housed the crew and carried equipment needed for atmospheric reentry and splashdown; and the cylindrical Service Module which provided propulsion, electrical power and storage for various consumables required during a mission. An umbilical connection transferred power and consumables between the two modules. Just before reentry of the Command Module on the return home, the umbilical connection was severed and the Service Module was cast off and allowed to burn up in the atmosphere.",
        "maiden_flight": "1966-02-26",
        "height": 11.0,
        "diameter": 3.9,
        "human_rated": true,
        "crew_capacity": 3,
        "payload_capacity": 1050,
        "payload_return_capacity": null,
        "flight_life": "14 days",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Apollo_Command/Service_Module",
        "info_link": ""
    },
    "flights": [
        {
            "id": 26,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/26/?format=api",
            "destination": "Moon Orbit",
            "mission_end": "1968-12-27T15:51:00Z",
            "spacecraft": {
                "id": 26,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/26/?format=api",
                "name": "Apollo CSM-103",
                "serial_number": "CSM-103",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P6DT3H",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-103 was an Apollo Command & Service Module used in the Apollo 8 mission.",
                "spacecraft_config": {
                    "id": 10,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/10/?format=api",
                    "name": "Apollo Command/Service Module",
                    "type": {
                        "id": 2,
                        "name": "Capsule"
                    },
                    "agency": {
                        "id": 999,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/999/?format=api",
                        "name": "North American Aviation",
                        "type": "Commercial"
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
                }
            },
            "launch": {
                "id": "0b0366fc-a654-40e1-8c95-774b2f03c3cb",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/0b0366fc-a654-40e1-8c95-774b2f03c3cb/?format=api",
                "slug": "saturn-v-apollo-8",
                "name": "Saturn V | Apollo 8",
                "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:37:09Z",
                "net": "1968-12-21T12:51:00Z",
                "window_end": "1968-12-21T12:51:00Z",
                "window_start": "1968-12-21T12:51:00Z",
                "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": 217,
                    "configuration": {
                        "id": 93,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/93/?format=api",
                        "name": "Saturn V",
                        "family": "Saturn",
                        "full_name": "Saturn V",
                        "variant": "V"
                    }
                },
                "mission": {
                    "id": 156,
                    "name": "Apollo 8",
                    "description": "Apollo 8 was the first flight of the mighty Saturn V launch vehicle key to human exploration of the moon. The three-astronaut crew — Commander Frank Borman, Command Module Pilot James Lovell, and Lunar Module Pilot William Anders. This Mission was the first manned spacecraft to orbit the moon.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 87,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/87/?format=api",
                    "agency_id": 121,
                    "name": "Launch Complex 39A",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                    "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                    "latitude": "28.60822681",
                    "longitude": "-80.60428186",
                    "location": {
                        "id": 27,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/27/?format=api",
                        "name": "Kennedy Space Center, FL, USA",
                        "country_code": "USA",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                        "timezone_name": "America/New_York",
                        "total_launch_count": 237,
                        "total_landing_count": 0
                    },
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
                    "total_launch_count": 179,
                    "orbital_launch_attempt_count": 178
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520v_image_20190222030036.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 4,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/4/?format=api",
                        "name": "Apollo",
                        "description": "The Apollo program was the third United States human spaceflight program carried out by the National Aeronautics and Space Administration (NASA), which succeeded in landing the first humans on the Moon from 1969 to 1972.",
                        "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/apollo_program_20200820200202.png",
                        "start_date": "1966-11-16T00:00:00Z",
                        "end_date": "1972-12-19T19:24:59Z",
                        "info_url": "https://www.nasa.gov/mission_pages/apollo/index.html",
                        "wiki_url": "https://en.wikipedia.org/wiki/Apollo_program",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 917,
                "location_launch_attempt_count": 3,
                "pad_launch_attempt_count": 3,
                "agency_launch_attempt_count": 97,
                "orbital_launch_attempt_count_year": 130,
                "location_launch_attempt_count_year": 2,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 7,
                "type": "normal"
            },
            "landing": {
                "id": 377,
                "attempt": true,
                "success": true,
                "description": "The Apollo spacecraft successfully splashed down in the Pacific Ocean.",
                "downrange_distance": null,
                "location": {
                    "id": 18,
                    "name": "Pacific Ocean",
                    "abbrev": "PAC",
                    "description": "Pacific Ocean",
                    "location": null,
                    "successful_landings": 3
                },
                "type": {
                    "id": 4,
                    "name": "Parachute Landing",
                    "abbrev": "PL",
                    "description": "Unpowered landing using parachute(s)."
                }
            }
        }
    ]
}