summaryrefslogtreecommitdiff
path: root/src/node/handler
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-01-14 08:13:57 -0800
committerJohn McLear <john@mclear.co.uk>2013-01-14 08:13:57 -0800
commit654654b4e1bd4e9440b561a0aa76c5e787b6485b (patch)
tree82ba855682a53d4264e87e5efbe9e93b652bcba2 /src/node/handler
parent2b89fa871326c9c2c8cccc583507736c9de2948e (diff)
parent9687ecbb829721ff6272cfbc7d4a8e3eba9a4892 (diff)
downloadetherpad-lite-654654b4e1bd4e9440b561a0aa76c5e787b6485b.zip
Merge pull request #1342 from spcsser/feature/padlisting
API & backend to list pads on epl instance
Diffstat (limited to 'src/node/handler')
-rw-r--r--src/node/handler/APIHandler.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/node/handler/APIHandler.js b/src/node/handler/APIHandler.js
index 0bcd5f0c..ae93e933 100644
--- a/src/node/handler/APIHandler.js
+++ b/src/node/handler/APIHandler.js
@@ -138,6 +138,42 @@ var version =
, "listAllGroups" : []
, "checkToken" : []
}
+, "1.2.1":
+ { "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" : []
+ }
};
/**