Skip to main content
PUT
Write a new revision of a posture (forward-only)

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Headers

Idempotency-Key
string
required

Client-supplied idempotency token (required). Replays within 24 hours return the stored result; reusing a key with a different body returns 409. See ADR-023.

Path Parameters

posture_id
string
required

Posture ID (tp-{8-hex}).

Pattern: ^tp-[a-z0-9-]{1,64}$

Body

application/json
body
object
required
change_note
string

Response

Updated posture with new revision.

Versioned posture body. Immutable by handler discipline (forward-only).

revision_id
string
required
Pattern: ^tpr-[0-9a-f]{8}$
posture_id
string
required
revision_number
integer
required
Required range: x >= 1
body
object
required

Composition inputs: alignment_card, protection_card, integrity, autonomy, etc.

created_at
string<date-time>
required
change_note
string | null
created_by
string<uuid> | null