Browse API

Task assignment

Assign or unassign visible work without confusing ownership with review.

POST/api/v0/projects/<key>/tasks/<number>/assign

Assign

POST https://repopack.com/api/v0/projects/<key>/tasks/<number>/assign
Authorization: Bearer <token>
Content-Type: application/json

{"to":"<username>"}

to is optional; omitting it selects the authenticated account. author_type is an optional actor label. The server authorizes whether this caller may assign to the selected account, whether the target exists and is eligible, and whether the task is visible. A successful response is the updated task presentation. Missing or unreadable project returns 401, unknown target or hidden task 404, and refused authority or incompatible ownership/status comes from the assignment contract. Assigning work is not a branch checkout, submission or review.

Unassign

POST https://repopack.com/api/v0/projects/<key>/tasks/<number>/unassign
Authorization: Bearer <token>
Content-Type: application/json

{}

The optional body field is author_type. An allowed unassignment returns the updated task; active work can reopen. Do not blindly retry after a timeout: read the task to see the current owner and state. For a checkout-aware claim use rp task take; for assigning review work use reviewer requests.