diff options
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/swagger.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 8d11ba7da..07c939188 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -157,6 +157,14 @@ definitions: description: The default posting content type for new statuses. type: string x-go-name: StatusContentType + web_visibility: + description: |- + Visibility level(s) of posts to show for this account via the web api. + "public" = default, show only Public visibility posts on the web. + "unlisted" = show Public *and* Unlisted visibility posts on the web. + "none" = show no posts on the web, not even Public ones. + type: string + x-go-name: WebVisibility title: Source represents display or publishing preferences of user's own account. type: object x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model @@ -4400,6 +4408,14 @@ paths: in: formData name: hide_collections type: boolean + - description: |- + Posts to show on the web view of the account. + "public": default, show only Public visibility posts on the web. + "unlisted": show Public *and* Unlisted visibility posts on the web. + "none": show no posts on the web, not even Public ones. + in: formData + name: web_visibility + type: string - description: Name of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.) in: formData name: fields_attributes[0][name] |