One card
endpoint
integer
required
The card number, as the board shows it. Counted per board —
#7 exists on every board, and you get the one on the board you named.repositories array is the part nothing else has: the branch this card owns in each repository, the pull request it opened, and what the forge says about the checks. That is the join between a board and a repository, and it is why a card can be asked whether it is able to move before anybody drags it.
object | null
Present when the last promotion was refused, with the reason in the forge’s own words — conflicts, red checks, nothing to merge.
null when the card is free to move.string | null
What CI said, per repository:
passing, failing, pending, or null when nothing has reported. This ran on the forge, not here.The story
endpoint
type of event or comment and an at. Read kind to
decide what an event was — it is lowercase with underscores (created,
status_changed, branch_created, pushed) — and treat an unfamiliar one as
something to skip rather than something to fail on: new ones get added.
actor.user.kind tells you what did it. A machine is an API credential, an
agent is an agent, and login carries a provider username for the events
the forge told us about rather than ones that happened here.
Create a card
endpoint
string
required
1 to 500 characters.
string
Markdown, up to 20,000 characters.
string
Which product. Required when the board holds several.
string
Where it starts. Left out, it lands in the backlog as a draft, which is the
usual thing to want — starting it is the act that cuts a branch.
boolean
Cut from the far end of the flow rather than the near one. Asked at creation
because that is when somebody knows, and because the answer has to be in
before a repository is linked.
createdBy.kind is machine, and that is the point of a write credential
being a member: the board can say a script did this rather than implying a
colleague did.
Change one
endpoint
null on
assignee, dueDate, parentNumber or featureId clears them, which is
different from not touching them.
string
string
string
none, low, medium, high or urgent.string | null
Must be a member of this board.
string[]
The whole set, not a delta.
string | null
Move one
endpoint
409 means here.
string
required
The stage to move into. From
/v1/board, where each column carries its id
and the minRole it takes to enter it.integer
required
Position in the target column.
0 is the top.promoted is empty when nothing merged — a card with no linked repository, or
a stage whose flow rule touches none. It is not a failure; it is the honest
answer that the board moved and Git had nothing to do.
Comment
endpoint
string
required
1 to 10,000 characters, markdown.
A comment on a card whose pull request is open is mirrored to the provider,
and
mirroredTo says how many it reached. The discussion is one
conversation, wherever somebody is standing.Delete one
endpoint
204, and nothing in the body.