You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Java client for Etherpad Lite’s HTTP JSON API.
Etherpad Lite is a collaborative editor provided by the Etherpad Foundation.
See the Etherpad lite project for information on how to
install and configure your own Etherpad Lite instance, and read the
Etherpad documentation for an in-depth description of
Etherpad Lite’s HTTP API.
Latest release currently targets Etherpad Lite API v1.2.13.
The plan is to keep up with the most recent version of the Etherpad Lite API.
(Note that we're talking about API versions here, not release versions).
EXAMPLE
EPLiteClientclient = newEPLiteClient("https://localhost:9001", "K8OF91QMQYUvrNu3e9rJ7FnnVgaB3m9q");
// Create pad and set textclient.createPad("my_pad");
client.setText("my_pad", "foo!!");
// Get pad textStringtext = client.getText("my_pad").get("text").toString();
// Get list of all pad idsMapresult = client.listAllPads();
ListpadIds = (List) result.get("padIDs");
INTEGRATION TESTING
Integration testing requires a copy of EtherpadLite running at https://localhost:9001 with an API key
of a04f17343b51afaa036a7428171dd873469cd85911ab43be0503d29d2acbbd58