Skip to main content
PUT

Autorizações

Authorization
string
header
obrigatório

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 caminho

type
string
obrigatório

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

Exemplo:

"acme.order_id"

Corpo

application/json
correlation
string
obrigatório

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
obrigatório

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

Exemplo:

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

scope
string[] | null
obrigatório

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.

Resposta

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>
obrigatório

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

Opções disponíveis:
exact,
none
createdAt
string<date-time>
obrigatório

When the type was registered. RFC 3339, UTC.

description
string
obrigatório

What the reference identifies, as registered.

ownerIdentity
string
obrigatório

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

Exemplo:

"acme/platform-deployer"

scope
string[] | null
obrigatório

Scope keys that complete the reference identity, sorted.

searchable
boolean
obrigatório

Whether listFlowsByReference can list facts by this type.

sensitivity
enum<string>
obrigatório

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

Opções disponíveis:
none,
masked,
hashed,
encrypted
type
string
obrigatório

Reference type name.

Exemplo:

"acme.order_id"

mask
enum<string>

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

Opções disponíveis:
document