Merge pull request #1996 from s1341/add_pad_copy
add some documentation for move/copy
This commit is contained in:
commit
47efc1f8d5
1 changed files with 18 additions and 0 deletions
|
@ -425,6 +425,24 @@ returns the list of users that are currently editing this pad
|
||||||
|
|
||||||
deletes a pad
|
deletes a pad
|
||||||
|
|
||||||
|
*Example returns:*
|
||||||
|
* `{code: 0, message:"ok", data: null}`
|
||||||
|
* `{code: 1, message:"padID does not exist", data: null}`
|
||||||
|
|
||||||
|
#### copyPad(sourceID, destinationID[, force=false])
|
||||||
|
* API >= 1.2.8
|
||||||
|
|
||||||
|
copies a pad with full history and chat. If force is true and the destination pad exists, it will be overwritten.
|
||||||
|
|
||||||
|
*Example returns:*
|
||||||
|
* `{code: 0, message:"ok", data: null}`
|
||||||
|
* `{code: 1, message:"padID does not exist", data: null}`
|
||||||
|
|
||||||
|
#### movePad(sourceID, destinationID[, force=false])
|
||||||
|
* API >= 1.2.8
|
||||||
|
|
||||||
|
moves a pad. If force is true and the destination pad exists, it will be overwritten.
|
||||||
|
|
||||||
*Example returns:*
|
*Example returns:*
|
||||||
* `{code: 0, message:"ok", data: null}`
|
* `{code: 0, message:"ok", data: null}`
|
||||||
* `{code: 1, message:"padID does not exist", data: null}`
|
* `{code: 1, message:"padID does not exist", data: null}`
|
||||||
|
|
Loading…
Reference in a new issue