Merge pull request #2881 from luser/append-text-docs
Add appendText API (from #2810) to docs.
This commit is contained in:
commit
9335ae00d0
|
@ -61,7 +61,7 @@ Portal submits content into new blog post
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### API version
|
### API version
|
||||||
The latest version is `1.2.12`
|
The latest version is `1.2.13`
|
||||||
|
|
||||||
The current version can be queried via /api.
|
The current version can be queried via /api.
|
||||||
|
|
||||||
|
@ -280,6 +280,16 @@ returns the text of a pad
|
||||||
|
|
||||||
sets the text of a pad
|
sets the text of a pad
|
||||||
|
|
||||||
|
*Example returns:*
|
||||||
|
* `{code: 0, message:"ok", data: null}`
|
||||||
|
* `{code: 1, message:"padID does not exist", data: null}`
|
||||||
|
* `{code: 1, message:"text too long", data: null}`
|
||||||
|
|
||||||
|
#### appendText(padID, text)
|
||||||
|
* API >= 1.2.13
|
||||||
|
|
||||||
|
appends text to a pad
|
||||||
|
|
||||||
*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 New Issue