Read a shared app deploy's log
One deploy's log: the platform install's output, then the start command's, up to the moment the deploy went live or failed. ANSI escapes are stripped, secrets masked, and the log is capped at 256 KiB (truncated). deployId is a deploy id (lastError.deployId names the failed one) or latest, the newest deploy whether it failed or not. 404 DEPLOY_NOT_FOUND for an unknown deploy, or latest before any deploy. 501 LOGS_UNAVAILABLE when the sandbox platform has no deploy logs yet. 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.
/api/apps/{id}/deploys/{deployId}/logidstringrequireddeployIdstring | enumrequiredRequest
curl -X GET https://trickest.io/api/apps/{id}/deploys/{deployId}/log \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
deployIdstringrequiredversionintegerrequiredstatusenumrequiredOne of: succeeded, failed
phasestringrequiredexitCodeintegererrorobjectcodestringrequiredmessagestringrequireddetailstringphaseenumOne of: install, build, start, probe
reasonstringexitCodeintegerdeployIdstringlogUrlstringtruncatedbooleanrequiredlogstringrequiredcodestringrequiredmessagestringrequireddetailsobjectField-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.