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

{
    "id": 1,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/1/?format=api",
    "name": "Apollo Columbia CSM-107",
    "serial_number": "CSM-107",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P8DT3H18M",
    "time_docked": "P0D",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "CSM-107 \"Columbia\" was an Apollo Command & Service Module used in the Apollo 11 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": null,
            "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/logo/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": 1,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/1/?format=api",
            "destination": "Lunar Orbit where the LM would detach and perform the first human moon landing.",
            "mission_end": "1969-07-24T16:50:00Z",
            "spacecraft": {
                "id": 1,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/1/?format=api",
                "name": "Apollo Columbia CSM-107",
                "serial_number": "CSM-107",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P8DT3H18M",
                "time_docked": "P0D",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-107 \"Columbia\" was an Apollo Command & Service Module used in the Apollo 11 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": null
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
                }
            },
            "launch": {
                "id": "aed29ce0-d4e3-4177-b286-d186c7b21354",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/aed29ce0-d4e3-4177-b286-d186c7b21354/?format=api",
                "slug": "saturn-v-apollo-11",
                "name": "Saturn V | Apollo 11",
                "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:04Z",
                "net": "1969-07-16T13:32:00Z",
                "window_end": "1969-07-16T13:32:00Z",
                "window_start": "1969-07-16T13:32: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": 222,
                    "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": 155,
                    "name": "Apollo 11",
                    "description": "Apollo 11 was commanded by Neil Armstrong , Command Module Pilot Michael Collins and Lunar Module Pilot Edwin \"Buzz\" E. Aldrin. The Mission was to complete the goal that President John F. Kennedy set on May 25, 1961 to land a man on the moon and return the crew back to Earth. On July 20,1969 Neil Armstrong and Buzz Aldrin landed there Lunar Module on the sea of tranquility this marked the first time a human has set foot upon another celestial body.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 11,
                        "name": "Lunar Orbit",
                        "abbrev": "LO"
                    },
                    "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": 236,
                        "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": 178,
                    "orbital_launch_attempt_count": 177
                },
                "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": 987,
                "location_launch_attempt_count": 6,
                "pad_launch_attempt_count": 5,
                "agency_launch_attempt_count": 100,
                "orbital_launch_attempt_count_year": 69,
                "location_launch_attempt_count_year": 3,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 3,
                "type": "normal"
            },
            "landing": {
                "id": 369,
                "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)."
                }
            }
        }
    ]
}