diff --git a/sentry/projects.go b/sentry/projects.go index 6c6afd9..1fa7c58 100644 --- a/sentry/projects.go +++ b/sentry/projects.go @@ -92,9 +92,16 @@ type ProjectSummaryTeam struct { // https://docs.sentry.io/api/projects/ type ProjectsService service +type ListProjectsParams struct { + ListCursorParams + + Options string `url:"options,omitempty"` + Query string `url:"query,omitempty"` +} + // List projects available. // https://docs.sentry.io/api/projects/list-your-projects/ -func (s *ProjectsService) List(ctx context.Context, params *ListCursorParams) ([]*Project, *Response, error) { +func (s *ProjectsService) List(ctx context.Context, params *ListProjectsParams) ([]*Project, *Response, error) { u := "0/projects/" u, err := addQuery(u, params) if err != nil {