Reputation: 97
I was looking through the documentation on gitlab and couldn't find a way to filter out projects by tags. I do notice that if you go to the dashboard, then "Explore Projects", then "All", at the side "tags" appears which is a dropdown menu populated by all tags in the database, and when selecting one it allows you to filter the list.
As this is evidently available via gitlab, is there a way to request this via the API? Without the need to request all projects then manually iterate through them all to see if the tags match?
Upvotes: 7
Views: 1411
Reputation: 40861
These "tags" are topics. For example you can search the "android" topic:
This is the topic
field when using the GitLab list projects API.
For example to get the same results you might do something like this:
curl https://gitlab.com/api/v4/projects?topic=android
Upvotes: 0