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": 591,
    "next": null,
    "previous": "https://ll.thespacedevs.com/2.0.0/spacecraft/?format=api&limit=10&offset=580&ordering=id",
    "results": [
        {
            "id": 613,
            "url": "https://ll.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://ll.thespacedevs.com/2.0.0/config/spacecraft/29/?format=api",
                "name": "Gaganyaan",
                "type": {
                    "id": 2,
                    "name": "Capsule"
                },
                "agency": {
                    "id": 1031,
                    "url": "https://ll.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"
            }
        }
    ]
}