List a shared app's deploys

List a shared app's deploys

The app's last deploys, newest first (up to 5). live marks the one its link serves; any other succeeded one can be restored. include=failed adds the failed attempts (up to 5) with status, phase and error, whose logUrl reads its log. Requires read access to the computer the app was published from (its publisher once that computer is gone), or a vault owner or space admin.

GET/api/apps/{id}/deploys
Path parameters
idstringrequired
Query parameters
includeenum

Request

curl
curl -X GET https://trickest.io/api/apps/{id}/deploys \
  -H "Authorization: Token $TRICKEST_TOKEN"

Responses

200The app's deploys
itemsobject[]required

idstringrequired
versionintegerrequired
createdAtstringrequired
createdBystringrequired
startCommandstringrequired
portnumberrequired
livebooleanrequired
statusenum

One of: succeeded, failed

phasestring
errorobject

codestringrequired
messagestringrequired
detailstring
phaseenum

One of: install, build, start, probe

reasonstring
exitCodeinteger
deployIdstring
logUrlstring
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.