mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
Add a saveRevision API function
Calling saveRevision create an author which name is "API"
This commit is contained in:
parent
a08c50a77d
commit
845788c39d
3 changed files with 83 additions and 0 deletions
|
@ -420,6 +420,15 @@ returns the list of saved revisions of this pad
|
|||
* `{code: 0, message:"ok", data: {savedRevisions: [2, 42, 1337]}}`
|
||||
* `{code: 1, message:"padID does not exist", data: null}`
|
||||
|
||||
#### saveRevision(padID [, rev])
|
||||
* API >= 1.2.11
|
||||
|
||||
saves a revision
|
||||
|
||||
*Example returns:*
|
||||
* `{code: 0, message:"ok", data: null}`
|
||||
* `{code: 1, message:"padID does not exist", data: null}`
|
||||
|
||||
#### padUsersCount(padID)
|
||||
* API >= 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue