summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-03-15 03:43:24 -0700
committerLibravatar GitHub <noreply@github.com>2024-03-15 11:43:24 +0100
commit4a56f310472b5a5af9dfb6c0dd3306d76454c1b1 (patch)
tree85cbd7305f82283afcb8e2b70c3007a790f73e5b /docs/api
parent[chore] Different error message for net/mail parsing on go 1.21.8 and above (... (diff)
downloadgotosocial-4a56f310472b5a5af9dfb6c0dd3306d76454c1b1.tar.xz
[chore] Swagger: add missing paging params to bookmarks list (#2759)
No code changes.
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index ad23d9e84..51d8b6e78 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -5177,6 +5177,20 @@ paths:
get:
description: Get an array of statuses bookmarked in the instance
operationId: bookmarksGet
+ parameters:
+ - default: 30
+ description: Number of statuses to return.
+ in: query
+ name: limit
+ type: integer
+ - description: Return only bookmarked statuses *OLDER* than the given bookmark ID. The status with the corresponding bookmark ID will not be included in the response.
+ in: query
+ name: max_id
+ type: string
+ - description: Return only bookmarked statuses *NEWER* than the given bookmark ID. The status with the corresponding bookmark ID will not be included in the response.
+ in: query
+ name: min_id
+ type: string
produces:
- application/json
responses: