Repository navigation
ref(api-docs): Give the remaining public operations token IDs and summaries - #131209
Merged
Merged
Conversation
…maries 34 operations in the public spec still had sentence-style operationIds and no summary: 19 from @extend_schema decorators that the token migration missed, and 15 from the legacy api-docs/paths files. Move each sentence to summary and set operationId to the name that @sentry/api already derives for the operation, so docs titles and SDK exports stay the same. Fixes #131197 Co-Authored-By: BYK <[email protected]>
BYK
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
34 operations in the public spec still had a sentence as their
operationIdand nosummary. This gives each one a camelCase tokenoperationIdand moves the sentence tosummary, the same shape the token migration (#117337, #117339, #117403) gave the other operations. The list has moved since #131197 was filed, so it now has two groups:@extend_schemadecorators that the migration missed: notebooks, trace item stats, custom inbound filters,Bulk Update Project Environments, project user feedback, and the issue integration details endpoint.api-docs/paths/files: project issues, tag values, service hooks, the Integration Platform installations and external issues, release commit files, and spike protection. Each file gets the token and asummary. I didn't change anypublish_statusand didn't migrate these files to drf-spectacular. That migration means publishing them through the decorators, which is a public-API decision for each owning team. Spike protection's implementation is in getsentry anyway.Nothing changes for docs or SDK users. sentry-docs takes the page title and slug from
summary || operationId, so titles and URLs stay the same. Each token is the name that@sentry/api'snormalizeOperationIdalready derives for that operation, so no SDK export is renamed.Open questions.
listOrganizationReleaseCommitfiles,listOrganizationTraceItemsStats(it returns one stats object),createOrganizationSpikeProtectionnext todeleteOrganizationSpikeProtections, andupdateOrganizationNotebookBlocksOrder(the convention suggestsreorder…). Renaming any of them would break the SDK, so I left them for a decision.ProjectServiceHooksEndpoint.postsaysregisterProjectServiceHookwhere the docs and SDK usecreateProjectHook, andSentryAppInstallationsEndpoint.getandSentryAppInstallationExternalIssuesEndpoint.poststill have sentence IDs. They only matter once those endpoints are published through the decorators, so I left them out of this PR.Fixes #131197
via @BYK.
--
View Session [Sentry]