Watch .pause
POST /{namespace}/watches/{watch}/pause
Pause stops a Watch delivering while its Events keep queuing; the platform pauses a Watch whose deliveries fail for three days.
- Noun
- Watch
- Mode
do- Event
Watch.paused
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
watch | Watch | required | The Watch to pause. |
reason | text | Why deliveries stop. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
watch | Watch | required | The paused Watch. |
Effects
- Emits
Watch.paused. - Holds every matching Event in order until the Watch resumes.
- Notifies the Reliability Engineer when the platform pauses 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. | Watch.pause |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| 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. |