Skip to content

feat(api-docs): Document per_page on the issue views list - #131215

Merged
BYK merged 1 commit into
masterfrom
byk/feat/issue-views-per-page
Nov 16, 2026
Merged

BYK merged 1 commit into
masterfrom
byk/feat/issue-views-per-page

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

GET /organizations/{org}/group-search-views/ (listOrganizationIssueViews) pages through self.paginate, which honors per_page (default and max 100). The schema only declared cursor, though. sentry-tui sends per_page on this call, so @sentry/api had no way to express it. This adds the shared VisibilityParams.PER_PAGE parameter. The parameter is optional, so nothing breaks.

This is the one schema gap from #131199 on an endpoint that's already published. The other already-published routes on that list already have operations:

  • GET /users/me/ is retrieveUserDetails (GET /users/{user_id}/). user_id accepts me.
  • GET /organizations/{org}/ai-conversations/ is the same endpoint as GET /organizations/{org}/agents/conversations/. That one is published as listOrganizationAIConversations and takes the same query parameters.

Every other route in #131199 is PRIVATE or EXPERIMENTAL. Adding those to the spec would be a public-API commitment for the owning teams, so they stay open.

Part of #131199

via @BYK.

--

View Session [Sentry]

The endpoint paginates with the default per_page handling, but the
schema only declared cursor, so generated clients couldn't set a page
size.

Refs #131199

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested review from a team as code owners November 16, 2026 11:25
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 16, 2026 11:25
@sentry-junior
sentry-junior Bot requested a review from BYK November 16, 2026 11:25
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 16, 2026
@BYK
BYK merged commit fa94a47 into master Nov 16, 2026
82 checks passed
@BYK
BYK deleted the byk/feat/issue-views-per-page branch November 16, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant