Hi Team,
We are from SonarQube Code Quality Team and we are using the below Bitbucket version.
Atlassian Bitbcuket v8.9.7
As part of the Python Code Coverage, we are trying to identify only the list of Python Repos in our Bitbucket Repository using an API Search String Query which will list out only the .py repos.
Thanks,
Murali Sulam
Hi Murali,
Welcome to the Atlassian community.
You may try the following query to list the repositories whose name ending with .py. Although this way of querying is not listed in the doc, it may work in your scenario.
curl -u <Admin-User> --request GET --url 'http://{baseurl}/rest/api/latest/repos?limit=1000&name=%.py' --header 'Accept: application/json'
Regards,
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.