From 5bccfdf060303ccaad8d7e4765f8310d5616044e Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Thu, 7 Nov 2013 22:46:35 +0100 Subject: [PATCH] Forgot a small chunck of documentation for getRevisionChangeset --- doc/api/http_api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 21a1c459b..41ab8cde3 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -332,7 +332,7 @@ returns the attribute pool of a pad }` * `{"code":1,"message":"padID does not exist","data":null}` -#### getRevisionChangeset(padID) +#### getRevisionChangeset(padID, [rev]) * API >= 1.2.8 get the changeset at a given revision, or last revision if 'rev' is not defined. @@ -343,6 +343,7 @@ get the changeset at a given revision, or last revision if 'rev' is not defined. "data" : "Z:1>6b|5+6b$Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http://etherpad.org\n" }` * `{"code":1,"message":"padID does not exist","data":null}` + * `{"code":1,"message":"rev is higher than the head revision of the pad","data":null}` #### createDiffHTML(padID, startRev, endRev) * API >= 1.2.7