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

{
  "count": 611,
  "next": null,
  "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=600&ordering=-flights_count",
  "results": [
    {
      "id": 443,
      "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/443/?format=api",
      "name": "X-15-2",
      "serial_number": "56-6671",
      "is_placeholder": false,
      "in_space": false,
      "time_in_space": "P0D",
      "time_docked": "P0D",
      "flights_count": 0,
      "mission_ends_count": 0,
      "status": {
        "id": 2,
        "name": "Retired"
      },
      "description": "Second X-15 experimental rocket plane.",
      "spacecraft_config": {
        "id": 13,
        "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/13/?format=api",
        "name": "North American X-15",
        "type": {
          "id": 3,
          "name": "Spaceplane"
        },
        "agency": {
          "id": 44,
          "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
          "name": "National Aeronautics and Space Administration",
          "type": "Government"
        },
        "in_use": false,
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/north2520american2520x-15_image_20190207032520.jpeg"
      }
    }
  ]
}