Update work
update_workEdit a Work's planning details. Only supplied fields change. batchId deliberately moves a planned Work. status accepts only planned, to send a started Work back to the queue; a Work starts only through begin_work and finishes only through finish_work. In a workflow run, a change to the title, description, labels, size, or Batch is checked as part of that Batch's plan against the rulesets on the connection the run entered Batch on, until one of its Works is done; a Must rule that does not pass refuses the write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the Work. | |
| size | No | Work size. | |
| title | No | New title. | |
| labels | No | Labels on the Work. | |
| status | No | Only planned, to send a started Work back to the queue. | |
| batchId | No | Batch to move a planned Work to. | |
| description | No | New description. |