Title here
Summary here
Publishers will be available in version 1.3.0
Publishers can be used to publish events to external services and destinations. For now only a generic webhook publisher is implemented but more are planned. All publishers are configured in the backstage.
In general a publisher has 3 events it triggers on:
publish: once the event is published in lautiupdate: once the event is updated in lautiunpublish: once the event is deleted or unpublished in lautiEach publisher always has two fields:
The webhook publisher is a very generic one that will send a post request for each event to a configured url.
Url: The external url e.g. https://example.com
Authorization Header: Will set the Authorization header e.g. my-secret
Publish payload:
{
action: "publish",
event: {
id: "...",
...
}
}Update payload:
{
action: "update",
event: {
id: "...",
...
},
id: "..."
}Unpublish payload:
{
action: "unpublish",
id: "..."
}