Update http_api.md

More information for public Staus HTTP API Calls
This commit is contained in:
Robert Geislinger 2022-02-10 12:38:08 +01:00 committed by GitHub
parent 0c8efa27f6
commit 0c73a48605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -559,11 +559,12 @@ returns the id of a pad which is assigned to the readOnlyID
#### setPublicStatus(padID, publicStatus)
* 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:*
* `{code: 0, message:"ok", 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)
* API >= 1
@ -573,6 +574,7 @@ return true of false
*Example returns:*
* `{code: 0, message:"ok", data: {publicStatus: true}}`
* `{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)
* API >= 1