atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

Notifications, subscriptions and feeds

Open joepio opened this issue 4 years ago • 1 comments

See https://github.com/ontola/atomic-data-docs/issues/28 for spec discussion.

WebHooks

One potential solution for dealing with notifications is to add WebHook support.

  • Send notifications to chat apps like Discord / Slack

There is https://www.standardwebhooks.com/ which could be used as a standard. Not sure if this means these webhooks can instantly be used in Chat apps.

Naive implementation idea

  • A collection has a webhooks property. Each item in that array represents a webhook URL.
  • When an items is added or removed from that array, we send a request to each of these webhooks

joepio avatar Jan 20 '21 15:01 joepio

A use case @Polleps mentioned : rebuild a website when content is updated by calling a webhook on a platform like netlify

joepio avatar Oct 11 '24 14:10 joepio