Spacecraft List
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=-time_docked
{ "count": 601, "next": null, "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=590&ordering=-time_docked", "results": [ { "id": 558, "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/558/?format=api", "name": "X-37B 1", "serial_number": "1", "is_placeholder": false, "in_space": true, "time_in_space": "P1895DT2H57M25S", "time_docked": "P0D", "flights_count": 4, "mission_ends_count": 3, "status": { "id": 1, "name": "Active" }, "description": "First X-37B. First flight on April 22, 2010.", "spacecraft_config": { "id": 30, "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/30/?format=api", "name": "X-37B", "type": { "id": 3, "name": "Spaceplane" }, "agency": { "id": 80, "url": "https://ll.thespacedevs.com/2.2.0/agencies/80/?format=api", "name": "Boeing", "type": "Commercial" }, "in_use": true, "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/x-37b_image_20221113134355.jpeg" } } ] }