A workflow's computer
Returns the computer that holds the workflow's box, creating its row on first use in the workflow's space. The box is not started or copied; the row adopts it so its app deploys through /api/apps like any computer's. Devices lists skip it and it cannot be deleted. Requires space read on the workflow and Enterprise.
/api/workflows/{id}/computeridstringrequiredRequest
curl -X POST https://trickest.io/api/workflows/{id}/computer \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
kindenumrequiredOne of: linux, android
androidVariantobjectrequiredidstringrequiredspaceIdstringrequirednamestringrequiredstateenumrequiredOne of: creating, active, deleting, unconfirmed, deleted
statusenumrequiredOne of: pending, running, stopping, stopped, snapshotting, failed, aborted, unavailable
createdBystringrequiredcreatedAtstringrequiredupdatedAtstringrequireddeletedAtstringrequirednativeobjectrequiredidstringrequiredruntimestringvcpusnumbermemorynumberportsnumber[]timeoutnumberpermissionsobjectwritebooleanrequiredsourceobjectrequiredcomputerIdstringrequiredsnapshotIdstringrequiredworkflowIdstringactivityobjectrequiredstateenumrequiredOne of: working, idle
lastStateenumrequiredOne of: running, completed, failed, unconfirmed
sourceenumrequiredOne of: agent, workflow, user
operationenumrequiredOne of: command, write, start, stop, restore, capture, create
sessionIdstringrequiredrunIdstringrequiredworkflowIdstringrequiredtoolNamestringrequiredobservedAtstringrequiredgoalobjectrequiredcodestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.