summaryrefslogtreecommitdiff
path: root/src/node/handler/APIHandler.js
diff options
context:
space:
mode:
authormluto <m@luto.at>2013-01-26 14:35:26 +0100
committermluto <m@luto.at>2013-01-26 14:35:26 +0100
commitcb2b93b1339d27a21e3937ab58ea1614d7118b04 (patch)
tree8733e495fae23246974fde479cbb86f44fb7a927 /src/node/handler/APIHandler.js
parentcf1bba8e65c55ad218ead244bc44c60b926970f4 (diff)
downloadetherpad-lite-cb2b93b1339d27a21e3937ab58ea1614d7118b04.zip
Added getChatHistory and getChatHead (api+code+doc)
Diffstat (limited to 'src/node/handler/APIHandler.js')
-rw-r--r--src/node/handler/APIHandler.js39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/node/handler/APIHandler.js b/src/node/handler/APIHandler.js
index ae93e933..6085edbf 100644
--- a/src/node/handler/APIHandler.js
+++ b/src/node/handler/APIHandler.js
@@ -174,6 +174,45 @@ var version =
, "listAllGroups" : []
, "checkToken" : []
}
+, "1.2.7":
+ { "createGroup" : []
+ , "createGroupIfNotExistsFor" : ["groupMapper"]
+ , "deleteGroup" : ["groupID"]
+ , "listPads" : ["groupID"]
+ , "listAllPads" : []
+ , "createPad" : ["padID", "text"]
+ , "createGroupPad" : ["groupID", "padName", "text"]
+ , "createAuthor" : ["name"]
+ , "createAuthorIfNotExistsFor": ["authorMapper" , "name"]
+ , "listPadsOfAuthor" : ["authorID"]
+ , "createSession" : ["groupID", "authorID", "validUntil"]
+ , "deleteSession" : ["sessionID"]
+ , "getSessionInfo" : ["sessionID"]
+ , "listSessionsOfGroup" : ["groupID"]
+ , "listSessionsOfAuthor" : ["authorID"]
+ , "getText" : ["padID", "rev"]
+ , "setText" : ["padID", "text"]
+ , "getHTML" : ["padID", "rev"]
+ , "setHTML" : ["padID", "html"]
+ , "getRevisionsCount" : ["padID"]
+ , "getLastEdited" : ["padID"]
+ , "deletePad" : ["padID"]
+ , "getReadOnlyID" : ["padID"]
+ , "setPublicStatus" : ["padID", "publicStatus"]
+ , "getPublicStatus" : ["padID"]
+ , "setPassword" : ["padID", "password"]
+ , "isPasswordProtected" : ["padID"]
+ , "listAuthorsOfPad" : ["padID"]
+ , "padUsersCount" : ["padID"]
+ , "getAuthorName" : ["authorID"]
+ , "padUsers" : ["padID"]
+ , "sendClientsMessage" : ["padID", "msg"]
+ , "listAllGroups" : []
+ , "checkToken" : []
+ , "getChatHistory" : ["padID"]
+ , "getChatHistory" : ["padID", "start", "end"]
+ , "getChatHead" : ["padID"]
+ }
};
/**