Skip to content

Commit

Permalink
reintroduce removed api points that were removed by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcLear committed Apr 1, 2015
1 parent 32a09ff commit 27ae486
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/node/handler/APIHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"]
}
};
Expand Down
2 changes: 1 addition & 1 deletion tests/backend/specs/api/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('API Versioning', function(){
/* Tests performed
-> createPad(padID)
-> createAuthor([name]) -- should return an authorID
-> appendChatMessage(padID, text, userID, time)
-> appendChatMessage(padID, text, authorID, time)
-> getChatHead(padID)
-> getChatHistory(padID)
*/
Expand Down

0 comments on commit 27ae486

Please sign in to comment.