mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 00:45:01 -04:00
Update http_api.md
More information for public Staus HTTP API Calls
This commit is contained in:
parent
0c8efa27f6
commit
0c73a48605
1 changed files with 3 additions and 1 deletions
|
@ -559,11 +559,12 @@ returns the id of a pad which is assigned to the readOnlyID
|
||||||
#### setPublicStatus(padID, publicStatus)
|
#### setPublicStatus(padID, publicStatus)
|
||||||
* API >= 1
|
* API >= 1
|
||||||
|
|
||||||
sets a boolean for the public status of a pad
|
sets a boolean for the public status of a group 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}`
|
||||||
|
* `{code: 1, message:"You can only get/set the publicStatus of pads that belong to a group", data: null}`
|
||||||
|
|
||||||
#### getPublicStatus(padID)
|
#### getPublicStatus(padID)
|
||||||
* API >= 1
|
* API >= 1
|
||||||
|
@ -573,6 +574,7 @@ return true of false
|
||||||
*Example returns:*
|
*Example returns:*
|
||||||
* `{code: 0, message:"ok", data: {publicStatus: true}}`
|
* `{code: 0, message:"ok", data: {publicStatus: true}}`
|
||||||
* `{code: 1, message:"padID does not exist", data: null}`
|
* `{code: 1, message:"padID does not exist", data: null}`
|
||||||
|
* `{code: 1, message:"You can only get/set the publicStatus of pads that belong to a group", data: null}`
|
||||||
|
|
||||||
#### listAuthorsOfPad(padID)
|
#### listAuthorsOfPad(padID)
|
||||||
* API >= 1
|
* API >= 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue