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_in_space
{ "count": 601, "next": null, "previous": "https://ll.thespacedevs.com/2.2.0/spacecraft/?format=api&limit=10&offset=590&ordering=-time_in_space", "results": [ { "id": 482, "url": "https://ll.thespacedevs.com/2.2.0/spacecraft/482/?format=api", "name": "Mercury No.4", "serial_number": "4", "is_placeholder": false, "in_space": false, "time_in_space": "P0D", "time_docked": "P0D", "flights_count": 1, "mission_ends_count": 1, "status": { "id": 3, "name": "Destroyed" }, "description": "Mercury No.4 is the Mercury capsule used for the Mercury-Atlas 1 flight.", "spacecraft_config": { "id": 11, "url": "https://ll.thespacedevs.com/2.2.0/config/spacecraft/11/?format=api", "name": "Mercury", "type": { "id": 2, "name": "Capsule" }, "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/mercury_image_20190207032519.jpeg" } } ] }