Get worktree
GET/api/worktrees/:project/:number
Returns one worktree slot by project name and slot number, with its state, current task and node. Pass node_id when the project has slots on several nodes; otherwise the first node by name is used. A slot the caller cannot see returns 404.
Request
Responses
- 200
- 422
OK
Unprocessable content