Skip to content

ref(apis): Add suggested_api to cell-related deprecated APIs#119065

Merged
mjq merged 1 commit into
masterfrom
mjq/cell-suggested-endpoints
Jul 7, 2026
Merged

ref(apis): Add suggested_api to cell-related deprecated APIs#119065
mjq merged 1 commit into
masterfrom
mjq/cell-suggested-endpoints

Conversation

@mjq

@mjq mjq commented Jul 6, 2026

Copy link
Copy Markdown
Member

We have a bunch of APIs marked @deprecated due to incompatibility with cells (missing orgs in their path). This is meant to be a very small QoL improvement to readers and callers to point out the proper org-scoped endpoint to use instead.

For readers: Personally I did this because I got confused by seeing the @deprecated annotation on an endpoint I knew was still in use, before realizing that the same endpoint code is mounted at two named URLs, and only one was deprecated. This hopefully helps future readers see that the endpoint as a whole isn't deprecated, just one of the URLs pointing to it.

For callers: this will put the new path in X-Sentry-Replacement-Endpoint. IDK if anyone's checking them, but I don't think it can hurt.

If there's any risk here we can scrap the PR, it's a marginal improvement at best.


🤖 Used Claude to find candidate endpoints, find the replacement names, and confirm that every suggested_api actually exists in urls.py.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 6, 2026
@mjq mjq marked this pull request as ready for review July 6, 2026 17:48
@mjq mjq requested review from a team as code owners July 6, 2026 17:48
@mjq mjq merged commit c8177a4 into master Jul 7, 2026
71 of 72 checks passed
@mjq mjq deleted the mjq/cell-suggested-endpoints branch July 7, 2026 16:47
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.

2 participants