From 4a012acd5255585045babfb38202e9df4bb1fdee Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 4 May 2023 12:27:24 +0200 Subject: [bugfix] Rework notifs to use min_id for paging up (#1734) --- docs/api/swagger.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'docs/api') 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: -- cgit v1.2.3