Projects
clearCardMilestone
Takes an actor-visible card out of its project milestone. The card stays in its project. A desired-state write: it takes no body, no If-Match and no Idempotency-Key, and a card that is in no milestone answers the same way with nothing written. Answers 404 when the caller cannot open the card or when projects and milestones are not enabled for the workspace, and 403 when the caller has no standing in the card's project.
setCardMilestone
Puts an actor-visible card in a project milestone. Take milestone ids from GET /projects or GET /projects/{project_id}. A desired-state write: no If-Match and no Idempotency-Key, and a card already in that milestone answers the same way with nothing written. A card in no project joins the milestone's project. A card in ANOTHER project is refused with 422 project_transfer_required, naming both projects and the milestone the card would leave, unless the body sets transfer_project: true; the confirmed write is reported as project_transfer. The milestone must be an active milestone of an active project the caller can see: an unknown, archived or invisible one is the same 422 validation_error, so a milestone id cannot be probed. Answers 404 when the caller cannot open the card or when projects and milestones are not enabled, 403 when the caller has no standing in the card's project, and 409 when the card kept changing while the write was applied (retry).
listProjects
Read-only. Returns the projects the represented user can see, each with its boards, its open milestones and its current cycle. Access follows the same per-project rule as the Broome app (ADR-029): a project the caller has no standing in is simply absent. Answers 404 when projects and milestones are not enabled for the workspace.
getProject
Read-only. Returns one project the caller can see: its boards, its milestones with how many of their tasks are done, its overall progress and its current cycle. Access follows the same per-project rule as the Broome app (ADR-029): a project the caller cannot see answers 404, exactly like one that does not exist or one that is archived, so a project id can never be probed. Also answers 404 when projects and milestones are not enabled for the workspace.