Appearance
Watch Task Instance
Add or remove the current user as a watcher on a task instance. Requires READ or ADMIN permissions.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
instanceId* | string | The unique identifier of the task instance |
body.watch* | boolean | true to subscribe, false to unsubscribe |
Return Value
The updated watcher state for the task instance.
Examples
bash
curl -X PUT "https://app.wombat.software/api/{targetPath}/task/:instanceId/watch" \
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..." \
-d '{"watch": true}'ENDPOINTS
put
/api/{targetPath}/task/:instanceId/watch