Add filtering by programming language and group id for API
Problem to solve
Currently the Projects API has the option to list projects with a specified attribute for with_programming_language
. Groups API does not have this attribute as an option.
As a client of GitLab API, I want to filter by programming language and group id in one call, so I can get as result the list of projects with specified language from the specific group id.
Intended users
- DevOps Engineer
- Security Operations Engineer
User experience goal
The user should be able to use the Projects or Groups API to search for projects with specified programming language and group id.
Proposal
Include a way to filter projects by both programming language and group id in a single call, for example by adding group_id
as an attribute for the Projects API or by adding with_programming_language
as an attribute for Groups API.
For example, for Projects API the url to query would be in the form of:
"https://gitlab.com/api/v4/projects?with_programming_language=#{language}&group_id=#{group_id}"
Thanks!