Skip to content

Append an event to an approved captured source

POST
/api/v1/channels/sources/{realmName}/{sourceName}/events
curl --request POST \
--url http://localhost:11044/api/v1/channels/sources/example/example/events \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'

Requires authenticated owner, installationId, sourceRevision and event. Returns a durable receipt; exact event retries replay it.

realmName
required
string

Name of a captured realm installed, and not revoked, in the signed-in owner’s world; 400 otherwise, so the answer says nothing about realms the owner cannot append to. 409 when its live installation is not the body’s installationId

sourceName
required
string

Name of a source the realm declares and the owner has approved; 400 when it is undeclared or its approval no longer holds. 409 when its revision is not the body’s sourceRevision

The durable receipt: receiptId, offset and replayed

Media type*/*
object