Skip to content

Etherpad lite plugin to send HTTP queries for some server-side Etherpad events.

Notifications You must be signed in to change notification settings

dolphin-emu/ep_http_hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Etherpad lite plugin to send HTTP queries for some server-side Etherpad events.

Resources

Stars

Watchers

Forks

Packages

No packages published