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

{
    "id": 94,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/94/?format=api",
    "name": "Apollo CSM-117",
    "serial_number": "CSM-117",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P59DT11H9M1S",
    "time_docked": "P58DT15H39M42S",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "CSM-117 was an Apollo Command & Service Module used in the Skylab 3 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": 203,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/203/?format=api",
            "destination": "Skylab",
            "mission_end": "1973-09-25T22:19:51Z",
            "spacecraft": {
                "id": 94,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/94/?format=api",
                "name": "Apollo CSM-117",
                "serial_number": "CSM-117",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P59DT11H9M1S",
                "time_docked": "P58DT15H39M42S",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "CSM-117 was an Apollo Command & Service Module used in the Skylab 3 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": "757d0fba-575b-43cb-b6de-b143758f66ec",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/757d0fba-575b-43cb-b6de-b143758f66ec/?format=api",
                "slug": "saturn-ib-skylab-3",
                "name": "Saturn IB | Skylab 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-06-14T08:44:52Z",
                "net": "1973-07-28T11:10:50Z",
                "window_end": "1973-07-28T11:10:50Z",
                "window_start": "1973-07-28T11:10:50Z",
                "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": 239,
                    "configuration": {
                        "id": 163,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/163/?format=api",
                        "name": "Saturn IB",
                        "family": "Saturn",
                        "full_name": "Saturn IB",
                        "variant": "IB"
                    }
                },
                "mission": {
                    "id": 276,
                    "name": "Skylab 3",
                    "description": "Skylab 3 (also known as SL-3 or SLM-2) was the second crewed mission to the first US orbital space station Skylab. The mission began on July 28, 1973, 11:10:50 UTC with the launch of a three-person crew. Crew members were the Commander Alan L. Bean, Science Pilot Owen K. Garriott and Pilot Jack R. Lousma. During their 59-day stay on the station, crew continued station repairs and conducted various scientific and medical experiments. The mission ended successfully with the splashdown in the Pacific Ocean on September 25, 1973, 22:19:51 UTC.",
                    "launch_designator": null,
                    "type": "Human Exploration",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    },
                    "agencies": [],
                    "info_urls": [],
                    "vid_urls": []
                },
                "pad": {
                    "id": 4,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/4/?format=api",
                    "agency_id": 44,
                    "name": "Launch Complex 39B",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39B",
                    "map_url": "https://www.google.com/maps?q=28.62711233,-80.62101503",
                    "latitude": "28.62711233",
                    "longitude": "-80.62101503",
                    "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_4_20200803143518.jpg",
                    "total_launch_count": 58,
                    "orbital_launch_attempt_count": 57
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/saturn2520ib_image_20190222030046.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 13,
                        "url": "https://ll.thespacedevs.com/2.2.0/program/13/?format=api",
                        "name": "Skylab",
                        "description": "Skylab was the first United States space station, launched by NASA, occupied for about 24 weeks between May 1973 and February 1974. It was operated by three separate three-astronaut crews: SL-2, SL-3 and SL-4. Major operations included an orbital workshop, a solar observatory, Earth observation, and hundreds of experiments.",
                        "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/skylab_program_20240305184407.png",
                        "start_date": "1973-05-14T17:30:00Z",
                        "end_date": "1979-07-11T16:37:00Z",
                        "info_url": "https://www.nasa.gov/mission_pages/skylab/",
                        "wiki_url": "https://en.wikipedia.org/wiki/Skylab",
                        "mission_patches": [],
                        "type": {
                            "id": 2,
                            "name": "Human Spaceflight"
                        }
                    }
                ],
                "orbital_launch_attempt_count": 1469,
                "location_launch_attempt_count": 15,
                "pad_launch_attempt_count": 3,
                "agency_launch_attempt_count": 117,
                "orbital_launch_attempt_count_year": 56,
                "location_launch_attempt_count_year": 3,
                "pad_launch_attempt_count_year": 2,
                "agency_launch_attempt_count_year": 3,
                "type": "normal"
            },
            "landing": {
                "id": 380,
                "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)."
                }
            }
        }
    ]
}