diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 8d1b64f1..93a9b399 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -363,6 +363,15 @@ returns an object of diffs from 2 points in a pad * `{"code":0,"message":"ok","data":{"html":"Welcome to Etherpad!

This 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!

Get involved with Etherpad at http://etherpad.org
aw

","authors":["a.HKIv23mEbachFYfH",""]}}` * `{"code":4,"message":"no or wrong API Key","data":null}` +#### restoreRevision(padId, rev) + * API >= 1.2.11 + +Restores revision from past as new changeset + +*Example returns:* + * {code:0, message:"ok", data:null} + * {code: 1, message:"padID does not exist", data: null} + ### Chat #### getChatHistory(padID, [start, end]) * API >= 1.2.7