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

{
    "id": 410,
    "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/410/?format=api",
    "name": "Progress 6",
    "serial_number": "Progress 6 (No.106)",
    "is_placeholder": false,
    "in_space": false,
    "time_in_space": "P27DT14H35M36S",
    "time_docked": "P24DT1H40M19S",
    "flights_count": 1,
    "mission_ends_count": 1,
    "status": {
        "id": 4,
        "name": "Single Use"
    },
    "description": "Progress 6 (Russian: Прогресс 6), was a Progress spacecraft used to resupply the space station Salyut 6.",
    "spacecraft_config": {
        "id": 8,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/8/?format=api",
        "name": "Progress 7K-TG",
        "type": {
            "id": 4,
            "name": "Cargo Resupply"
        },
        "agency": {
            "id": 63,
            "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
            "name": "Russian Federal Space Agency (ROSCOSMOS)",
            "featured": true,
            "type": "Government",
            "country_code": "RUS",
            "abbrev": "RFSA",
            "description": "The Roscosmos State Corporation for Space Activities, commonly known as Roscosmos, is the governmental body responsible for the space science program of the Russian Federation and general aerospace research. Soyuz has many launch locations the Russian sites are Baikonur, Plesetsk and Vostochny however Ariane also purchases the vehicle and launches it from French Guiana.",
            "administrator": "Administrator: Yuri Borisov",
            "founding_year": "1992",
            "launchers": "Soyuz",
            "spacecraft": "Soyuz",
            "parent": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_image_20190207032459.jpeg",
            "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/russian2520federal2520space2520agency25202528roscosmos2529_logo_20190207032459.png"
        },
        "in_use": false,
        "capability": "Salyut-7 & Mir Logistics",
        "history": "Progress 7K-TG , was a Soviet uncrewed spacecraft used to resupply space stations in low Earth orbit. Forty three flew, delivering cargo to Salyut 6, Salyut 7, and Mir. It was the first version of the Progress spacecraft to fly, and spawned later derivatives including the Progress-M which replaced it, and the later Progress-M1.",
        "details": "Progress is derived from the manned Soyuz spacecraft and is launched on the same vehicle, a Soyuz rocket.\r\nThe purpose of Progress is to deliver supplies needed to sustain human presence in orbit. Currently it is used as a re-supply spacecraft for the ISS.",
        "maiden_flight": "1978-01-20",
        "height": 7.23,
        "diameter": 2.72,
        "human_rated": false,
        "crew_capacity": null,
        "payload_capacity": 1700,
        "payload_return_capacity": null,
        "flight_life": "33 to 75 days",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/progress_7k-tg_image_20231220085840.png",
        "nation_url": null,
        "wiki_link": "https://en.wikipedia.org/wiki/Progress_(spacecraft)",
        "info_link": "https://www.nasa.gov/mission_pages/station/structure/elements/progress.html"
    },
    "flights": [
        {
            "id": 564,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/flight/564/?format=api",
            "destination": "Salyut 6",
            "mission_end": "1979-06-09T18:52:46Z",
            "spacecraft": {
                "id": 410,
                "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/410/?format=api",
                "name": "Progress 6",
                "serial_number": "Progress 6 (No.106)",
                "is_placeholder": false,
                "in_space": false,
                "time_in_space": "P27DT14H35M36S",
                "time_docked": "P24DT1H40M19S",
                "flights_count": 1,
                "mission_ends_count": 1,
                "status": {
                    "id": 4,
                    "name": "Single Use"
                },
                "description": "Progress 6 (Russian: Прогресс 6), was a Progress spacecraft used to resupply the space station Salyut 6.",
                "spacecraft_config": {
                    "id": 8,
                    "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/8/?format=api",
                    "name": "Progress 7K-TG",
                    "type": {
                        "id": 4,
                        "name": "Cargo Resupply"
                    },
                    "agency": {
                        "id": 63,
                        "url": "https://ll.thespacedevs.com/2.2.0/agencies/63/?format=api",
                        "name": "Russian Federal Space Agency (ROSCOSMOS)",
                        "type": "Government"
                    },
                    "in_use": false,
                    "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/progress_7k-tg_image_20231220085840.png"
                }
            },
            "launch": {
                "id": "393a226e-1c47-4505-9d9a-fdeb4b4c3e4d",
                "url": "https://ll.thespacedevs.com/2.2.0/launch/393a226e-1c47-4505-9d9a-fdeb4b4c3e4d/?format=api",
                "slug": "soyuz-u-progress-6",
                "name": "Soyuz U | Progress 6",
                "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-14T03:41:22Z",
                "net": "1979-05-13T04:17:10Z",
                "window_end": "1979-05-13T04:17:10Z",
                "window_start": "1979-05-13T04:17:10Z",
                "net_precision": null,
                "probability": 0,
                "weather_concerns": null,
                "holdreason": "",
                "failreason": "",
                "hashtag": "",
                "launch_service_provider": {
                    "id": 66,
                    "url": "https://ll.thespacedevs.com/2.2.0/agencies/66/?format=api",
                    "name": "Soviet Space Program",
                    "type": "Government"
                },
                "rocket": {
                    "id": 2236,
                    "configuration": {
                        "id": 37,
                        "url": "https://ll.thespacedevs.com/2.2.0/config/launcher/37/?format=api",
                        "name": "Soyuz U",
                        "family": "Soyuz",
                        "full_name": "Soyuz U",
                        "variant": ""
                    }
                },
                "mission": null,
                "pad": {
                    "id": 20,
                    "url": "https://ll.thespacedevs.com/2.2.0/pad/20/?format=api",
                    "agency_id": null,
                    "name": "31/6",
                    "description": null,
                    "info_url": null,
                    "wiki_url": "https://en.wikipedia.org/wiki/Baikonur_Cosmodrome_Site_31",
                    "map_url": "https://www.google.com/maps?q=45.996034,63.564003",
                    "latitude": "45.996034",
                    "longitude": "63.564003",
                    "location": {
                        "id": 15,
                        "url": "https://ll.thespacedevs.com/2.2.0/location/15/?format=api",
                        "name": "Baikonur Cosmodrome, Republic of Kazakhstan",
                        "country_code": "KAZ",
                        "description": "",
                        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_15_20200803142517.jpg",
                        "timezone_name": "Asia/Qyzylorda",
                        "total_launch_count": 1548,
                        "total_landing_count": 0
                    },
                    "country_code": "KAZ",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_20_20200803143516.jpg",
                    "total_launch_count": 415,
                    "orbital_launch_attempt_count": 415
                },
                "webcast_live": false,
                "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/soyuz2520u_image_20190222031023.jpeg",
                "infographic": null,
                "program": [],
                "orbital_launch_attempt_count": 2203,
                "location_launch_attempt_count": 545,
                "pad_launch_attempt_count": 212,
                "agency_launch_attempt_count": 1303,
                "orbital_launch_attempt_count_year": 2203,
                "location_launch_attempt_count_year": 10,
                "pad_launch_attempt_count_year": 4,
                "agency_launch_attempt_count_year": 33,
                "type": "normal"
            },
            "landing": {
                "id": 539,
                "attempt": false,
                "success": null,
                "description": "The Progress spacecraft burned up upon entering Earth's atmosphere.",
                "downrange_distance": null,
                "location": null,
                "type": null
            }
        }
    ]
}