decisions

Decide Rule Route

A board item's answer: accept the proposed rule, edit it, or decline it. Persists through service.decide_rule to migration 0381's real columns -- see the module docstring for why tie.proposed_rule itself is still a stated "not yet" rather than a stored one.

post/api/decisions/{decision_id}/rule

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

decision_id, string uuid required

Request body

RuleDecisionRequest required

{ disposition: RuleDisposition; rule_text: string | null } -- decisions.ts's decideRule body. disposition is validated against domain.RULE_DISPOSITIONS inside service.decide_rule, not here, so the one 422 message a caller sees says what a decision disposition IS rather than reciting a Pydantic enum error.

disposition, string required
rule_text, string nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.