Add active parameter for groups projects API
What does this MR do and why?
Add support for the active parameter in the
GET /groups/:id/projects endpoint. This parameter filters
projects to exclude those that are archived or marked for
deletion.
The parameter was already handled by the shared project_finder_params helper (lib/api/helpers.rb:828) and the ProjectsFinder (app/finders/projects_finder.rb:322-326), but wasn't declared in the Grape params block, so it was being filtered out by Grape's parameter validation.
Changes:
- Add
activeparameter declaration to groups.rb - Document the parameter behavior in doc/api/groups.md
Changelog: added
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Kai Armstrong