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=-id
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=-id",
  "results": [
    {
      "id": 3,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/3/?format=api",
      "name": "Mercury No.11",
      "serial_number": "11",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT16M",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.11 is the Mercury capsule used for the Mercury-Redstone 4 - callsign \"Liberty Bell 7\" - mission launched on July 21, 1961 and piloted by astronaut Virgil \"Gus\" Grissom.",
      "spacecraft_config": {
        "id": 11,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
      }
    },
    {
      "id": 2,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/2/?format=api",
      "name": "Mercury No.7",
      "serial_number": "7",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "PT15M22S",
      "time_docked": "P0D",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "Mercury No.7 is the Mercury capsule used for the Mercury-Redstone 3 - callsign \"Freedom 7\" - mission launched on May 5, 1961 and piloted by astronaut Alan Shepard.",
      "spacecraft_config": {
        "id": 11,
        "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api",
        "name": "Mercury",
        "type": {
          "id": 2,
          "name": "Capsule"
        },
        "agency": {
          "id": 44,
          "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/mercury_image_20190207032519.jpeg"
      }
    },
    {
      "id": 1,
      "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/1/?format=api",
      "name": "Apollo Columbia CSM-107",
      "serial_number": "CSM-107",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P8DT3H18M",
      "time_docked": "P4DT2H54M28S",
      "flights_count": 1,
      "mission_ends_count": 1,
      "status": {
        "id": 4,
        "name": "Single Use"
      },
      "description": "CSM-107 \"Columbia\" was an Apollo Command & Service Module used in the Apollo 11 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"
      }
    }
  ]
}