-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(replays): Add bulk delete endpoint blueprint #92315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #92315 +/- ##
==========================================
- Coverage 88.02% 88.02% -0.01%
==========================================
Files 10324 10326 +2
Lines 594990 595629 +639
Branches 23127 23127
==========================================
+ Hits 523766 524282 +516
- Misses 70731 70854 +123
Partials 493 493 |
src/sentry/replays/blueprints/api.md
Outdated
| dateUpdated | string | - | | ||
| rangeStart | string | The minimum UTC timestamp in the deletion range. | | ||
| rangeEnd | string | The maximum UTC timestamp in the deletion range. | | ||
| environment | optional[string] | The environment to delete replays from. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be multiple envs?
|
||
Delete a collection of replays. Deletes are throttled and will take some time to complete. The number of events expected to be deleted is returned on the meta object. This number is ephemeral and can change. It is only returned for informational reasons. | ||
|
||
- Request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a request params table here too
} | ||
``` | ||
|
||
- Response 201 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Response 201 | |
- Response 201 | |
Response attributes are the same as GET. |
|
||
### Get Replay Delete Job [GET] | ||
|
||
Fetch a replay delete job instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No query params right?
src/sentry/replays/blueprints/api.md
Outdated
|
||
### Schedule Replay Collection Deletion [PUT] | ||
|
||
An empty PUT request is made to the endpoint. The instance is scheduled for processing if it was in a pending state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When would it be pending?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just some suggestions, no strong opinions
src/sentry/replays/blueprints/api.md
Outdated
} | ||
``` | ||
|
||
### Schedule Replay Collection Deletion [PUT] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between this and creating a deletion?
Co-authored-by: Billy Vong <[email protected]>
Co-authored-by: Billy Vong <[email protected]>
Co-authored-by: Andrew Liu <[email protected]>
Co-authored-by: Bruno Garcia <[email protected]>
Co-authored-by: Andrew Liu <[email protected]>
Co-authored-by: Andrew Liu <[email protected]>
Co-authored-by: Bruno Garcia <[email protected]>
Co-authored-by: Billy Vong <[email protected]>
Co-authored-by: Bruno Garcia <[email protected]>
Co-authored-by: Bruno Garcia <[email protected]>
Adds blueprint for proposed bulk delete endpoint. --------- Co-authored-by: Billy Vong <[email protected]> Co-authored-by: Andrew Liu <[email protected]> Co-authored-by: Bruno Garcia <[email protected]>
Adds blueprint for proposed bulk delete endpoint. --------- Co-authored-by: Billy Vong <[email protected]> Co-authored-by: Andrew Liu <[email protected]> Co-authored-by: Bruno Garcia <[email protected]>
Adds blueprint for proposed bulk delete endpoint.