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'
Example - /2.0.0/spacecraft/?status=Active

SEARCH EXAMPLE:
Example - /2.0.0/spacecraft/?search=Dragon

ORDERING:
Fields - 'id'
Example - /2.0.0/spacecraft/?order=id

GET /2.0.0/spacecraft/577/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 577,
    "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/577/?format=api",
    "name": "Tianzhou-7",
    "serial_number": "7",
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Seventh operational Tianzhou spacecraft",
    "spacecraft_config": {
        "id": 25,
        "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/25/?format=api",
        "name": "Tianzhou",
        "type": {
            "id": 4,
            "name": "Cargo Resupply"
        },
        "agency": {
            "id": 88,
            "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
            "name": "China Aerospace Science and Technology Corporation",
            "featured": true,
            "type": "Government",
            "country_code": "CHN",
            "abbrev": "CASC",
            "description": "The China Aerospace Science and Technology Corporation (CASC) is the main contractor for the Chinese space program. It is state-owned and has a number of subordinate entities which design, develop and manufacture a range of spacecraft, launch vehicles, strategic and tactical missile systems, and ground equipment. It was officially established in July 1999 as part of a Chinese government reform drive, having previously been one part of the former China Aerospace Corporation. Various incarnations of the program date back to 1956.",
            "administrator": "Chairman & President: Lei Fanpei",
            "founding_year": "1999",
            "launchers": "Long March",
            "spacecraft": "",
            "parent": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg"
        },
        "in_use": true,
        "capability": "Cargo Earth Orbit Logistics",
        "history": "The Tianzhou is a Chinese automated cargo spacecraft that was first launched on April 20, 2017 to resupply Tiangong-1. It demonstrated autonomous propellant transfer in orbit.",
        "details": "Autonomous cargo spacecraft used to resupply the Chinese Space Station.",
        "maiden_flight": "2017-04-20",
        "height": 9.0,
        "diameter": 3.35,
        "human_rated": false,
        "crew_capacity": null,
        "payload_capacity": 6700,
        "flight_life": "180 days in orbit",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Tianzhou_(spacecraft)",
        "info_link": ""
    },
    "flights": [
        {
            "id": 828,
            "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/flight/828/?format=api",
            "destination": "Chinese Space Station",
            "mission_end": null,
            "spacecraft": {
                "id": 577,
                "url": "https://ll.thespacedevs.com/2.0.0/spacecraft/577/?format=api",
                "name": "Tianzhou-7",
                "serial_number": "7",
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Seventh operational Tianzhou spacecraft",
                "spacecraft_config": {
                    "id": 25,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/spacecraft/25/?format=api",
                    "name": "Tianzhou",
                    "type": {
                        "id": 4,
                        "name": "Cargo Resupply"
                    },
                    "agency": {
                        "id": 88,
                        "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
                        "name": "China Aerospace Science and Technology Corporation",
                        "type": "Government"
                    },
                    "in_use": true,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg"
                }
            },
            "launch": {
                "id": "e11c7aee-b185-49d5-8596-65959d2e009b",
                "url": "https://ll.thespacedevs.com/2.0.0/launch/e11c7aee-b185-49d5-8596-65959d2e009b/?format=api",
                "launch_library_id": null,
                "slug": "long-march-7-tianzhou-7",
                "name": "Long March 7  | Tianzhou 7",
                "status": {
                    "id": 3,
                    "name": "Success"
                },
                "net": "2024-01-17T14:27:30Z",
                "window_end": "2024-01-17T14:34:00Z",
                "window_start": "2024-01-17T14:17:00Z",
                "inhold": false,
                "tbdtime": false,
                "tbddate": false,
                "probability": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": null,
                "launch_service_provider": {
                    "id": 88,
                    "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
                    "name": "China Aerospace Science and Technology Corporation",
                    "type": "Government"
                },
                "rocket": {
                    "id": 8103,
                    "configuration": {
                        "id": 100,
                        "launch_library_id": 130,
                        "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/100/?format=api",
                        "name": "Long March 7",
                        "family": "Long March",
                        "full_name": "Long March 7",
                        "variant": ""
                    }
                },
                "mission": {
                    "id": 6661,
                    "launch_library_id": null,
                    "name": "Tianzhou 7",
                    "description": "Sixth cargo delivery mission to the Chinese space station.",
                    "launch_designator": null,
                    "type": "Resupply",
                    "orbit": {
                        "id": 8,
                        "name": "Low Earth Orbit",
                        "abbrev": "LEO"
                    }
                },
                "pad": {
                    "id": 176,
                    "url": "https://ll.thespacedevs.com/2.0.0/pad/176/?format=api",
                    "agency_id": null,
                    "name": "201",
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Wenchang_Spacecraft_Launch_Site",
                    "map_url": "https://www.google.com/maps?q=19.618452,110.955356",
                    "latitude": "19.618452",
                    "longitude": "110.955356",
                    "location": {
                        "id": 8,
                        "url": "https://ll.thespacedevs.com/2.0.0/location/8/?format=api",
                        "name": "Wenchang Space Launch Site, People's Republic of China",
                        "country_code": "CHN",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_8_20200803142445.jpg",
                        "total_launch_count": 29,
                        "total_landing_count": 0
                    },
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_176_20200803143412.jpg",
                    "total_launch_count": 17
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/long2520march_image_20240117193513.jpeg",
                "infographic": null,
                "program": [
                    {
                        "id": 19,
                        "url": "https://ll.thespacedevs.com/2.0.0/program/19/?format=api",
                        "name": "Tiangong space station",
                        "description": "The Tiangong space station is a space station placed in Low Earth orbit between 340 and 450 km above the surface.",
                        "agencies": [
                            {
                                "id": 88,
                                "url": "https://ll.thespacedevs.com/2.0.0/agencies/88/?format=api",
                                "name": "China Aerospace Science and Technology Corporation",
                                "type": "Government"
                            }
                        ],
                        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/chinese2520spa_program_20210608105528.png",
                        "start_date": "2021-04-29T03:23:00Z",
                        "end_date": null,
                        "info_url": null,
                        "wiki_url": "https://en.wikipedia.org/wiki/Tiangong_space_station"
                    }
                ]
            }
        }
    ]
}