Skip to content

Commit

Permalink
feat: add integration_id to list organization repositories params
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyuan committed Oct 28, 2024
1 parent 954549e commit 036af7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sentry/organization_repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ type OrganizationRepository struct {
}

// OrganizationRepositoriesService provides methods for accessing Sentry organization repositories API endpoints.
// Paths: https://github.com/getsentry/sentry/blob/22.7.0/src/sentry/api/urls.py#L1385-L1394
// Endpoints: https://github.com/getsentry/sentry/blob/22.7.0/src/sentry/api/endpoints/organization_repositories.py
// Endpoints: https://github.com/getsentry/sentry/blob/22.7.0/src/sentry/api/endpoints/organization_repository_details.py
// Endpoints: https://github.com/getsentry/sentry/blob/24.10.0/src/sentry/integrations/api/endpoints/organization_repositories.py
// Endpoints: https://github.com/getsentry/sentry/blob/24.10.0/src/sentry/integrations/api/endpoints/organization_repository_details.py
type OrganizationRepositoriesService service

type ListOrganizationRepositoriesParams struct {
ListCursorParams
IntegrationId string `url:"integration_id,omitempty"`
// omitting status defaults to only active.
// sending empty string shows everything, which is a more reasonable default.
Status string `url:"status"`
Expand Down

0 comments on commit 036af7f

Please sign in to comment.