Zum Hauptinhalt springen

Accept CloudEvents

Accepts CloudEvents in binary, structured, or batched mode according to CloudEvents HTTP Protocol Binding v1.0.2. In binary mode, metadata is sent via ce-* headers. In structured/batched mode, the full CloudEvent is in the request body.

Header Parameters
ce-specversion string

Possible values: [1.0]

CloudEvents spec version (required for binary mode)

ce-type string

Event type (required for binary mode)

ce-source uri

Event source URI (required for binary mode)

ce-id string

Event ID (required for binary mode)

ce-subject string

Event subject

ce-time date-time

Event timestamp

ce-dataschema uri

Data schema URI

Request Body — REQUIRED

CloudEvent(s) in structured or batched mode, or event data in binary mode

undefined

Event data payload (binary mode) or CloudEvent (structured mode)

Responses
201

CloudEvent(s) successfully ingested

Schema — OPTIONAL
undefined
207

Multi-Status (partial success for batches)

Schema — OPTIONAL
success boolean — OPTIONAL
processed number — OPTIONAL
failed number — OPTIONAL
events object[] — OPTIONAL
id uuid — OPTIONAL
externalId string — OPTIONAL
type string — OPTIONAL
errors object[] — OPTIONAL
index number — OPTIONAL
error string — OPTIONAL
400

Invalid CloudEvent format

Schema — OPTIONAL
success boolean — OPTIONAL
error string — OPTIONAL