Etherpad lite plugin to send HTTP queries for some server-side Etherpad events.
Go to file
2023-01-11 08:53:45 +01:00
.gitignore Initial commit. 2015-06-20 23:48:14 +02:00
ep.json Initial commit. 2015-06-20 23:48:14 +02:00
main.js deps: remove crypto in favor of node:crypto, update rest 2023-01-11 08:41:47 +01:00
package-lock.json package: add etherpad-lite to peerDeps 2023-01-11 08:53:45 +01:00
package.json package: add etherpad-lite to peerDeps 2023-01-11 08:53:45 +01:00
README.md Initial commit. 2015-06-20 23:48:14 +02:00

ep_http_hook

Pushes pad updates to a remote location through HTTP POST requests. Batches updates to avoid overloading the remote location.

Settings

"ep_http_hook": {
  "url": "https://...",
  "hmac_key": "secret"
}

POST content

The updates are sent as POST requests with the following body:

  • HMAC-SHA256 of the payload (in hex encoding).
  • A space character.
  • The payload data as JSON.

The payload is a list of events which can be of the following types (identified by their type field):

  • pad_update: A pad was updated. The pad id is contained in the id field, and its raw contents in the text field.