Append an event to an approved captured source
POST
/api/v1/channels/sources/{realmName}/{sourceName}/events
const url = 'http://localhost:11044/api/v1/channels/sources/example/example/events';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”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
Responses
Section titled “Responses”The durable receipt: receiptId, offset and replayed
Media type*/*

