When you need it
The team needs a button or a short panel on the board, and you do not have to write an extension.
Before you start
- You are an organisation administrator.
- The board belongs to that organisation: the panel shows the apps of its organisation.
Steps
- Install the app:
curl -X POST https://boards.example.com/api/orgs/$ORG/apps \
-H "Content-Type: application/json" --cookie "$SESSION" \
-d '{"appId":"app.hello"}'
- Open the board and press Приложения in the top bar.
- Result: the panel contains the app and its button.
Checking the action
- Press Поздороваться.
- Result: the panel shows "Hello, {your name}!".
- The organisation audit gets
app.invoked, and the event queue gets anapp.invokedevent.
Turning it off
- Turn the app off:
curl -X PATCH https://boards.example.com/api/orgs/$ORG/apps/app.hello \
-H "Content-Type: application/json" --cookie "$SESSION" \
-d '{"enabled":false}'
- Refresh the panel.
- Result: the app is not in the panel, and its action returns
404. Turning it back on restores everything.
Common mistakes
| Symptom | Cause |
|---|---|
404 RESOURCE_NOT_AVAILABLE on install |
there is no such id in the product registry |
403 FORBIDDEN |
you are not an organisation administrator |
| The panel is empty | the app is off or the board has no organisation |
Where to go next
Apps — what the panel draws and what it does not do.