Turn an app on
const url = 'http://127.0.0.1:7700/api/apps/wallet/enable';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:7700/api/apps/wallet/enable \ --header 'Authorization: Bearer <token>'Owner only. Loads the app’s tools, jobs, routes, log readers and windows and starts its triggers, with no reinstall. The choice is saved in BOX_HOME/apps.json.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The app’s id, its folder name.
Example
walletResponses
Section titled “Responses”The app.
object
The window’s name
The window’s path under /t/<track>/, in the default list.
The app that added it.
The app’s id
The app’s own, else the first paragraph of its README.
Why the app failed to load.
Turned off while a trigger that cannot be stopped was running.
What the app can reach. Key names only, never values.
object
object
Hosts the app’s tools reach.
object
Whether the vault holds this key.
The app’s windows.
object
Example
{ "status": "enabled"}The owner’s route, called by someone who is not the box’s own screen or a device paired as the owner.
object
What went wrong
Example
{ "error": "only the box's own screen or the owner's paired device can do this"}No app with this id.
object
What went wrong
Example generated
{ "error": "example"}GurtOS is open source under the Apache License 2.0.Source code on GitHub.