summaryrefslogtreecommitdiff
path: root/internal/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 /internal/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 'internal/api')
-rw-r--r--internal/api/client/bookmarks/bookmarksget.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/internal/api/client/bookmarks/bookmarksget.go b/internal/api/client/bookmarks/bookmarksget.go
index 17808642c..e6489c405 100644
--- a/internal/api/client/bookmarks/bookmarksget.go
+++ b/internal/api/client/bookmarks/bookmarksget.go
@@ -53,6 +53,28 @@ const (
// - OAuth2 Bearer:
// - read:bookmarks
//
+// parameters:
+// -
+// name: limit
+// type: integer
+// description: Number of statuses to return.
+// default: 30
+// in: query
+// -
+// name: max_id
+// type: string
+// 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: min_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
+//
// responses:
// '200':
// description: Array of bookmarked statuses