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}/deploysPath parameters
idstringrequiredQuery parameters
includeenumRequest
curl
curl -X GET https://trickest.io/api/apps/{id}/deploys \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200The app's deploys
itemsobject[]requiredidstringrequiredversionintegerrequiredcreatedAtstringrequiredcreatedBystringrequiredstartCommandstringrequiredportnumberrequiredlivebooleanrequiredstatusenumOne of: succeeded, failed
phasestringerrorobjectcodestringrequiredmessagestringrequireddetailstringphaseenumOne of: install, build, start, probe
reasonstringexitCodeintegerdeployIdstringlogUrlstring400Bad 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.