mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 10:12:11 +00:00
[chore] Swagger: add missing paging params to bookmarks list (#2759)
No code changes.
This commit is contained in:
parent
15578835a8
commit
4a56f31047
|
@ -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:
|
||||
|
|
|
@ -53,6 +53,28 @@
|
|||
// - 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
|
||||
|
|
Loading…
Reference in a new issue