Skip to main content
POST
Post a strand attachment event.

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

UUID of the component the event targets.

Body

application/json

A single coordinate-addressed attachment event. The target is the full canonical group address the event attaches to; its level must match the event type (payload events target a payload, field-mapping events target a field_mapping). declaredBoundaryPair is only valid on STRAND_PAYLOAD_ADDED.

eventType
enum<string>
required

Public event vocabulary for coordinate-addressed strand attachments. ADD/DELETE are BYO group declarations for payloads and field mappings — a declared payload absent from the scan becomes a v2-only payload group its declared field mappings can attach to; SUPPRESS/UNSUPPRESS toggle a suppression for a field mapping or payload.

Available options:
STRAND_PAYLOAD_ADDED,
STRAND_PAYLOAD_DELETED,
STRAND_FIELD_MAPPING_ADDED,
STRAND_FIELD_MAPPING_DELETED,
STRAND_FIELD_MAPPING_SUPPRESSED,
STRAND_FIELD_MAPPING_UNSUPPRESSED,
STRAND_PAYLOAD_SUPPRESSED,
STRAND_PAYLOAD_UNSUPPRESSED
target
object
required

The metadata coordinates for a discriminator group

declaredBoundaryPair
object

The ingress → egress boundary pair a declared payload runs between, named in the same vocabulary as DiscriminatorBoundary.name. Valid only on STRAND_PAYLOAD_ADDED. A payload declared without a scan has no roll-up provenance, so this pair is the only source of its boundaries: the read reports it as the payload's boundary pair, and every consumer of boundary pairs (payload display, graph boundaries, boundary fields, edge endpoint display) treats the payload like a scanned one. It is never part of the group address, so it never affects coordinates or the derived group id, and a scan that later produces the same address supersedes it with the roll-up's own pairs.

note
string

Optional free-text audit note

effectiveSinceCommitSha
string

Full lowercase commit SHA the attachment is effective since; it must be a commit the component has a scan for. When omitted, defaults to the latest scan's commit. The event applies only to versions whose commit is at or after this anchor.

Pattern: ^[0-9a-f]{40}(?:[0-9a-f]{24})?$

Response

Event accepted; receipt returned.

Returned data for a BYO discriminator event.

eventId
string<uuid>
required
eventType
enum<string>
required

Public event vocabulary for coordinate-addressed strand attachments. ADD/DELETE are BYO group declarations for payloads and field mappings — a declared payload absent from the scan becomes a v2-only payload group its declared field mappings can attach to; SUPPRESS/UNSUPPRESS toggle a suppression for a field mapping or payload.

Available options:
STRAND_PAYLOAD_ADDED,
STRAND_PAYLOAD_DELETED,
STRAND_FIELD_MAPPING_ADDED,
STRAND_FIELD_MAPPING_DELETED,
STRAND_FIELD_MAPPING_SUPPRESSED,
STRAND_FIELD_MAPPING_UNSUPPRESSED,
STRAND_PAYLOAD_SUPPRESSED,
STRAND_PAYLOAD_UNSUPPRESSED