List a space's snapshots
Named snapshots of every computer in the space, deleted computers included, while each snapshot lives (until it expires or is deleted). Newest first. available is false when the workspace has no snapshot storage. Requires space read permission.
GET
/api/computers/snapshotsQuery parameters
spaceIdstringrequiredRequest
curl
curl -X GET https://trickest.io/api/computers/snapshots \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200Snapshots of the space
snapshotsobject[]requiredidstringrequirednamestringrequiredcreatedBystringrequiredcreatedAtstringrequiredexpiresAtstringrequiredsizeBytesnumberrequiredcomputerobjectrequiredidstringrequirednamestringrequiredkindenumOne of: linux, android
deletedbooleanrequiredavailablebooleanrequired400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.