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

{
    "count": 591,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=580&ordering=time_docked",
    "results": [
        {
            "id": 325,
            "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/325/?format=api",
            "name": "Progress M1-5",
            "serial_number": "Progress M1-5 (No.254)",
            "is_placeholder": false,
            "in_space": false,
            "time_in_space": "P58DT1H30M42S",
            "time_docked": "P8869DT20H36M8S",
            "flights_count": 1,
            "mission_ends_count": 1,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Progress M1-5 (Russian: Прогресс M1-5), was a Progress spacecraft used to deorbit the space station Mir.",
            "spacecraft_config": {
                "id": 36,
                "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/36/?format=api",
                "name": "Progress-M1",
                "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://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/progress-m1_image_20231219142545.jpeg"
            }
        }
    ]
}