Skip to main content

Example config.json

This is the config.json for the demo app in the main repo. This is ready to be installed in any of the demo containers, as soon as you add a server storage location, which is a dependency of it.

{
"description": "The demo app.",
"identifier": "demo",
"label": "Demo",
"tasks": [
{
"identifier": "do_special_thing",
"label": "Do Special Thing",
"description": "Do special thing for each new object.",
"triggers": [
{
"type": "event",
"event": "platform:object_added",
"inputParams": {
"folderId": "event:folderId",
"objectKey": "event:objectKey"
}
}
],
"worker": "special_worker"
}
],
"workerScripts": {
"special_worker": {
"description": "Manages special things for objects.",
"envVars": {
"SPECIAL_THING_ENV_VAR": "pospopopwoerpower"
}
}
},
"uis": {
"main": {
"description": "The main UI for the dev app",
"menuItems": [
{
"label": "Demo App",
"iconPath": "/assets/logo.png",
"uiName": "main"
}
]
}
},
"emittableEvents": []
}