Search for tags(now named TOPICS) via rest api
-----------------------------------------
GitLab Enterprise Edition 11.9.9-ee
I have seen the issues/merge request regarding the search for tags in repositories.
-----------------------------------------
I cannot find any documentation for that feature and testing it via
curl --header "PRIVATE-TOKEN: <MY_TOKEN>" "http://<MY_URL>/api/v4/search?scope=projects&search=<MY_TAG>"
[]%
results in an empty list ...
I cannot wrap my head around the fact that tags for repositories exist, but i am unable to filter/search projects by those tags ... isn't that the only useful thing to have in the first place or am I using this wrong?
Our tool has to parse and http-GET over 300 repositories before crawling each of those and searching for the desired tag instead of the rest api actually doing a simple select query before flushing data into my direction. Obviously this is not really helpful and (SLOW), is there a solution for this?
Another problem I have is that the search by name feature does not even return a repository with that name but random stuff which has nothing to do with the search string I provided.
curl --header "PRIVATE-TOKEN: <MY_TOKEN>" "http://<MY_URL>/api/v4/search?scope=projects&search=deployment_suit"
[{"id":317,"description":"","name":"simtest_collision_detect","name_with_namespace":"<MY_GROUP> / sim /
simtest_collision_detect","path":"simtest_collision_detect","path_with_namespace":"<MY_GROUP>/sim
/simtest_collision_detect","created_at":"2018-02-19T09:01:50.979Z","tag_list":[],"ssh_url_to_repo":"git@<MY_URL>:<MY_GROUP>
/sim/simtest_collision_detect.git","http_url_to_repo":"http://<MY_URL>/<MY_GROUP>
/sim/simtest_collision_detect.git","web_url":"http://1<MY_URL>//<MY_GROUP>
/sim/simtest_collision_detect","readme_url":"http://<MY_URL>/<MY_GROUP>/sim/simtest_collision_detect/blob/master
/README.md","avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2018-04-30T08:23:22.786Z","namespace":
{"id":39,"name":"sim","path":"sim","kind":"group","full_path":"<MY_GROUP>/sim","parent_id":7}}]%
would be grateful if you could help me :)
Nick 'kikass' Fiege