Skip to content

Remove all non-org-scoped API endpoints #3351

Closed as not planned
Closed as not planned

Description

@dcramer

Summary

Most project-scoped endpoints in src/api/mod.rs have no formal deprecation marker in the Sentry API. Sentry does have a @deprecated decorator with active brownouts, but it has only been applied to alert rule endpoints so far. This migration is preferred but not urgent for most items.

Preferred migration (not formally deprecated)

  • list_releases() — /projects/{org}/{project}/releases/ → /organizations/{org}/releases/ (already used when project is None; remove the project-specific branch)
  • list_organization_project_events() — /projects/{org}/{project}/events/?cursor={} → /organizations/{org}/events/ (add project as query param)
  • list_organization_project_issues() / bulk_update_issue() — /projects/{org}/{project}/issues/?... → /organizations/{org}/issues/ (add project as query param)

No org-scoped equivalent exists yet

Tracked in getsentry/sentry#118963:

assemble_difs (/projects/{org}/{project}/files/difs/assemble/), assemble_build (/projects/{org}/{project}/files/preprodartifacts/assemble/), snapshot creation and upload-options.

Activity

  1. linear-code commented on Jul 2, 2026

    @linear-code
  2. szokeasaurusrex commented on Jul 10, 2026

    @szokeasaurusrex
    Member

    I may be misunderstanding the motivation for this issue. As stated in the issue description, the relevant handlers are not yet deprecated. Is the goal to support the alternative organization endpoints so that we can deprecate the project endpoints?

    Also, given the plans to replace this CLI with getsentry/cli, I am unsure whether this compatibility work is worth adding here. Is the goal simply to support the new endpoints here, so that users who don't upgrade to the new CLI are still covered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Improvementapi

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions