summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorLuc Didry <luc@didry.org>2013-11-07 22:46:35 +0100
committerLuc Didry <luc@didry.org>2013-11-07 22:46:35 +0100
commit5bccfdf060303ccaad8d7e4765f8310d5616044e (patch)
tree087cedfbd07ab8fea23c64bf8368519e2888bd6a /doc/api
parenta4194efaf15488eba233f5d66ae0a946a56909e0 (diff)
downloadetherpad-lite-5bccfdf060303ccaad8d7e4765f8310d5616044e.zip
Forgot a small chunck of documentation for getRevisionChangeset
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/http_api.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/http_api.md b/doc/api/http_api.md
index 21a1c459..41ab8cde 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