summaryrefslogtreecommitdiff
path: root/src/node/handler/APIHandler.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-04-01 13:56:52 +0100
committerJohn McLear <john@mclear.co.uk>2015-04-01 13:56:52 +0100
commit27ae48686d43925244aa29787f905e254d709fb0 (patch)
tree61d8552b4fa81d38ca7ca8761a31e97f0d3ddbc8 /src/node/handler/APIHandler.js
parent32a09ff461039b8619accdccb64a72f58127b195 (diff)
downloadetherpad-lite-27ae48686d43925244aa29787f905e254d709fb0.zip
reintroduce removed api points that were removed by mistake
Diffstat (limited to 'src/node/handler/APIHandler.js')
-rw-r--r--src/node/handler/APIHandler.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node/handler/APIHandler.js b/src/node/handler/APIHandler.js
index a9df3abc..b4d24201 100644
--- a/src/node/handler/APIHandler.js
+++ b/src/node/handler/APIHandler.js
@@ -417,6 +417,9 @@ var version =
, "setHTML" : ["padID", "html"]
, "getAttributePool" : ["padID"]
, "getRevisionsCount" : ["padID"]
+ , "getSavedRevisionsCount" : ["padID"]
+ , "listSavedRevisions" : ["padID"]
+ , "saveRevision" : ["padID", "rev"]
, "getRevisionChangeset" : ["padID", "rev"]
, "getLastEdited" : ["padID"]
, "deletePad" : ["padID"]
@@ -435,10 +438,10 @@ var version =
, "sendClientsMessage" : ["padID", "msg"]
, "listAllGroups" : []
, "checkToken" : []
+ , "appendChatMessage" : ["padID", "text", "authorID", "time"]
, "getChatHistory" : ["padID"]
, "getChatHistory" : ["padID", "start", "end"]
, "getChatHead" : ["padID"]
- , "appendChatMessage" : ["padID", "text", "authorID", "time"]
, "restoreRevision" : ["padID", "rev"]
}
};