Skip to content

docs(dashboards): Document starring, favorite, and visit endpoints - #130475

Merged
DominikB2014 merged 3 commits into
masterfrom
dominikbuszowiecki/docs-dashboard-starred-favorite-visit
Nov 12, 2026
Merged

DominikB2014 merged 3 commits into
masterfrom
dominikbuszowiecki/docs-dashboard-starred-favorite-visit

Conversation

@DominikB2014

Copy link
Copy Markdown
Contributor

Add @extend_schema docs to the dashboard starring, favorite, and visit endpoints.

  • GET dashboards/starred/ reuses DashboardListResponse from the public list endpoint.
  • PUT dashboards/{id}/favorite/ documents shouldFavorite via an inline request serializer (the frontend's field; isFavorited is a legacy alias).
  • Publish status stays PRIVATE; verified the schema by temporarily building as PUBLIC_EXPERIMENTAL with the public API checks.

Fixes ENG-8884

Add extend_schema docs to the starred dashboards list and reorder endpoints and the
dashboard favorite and visit endpoints. Publish status stays PRIVATE for now.

Fixes ENG-8884
@DominikB2014
DominikB2014 requested a review from a team as a code owner November 9, 2026 19:16
@linear-code

linear-code Bot commented Nov 9, 2026

Copy link
Copy Markdown

ENG-8884

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 9, 2026
@DominikB2014
DominikB2014 merged commit 9583898 into master Nov 12, 2026
79 checks passed
@DominikB2014
DominikB2014 deleted the dominikbuszowiecki/docs-dashboard-starred-favorite-visit branch November 12, 2026 15:59
BYK added a commit that referenced this pull request Nov 16, 2026
Part of #131199.

sentry-tui needs to list a user's starred dashboards through the
generated `@sentry/api` SDK. Only published operations reach the SDK,
and this endpoint is `PRIVATE`.

| Endpoint | Decision | Reason |
|---|---|---|
| `GET /organizations/{org}/dashboards/starred/`
(`OrganizationDashboardsStarredEndpoint`) | `PRIVATE` →
**`PUBLIC_EXPERIMENTAL`** | It's user-facing and was fully documented in
#130475 (`listOrganizationStarredDashboards`, which reuses
`DashboardListResponse`). It's still behind
`organizations:dashboards-starred`, so it's experimental, not a firm
public promise. |

The reorder `PUT .../dashboards/starred/order/` isn't on the list, so it
stays `PRIVATE`.

Only `publish_status` changes. Behavior, permissions, responses and
operationIds stay the same, so nothing breaks. The SDK gains one new
export.

In the agent-token permission matrix, the new row turns on
`organizations:dashboards-starred`. It's also listed in
`SERVICE_ACCOUNT_USER_REQUIRED`: the endpoint reads the caller's own
stars, so a service account gets `user-required`, the same as saved
issue views.

Moving sentry-tui or the CLI onto this operation waits for an
`@sentry/api` release that includes it.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3A9b1f74b4116b1c593b2e53f2755e73d0 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A9b1f74b4116b1c593b2e53f2755e73d0)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A9b1f74b4116b1c593b2e53f2755e73d0/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — 5d444105 Deployed Nov 10, 2026 by vercel[bot]
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.

3 participants