New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish webhook or something similar #153
Comments
That's a cool idea and doesn't seem too much work. I'll look into it. |
To support a webhook we need:
The // register event
{
"url": "the url that gets a POST event",
"name": "optional name for the hook",
"events": [
"crate_add",
"crate_update",
"crate_delete"
]
} If the In case of an event, kellnr sends a // event
{
"id": "x",
"name": "optional name",
"event": "crate_add",
"data": {
// relevant data for the event
}
} |
The webhook API can be a first step to support a separate builder container, to keep the kellnr image small. If a new crate/version is uploaded, call a webhook to the builder container. #276 |
Adhere to the https://github.com/standard-webhooks/standard-webhooks/blob/main/spec/standard-webhooks.md where possible |
Was thinking it'd be nice to have kellnr hit a webhook or run a script upon successful publish, notifying of newly published crate/version to something like Slack.
The text was updated successfully, but these errors were encountered: