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

{
    "count": 592,
    "next": null,
    "previous": "https://lldev.thespacedevs.com/2.0.0/spacecraft/?format=api&limit=10&offset=580&ordering=id",
    "results": [
        {
            "id": 613,
            "url": "https://lldev.thespacedevs.com/2.0.0/spacecraft/613/?format=api",
            "name": "Gaganyaan G3",
            "serial_number": null,
            "status": {
                "id": 4,
                "name": "Single Use"
            },
            "description": "Third operational Gaganyaan capsule.",
            "spacecraft_config": {
                "id": 29,
                "url": "https://lldev.thespacedevs.com/2.0.0/config/spacecraft/29/?format=api",
                "name": "Gaganyaan",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 1031,
                    "url": "https://lldev.thespacedevs.com/2.0.0/agencies/1031/?format=api",
                    "name": "Hindustan Aeronautics Limited",
                    "type": "Government"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/gaganyaan_image_20231021132705.jpeg"
            }
        },
        {
            "id": 614,
            "url": "https://lldev.thespacedevs.com/2.0.0/spacecraft/614/?format=api",
            "name": "Ship 35",
            "serial_number": "S35",
            "status": {
                "id": 1,
                "name": "Active"
            },
            "description": "Ship 35 (S35) is the 2nd stage vehicle to be used for the ninth Starship flight test. It is the third \"Block 2\" Starship spacecraft with lengthened propellant tanks and forward flaps with a new design, among other enhancements.",
            "spacecraft_config": {
                "id": 26,
                "url": "https://lldev.thespacedevs.com/2.0.0/config/spacecraft/26/?format=api",
                "name": "Starship",
                "type": {
                    "id": 6,
                    "name": "Reuseable Upper Stage"
                },
                "agency": {
                    "id": 121,
                    "url": "https://lldev.thespacedevs.com/2.0.0/agencies/121/?format=api",
                    "name": "SpaceX",
                    "type": "Commercial"
                },
                "in_use": true,
                "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/starship_image_20231116184708.jpeg"
            }
        }
    ]
}