summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-04 12:27:24 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-04 12:27:24 +0200
commit4a012acd5255585045babfb38202e9df4bb1fdee (patch)
treecb8ed7d3fba01751de44fd96bdf905b967f93c7a /docs/api
parent[bugfix] Fix invalid og:description on account w/ empty note (#1733) (diff)
downloadgotosocial-4a012acd5255585045babfb38202e9df4bb1fdee.tar.xz
[bugfix] Rework notifs to use min_id for paging up (#1734)
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger.yaml22
1 files changed, 12 insertions, 10 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index ab54bebdb..540a7dbc3 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -4574,6 +4574,18 @@ paths:
````
operationId: notifications
parameters:
+ - description: Return only notifications *OLDER* than the given max notification ID. The notification with the specified ID will not be included in the response.
+ in: query
+ name: max_id
+ type: string
+ - description: Return only notifications *newer* than the given since notification ID. The notification with the specified ID will not be included in the response.
+ in: query
+ name: since_id
+ type: string
+ - description: Return only notifications *immediately newer* than the given since notification ID. The notification with the specified ID will not be included in the response.
+ in: query
+ name: min_id
+ type: string
- default: 20
description: Number of notifications to return.
in: query
@@ -4584,16 +4596,6 @@ paths:
type: string
name: exclude_types
type: array
- - description: Return only notifications *OLDER* than the given max status ID. The status with the specified ID will not be included in the response.
- in: query
- name: max_id
- type: string
- - description: |-
- Return only notifications *NEWER* than the given since status ID.
- The status with the specified ID will not be included in the response.
- in: query
- name: since_id
- type: string
produces:
- application/json
responses: