Skip to content

Conversation

@shashjar
Copy link
Member

@shashjar shashjar commented Oct 16, 2025

Updates documentation for the ProjectGroupIndexEndpoint (/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/).

GET (List a Project's Issues)

Before:
image

After:
image

PUT (Bulk Mutate a List of Issues)

Before:
image

After:
image

DELETE (Bulk Remove a List of Issues)

Before:
image

After:
image

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 16, 2025

for path, endpoint in items:
if "{var}/{issue_id}" in path:
if "/{var}/" in path:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/ does not fit the "{var}/{issue_id}" pattern, so changing to be more general. I don't see any usages of "var" other than in the ISSUES_OR_GROUPS parameter.

"PUT": ApiPublishStatus.EXPERIMENTAL,
"DELETE": ApiPublishStatus.PUBLIC,
"GET": ApiPublishStatus.PUBLIC,
"PUT": ApiPublishStatus.PUBLIC,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-PUBLIC endpoints are filtered out in preprocessing for the OpenAPI generation

@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 94.11765% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/apidocs/hooks.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #101618      +/-   ##
===========================================
+ Coverage   79.87%    80.98%   +1.10%     
===========================================
  Files        8697      8703       +6     
  Lines      386780    387269     +489     
  Branches    24514     24514              
===========================================
+ Hits       308958    313613    +4655     
+ Misses      77474     73308    -4166     
  Partials      348       348              

@getsantry
Copy link
Contributor

getsantry bot commented Nov 8, 2025

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Nov 8, 2025
@getsantry getsantry bot closed this Nov 16, 2025
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 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants