Repository navigation
docs(api): publish existing issue linking endpoints as experimental - #124068
Merged
Merged
Conversation
This was referenced Sep 10, 2026
betegon
added a commit
that referenced
this pull request
Sep 10, 2026
The generated [@sentry/api](https://www.npmjs.com/package/@sentry/api) client is missing fields accepted by existing public issue-linking APIs. Document optional `repo` and `comment` on the native link PUT, `per_page` on the organization repository list, and `cursor` on the group's external issue list. This changes schema declarations only. Endpoint visibility, runtime behavior, and permissions are unchanged; all six private operations discussed in #124068 remain excluded from the public schema. Validation: four existing apidocs tests pass, including request-property and required-field assertions. OpenAPI generation, API examples, targeted mypy, and prek pass. The generated schema also confirms both pagination parameters and the continued exclusion of the six private operations. The separate proposal to publish those private operations remains in #124068. This PR can merge independently.
betegon
marked this pull request as ready for review
September 10, 2026 19:36
Member
Author
|
@wedamija 🙏 :plz: |
wedamija
approved these changes
Sep 14, 2026
cvxluo
approved these changes
Sep 14, 2026
| return resolve_type_hint(self.target.typeSchema) | ||
|
|
||
|
|
||
| class SentryAppIssueActionSerializerExtension(OpenApiSerializerExtension): |
Contributor
There was a problem hiding this comment.
curious what this is for? closest looking thing i can think of is the pattern in group_integration_details but that endpoint is already public
Member
Author
There was a problem hiding this comment.
from what i've read, apps define their own top-level form fields, which the endpoint already forwards to their callback. so this extension adds additionalProperties: true so generated clients can accept those fields, and the link/create action enum. It only affects the schema not the runtime
This branch was successfully deployed
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.
These endpoints are already accessible. This marks them
PUBLIC_EXPERIMENTALsosentry-api-schemaincludes them in generated clients such as @sentry/api, allowing the CLI and MCP to use typed operations for issue linking.They are published as experimental, with an explicit warning that they may change incompatibly. OpenAPI includes
x-sentry-experimental: trueand the standard experimental notice; this does not make a stable API commitment.Includes the schemas, response types, and tests needed to publish these operations. The authorization matrix gets fixtures for the newly published routes. Authentication, permission classes, and runtime linking behavior are unchanged.
Validation: generated OpenAPI and verified all six operations carry the experimental marker and notice. The 13 affected API docs tests, two publication-status tests, and 32 authentication-matrix cases passed. Prek and diff checks passed.