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

{
  "count": 612,
  "next": null,
  "previous": "https://lldev.thespacedevs.com/2.0.0/spacecraft/?format=api&limit=10&offset=600",
  "results": [
    {
      "id": 609,
      "url": "https://lldev.thespacedevs.com/2.0.0/spacecraft/609/?format=api",
      "name": "Shenzhou 20",
      "serial_number": "20",
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Spacecraft used to launch 3 astronauts on the 9th crewed mission to the Chinese Space Station.",
      "spacecraft_config": {
        "id": 2,
        "url": "https://lldev.thespacedevs.com/2.0.0/config/spacecraft/2/?format=api",
        "name": "Shenzhou",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 17,
          "url": "https://lldev.thespacedevs.com/2.0.0/agencies/17/?format=api",
          "name": "China National Space Administration",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg"
      }
    },
    {
      "id": 610,
      "url": "https://lldev.thespacedevs.com/2.0.0/spacecraft/610/?format=api",
      "name": "Shenzhou 21",
      "serial_number": "21",
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Spacecraft used to launch 3 astronauts on the 10th crewed mission to the Chinese Space Station.",
      "spacecraft_config": {
        "id": 2,
        "url": "https://lldev.thespacedevs.com/2.0.0/config/spacecraft/2/?format=api",
        "name": "Shenzhou",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 17,
          "url": "https://lldev.thespacedevs.com/2.0.0/agencies/17/?format=api",
          "name": "China National Space Administration",
          "type": "Government"
        },
        "in_use": true,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/shenzhou_image_20190207032522.jpeg"
      }
    }
  ]
}