summaryrefslogtreecommitdiff
path: root/docs/api/swagger.yaml
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-09-09 15:56:58 -0700
committerLibravatar GitHub <noreply@github.com>2024-09-09 15:56:58 -0700
commit540edef0c20dad4ea13d8af091ccf69796b848b6 (patch)
treed53106b4170f571a4472e60d35f9b7e2445269d4 /docs/api/swagger.yaml
parent[feature/frontend] Add options to include Unlisted posts or hide all posts (#... (diff)
downloadgotosocial-540edef0c20dad4ea13d8af091ccf69796b848b6.tar.xz
[feature] Implement exclusive lists (#3280)
Fixes #2616
Diffstat (limited to 'docs/api/swagger.yaml')
-rw-r--r--docs/api/swagger.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index 07c939188..3db6acb99 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -2060,6 +2060,12 @@ definitions:
x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model
list:
properties:
+ exclusive:
+ description: |-
+ Exclusive setting for this list.
+ If true, hide posts from members of this list from your home timeline.
+ type: boolean
+ x-go-name: Exclusive
id:
description: The ID of the list.
type: string
@@ -7799,10 +7805,20 @@ paths:
list = Show replies to members of the list
none = Show replies to no one
Sample: list
+ enum:
+ - followed
+ - list
+ - none
in: formData
name: replies_policy
type: string
x-go-name: RepliesPolicy
+ - default: false
+ description: Hide posts from members of this list from your home timeline.
+ in: formData
+ name: exclusive
+ type: boolean
+ x-go-name: Exclusive
produces:
- application/json
responses:
@@ -7920,6 +7936,10 @@ paths:
in: formData
name: replies_policy
type: string
+ - description: Hide posts from members of this list from your home timeline.
+ in: formData
+ name: exclusive
+ type: boolean
produces:
- application/json
responses: