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

{
    "count": 603,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=590&ordering=-time_docked",
    "results": [
        {
            "id": 24,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/24/?format=api",
            "name": "Apollo CSM-020",
            "serial_number": "CSM-020",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "PT9H56M59S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "CSM-020 was an Apollo Command & Service Module used in the Apollo 6 mission.",
            "spacecraft_config": {
                "id": 10,
                "url": "https://lldev.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://lldev.thespacedevs.com/2.2.0/agencies/999/?format=api",
                    "name": "North American Aviation",
                    "type": "Commercial"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/apollo2520command2fservice2520module_image_20190207032507.jpeg"
            }
        },
        {
            "id": 198,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/198/?format=api",
            "name": "Soyuz 9",
            "serial_number": "Soyuz 7K-OK 11F615 #17",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P17DT16H58M55S",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Soyuz 9 was a Soyuz spacecraft which launched on 1 June 1970 19:00 UTC. It launched two cosmonauts for science and craft testing purposes. The crew was Andrian Nikolayev and Vitaly Sevastyanov.",
            "spacecraft_config": {
                "id": 1,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/1/?format=api",
                "name": "Soyuz",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        },
        {
            "id": 489,
            "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/489/?format=api",
            "name": "Soyuz 7K-OK No.1",
            "serial_number": "Soyuz 7K-OK (P) 11F615 #1",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P0D",
            "time_docked": "P0D",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "First generation Soyuz meant to be used for a test flight.",
            "spacecraft_config": {
                "id": 1,
                "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/1/?format=api",
                "name": "Soyuz",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 63,
                    "url": "https://lldev.thespacedevs.com/2.2.0/agencies/63/?format=api",
                    "name": "Russian Federal Space Agency (ROSCOSMOS)",
                    "type": "Government"
                },
                "in_use": false,
                "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/soyuz_image_20201015191152.jpg"
            }
        }
    ]
}