Skip to main content
POST
Create a hub subscription

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

Authorization
string

Bearer token. A tenant route relays it to the streaming-hub as server-to-server auth.

X-Idempotency
string
obrigatório

Idempotency key, forwarded to the hub's idempotency middleware, which refuses this mutation without one.

Corpo

application/json
endpoint
string
obrigatório
name
string
obrigatório
sink_kind
string
obrigatório
event_majors
object

Per-event-type schema major, overriding schema_major for the types it names.

Exemplo:
event_types
string[] | null
plan_tier
string
schema_major
integer<int64>

Resposta

Created

signingSecret
string
obrigatório
subscription
object
obrigatório