From 0c73a48605c338fe7c8ce2c8c5d19d762f7f6a47 Mon Sep 17 00:00:00 2001 From: Robert Geislinger Date: Thu, 10 Feb 2022 12:38:08 +0100 Subject: [PATCH] Update http_api.md More information for public Staus HTTP API Calls --- doc/api/http_api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 1557764c5..2e7a20814 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -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