summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger.yaml29
1 files changed, 27 insertions, 2 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index 46ed95c82..4dfddd8f3 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -7427,10 +7427,35 @@ paths:
in: query
name: limit
type: integer
- - in: query
+ - description: Types of notifications to include. If not provided, all notification types will be included.
+ in: query
items:
+ enum:
+ - follow
+ - follow_request
+ - mention
+ - reblog
+ - favourite
+ - poll
+ - status
+ - admin.sign_up
+ type: string
+ name: types[]
+ type: array
+ - description: Types of notifications to exclude.
+ in: query
+ items:
+ enum:
+ - follow
+ - follow_request
+ - mention
+ - reblog
+ - favourite
+ - poll
+ - status
+ - admin.sign_up
type: string
- name: exclude_types
+ name: exclude_types[]
type: array
produces:
- application/json