Add watcher to Task
PATCH {{url}}/{{tenantName}}/{{instanceName}}/tasks/{{task_id}}/watchers
Example overview
The method allows you to subscribe the specified user to task update notifications. Method returns task with new watchers.
HTTP Request
Method: PATCH
Endpoint: {url}/{tenantName}/{instanceName}/tasks/{taskId}/watchers
in our example it would be: https://api.live.welkincloud.io/gh/sb-demo/tasks/28b38060-db66-4183-bcaa-34751308573a/watchers
Responses
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Body
{"id"=>"20745195-bf3d-46af-9e74-db60c19b7e7b"}