sentry icon indicating copy to clipboard operation
sentry copied to clipboard

feat(api-idorslug): Rename Path paramaters to `organization_id_or_slug`

Open iamrajjoshi opened this issue 1 year ago • 2 comments

I am working on making our APIs work with slug and id in our path parameters. Over the path month, we have updated the endpoints so they can support both parameters. As a final step, we are renaming the parameters from {resource}.slug to {resource}.id_or_slug.

A Breakdown of the changes: https://github.com/getsentry/sentry/pull/70378 https://github.com/getsentry/sentry/pull/70384 https://github.com/getsentry/sentry/pull/70389

For more information, refer to: https://www.notion.so/sentry/Make-APIs-work-with-Slug-ID-cbaf68b883b843d499191e9cc4c116d3 and https://github.com/getsentry/sentry/pull/69716#issuecomment-2080446567

iamrajjoshi avatar May 01 '24 19:05 iamrajjoshi

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

github-actions[bot] avatar May 01 '24 20:05 github-actions[bot]

Bundle Report

Bundle size has no change :white_check_mark:

codecov[bot] avatar May 01 '24 20:05 codecov[bot]