Skip to main content
PUT

Autorizaciones

Authorization
string
header
requerido

JWT issued by the identity provider. A producer calls with a service credential issued for the tenant it sends facts for; a reader calls with a user token or a service credential. The tenant is always taken from the token, never from the request path, query or body.

Parámetros de ruta

type
string
requerido

Reference type name: a dotted name whose first segment is a reserved prefix.

Ejemplo:

"acme.order_id"

Cuerpo

application/json
correlation
string
requerido

Whether references of this type link facts into flows; a contract may declare exact only on an exact type. Allowed values: exact, none.

description
string
requerido

What the reference identifies: 1 to 512 UTF-8 bytes, no control characters.

Ejemplo:

"Order number assigned by the checkout service, unique within a store"

scope
string[] | null
requerido

Scope keys that complete the reference identity, such as storeId; a set, stored sorted, duplicates refused.

mask
string

Display format, only with sensitivity masked or encrypted; set once, never removed (omitting it later is a replay). Allowed values: document.

searchable
boolean

Whether listFlowsByReference may list facts by this type; defaults to false.

sensitivity
string

Protection of values at rest and on reads, inherited by every contract that declares the type; defaults to none. Allowed values: none, masked, hashed, encrypted.

Respuesta

The reference type is already registered with this content: a replay, whoever sends it, or the one-way addition of mask: document to a type that had no mask. The body is the stored type.

correlation
enum<string>
requerido

Whether references of this type link facts into flows. Allowed values: exact, none.

Opciones disponibles:
exact,
none
createdAt
string<date-time>
requerido

When the type was registered. RFC 3339, UTC.

description
string
requerido

What the reference identifies, as registered.

ownerIdentity
string
requerido

Verified identity that registered the type, in the form owner/sub; recorded for audit only.

Ejemplo:

"acme/platform-deployer"

scope
string[] | null
requerido

Scope keys that complete the reference identity, sorted.

searchable
boolean
requerido

Whether listFlowsByReference can list facts by this type.

sensitivity
enum<string>
requerido

Protection of values at rest and on reads; see Sensitivity and protected values. Allowed values: none, masked, hashed, encrypted.

Opciones disponibles:
none,
masked,
hashed,
encrypted
type
string
requerido

Reference type name.

Ejemplo:

"acme.order_id"

mask
enum<string>

Display format of the type; omitted when it has none. Allowed values: document.

Opciones disponibles:
document