List a computer's shared app

List a computer's shared app

The live app shared from computerId: 0 or 1 item. lastError says why the last deploy failed (detail: the start command's last output lines); with status running the previous copy still serves. behind is true when the computer ran a command that can change files, had a file written or was saved after the app's last publish. domain is what follows the slug in every app link (.{publicDomain}), so a first deploy can show it before any slug check. Requires read access to that computer's space.

GET/api/apps
Query parameters
computerIdstringrequired

Request

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

Responses

200The computer's shared app
itemsobject[]required

idstringrequired
slugstringrequired
urlstringrequired
visibilityenumrequired

One of: vault, trickest, public

vaultIdstringrequired
sourceSandboxIdstringrequired
sandboxIdstringrequired
portnumberrequired
startCommandstringrequired
cwdstringrequired
statusenumrequired

One of: running, stopped, publishing, failed

createdBystringrequired
createdAtstringrequired
updatedAtstringrequired
publishedAtstringrequired
lastErrorobject

codestringrequired
messagestringrequired
detailstring
phaseenum

One of: install, build, start, probe

reasonstring
exitCodeinteger
deployIdstring
logUrlstring
behindbooleanrequired
domainstringrequired
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.