App .publish
POST /{namespace}/apps/{app}/publish
Publish releases an App to its Customers, so each Tenant runs its newest build.
- Noun
- App
- Mode
do- Event
App.published
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
app | App | required | The App to release. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
app | App | required | The App, now released. |
Effects
- Emits
App.published. - Performed by the Engineering Lead.
- Keeps the previous build, so a
revertrestores it.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | App.publish |
| The record is not in a state that allows this Verb, so the call is refused. | refused | Read the record, run the Verb that moves it to an allowed state, then retry. | App.publish |
When it waits
| Gate | Default |
|---|---|
| Decision class | Medium: two-way, visible |
| Delay window | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |