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

{
  "id": 462,
  "url": "https://lldev.thespacedevs.com/2.2.0/spacecraft/462/?format=api",
  "name": "Tianzhou-2",
  "serial_number": "2",
  "is_placeholder": false,
  "in_space": false,
  "time_in_space": "P305DT21H44M31S",
  "time_docked": "P301DT4H52M",
  "flights_count": 1,
  "mission_ends_count": 1,
  "status": {
    "id": 4,
    "name": "Single Use"
  },
  "description": "Second operational Tianzhou spacecraft. First spacecraft to dock with the Chinese Space Station.",
  "spacecraft_config": {
    "id": 25,
    "url": "https://lldev.thespacedevs.com/2.2.0/config/spacecraft/25/?format=api",
    "name": "Tianzhou",
    "type": {
      "id": 4,
      "name": "Cargo Resupply"
    },
    "agency": {
      "id": 88,
      "url": "https://lldev.thespacedevs.com/2.2.0/agencies/88/?format=api",
      "name": "China Aerospace Science and Technology Corporation",
      "featured": true,
      "type": "Government",
      "country_code": "CHN",
      "abbrev": "CASC",
      "description": "The China Aerospace Science and Technology Corporation (CASC) is the main contractor for the Chinese space program. It is state-owned and has a number of subordinate entities which design, develop and manufacture a range of spacecraft, launch vehicles, strategic and tactical missile systems, and ground equipment. It was officially established in July 1999 as part of a Chinese government reform drive, having previously been one part of the former China Aerospace Corporation. Various incarnations of the program date back to 1956.",
      "administrator": "Chairman & President: Lei Fanpei",
      "founding_year": "1999",
      "launchers": "Long March",
      "spacecraft": "",
      "parent": null,
      "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_image_20191228094408.jpeg",
      "logo_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/china2520aerospace2520science2520and2520technology2520corporation_logo_20220826093937.png"
    },
    "in_use": true,
    "capability": "Cargo Earth Orbit Logistics",
    "history": "The Tianzhou is a Chinese automated cargo spacecraft that was first launched on April 20, 2017 to resupply Tiangong-1. It demonstrated autonomous propellant transfer in orbit.",
    "details": "Autonomous cargo spacecraft used to resupply the Chinese Space Station.",
    "maiden_flight": "2017-04-20",
    "height": 9.0,
    "diameter": 3.35,
    "human_rated": false,
    "crew_capacity": null,
    "payload_capacity": 6700,
    "payload_return_capacity": null,
    "flight_life": "180 days in orbit",
    "image_url": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/tianzhou_image_20210513100807.jpg",
    "nation_url": null,
    "wiki_link": "https://en.wikipedia.org/wiki/Tianzhou_(spacecraft)",
    "info_link": ""
  },
  "flights": []
}