forked from 0xWheatyz/SPARC
Add webhook/notification support for completed jobs and score changes #632
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
There is no way for external systems to receive push notifications when batch jobs finish or when a company's innovation score changes significantly.
Roadmap item: P3 > Webhook/notification support
What to do
webhookstable (url, events, secret, enabled).POST /webhooks,GET /webhooks,DELETE /webhooks/{id}.job.completedandscore.changed.Acceptance criteria
X-SPARC-Signatureheader contains the HMAC-SHA256 signature.Closing: already implemented on main.
SPARC/webhooks.pymodule is called fromapi.pyon job completion to fire webhook notifications.