Is there a way to call the search button using curl, wget, or using a python or perl library?
In my line of work they are requesting that I add bitbucket into a search script. The only way i can see to do it so far is to pull down the repos bare and then grep across the directories.
I am seeing a rest search but im not sure the method to call it.
https://bitbucket:<port>/rest/search/latest/search
So far most of the attempts i have made have been with curl and look something like this...
curl -X POST -H "Authorization: Bearer <Encoded Password>" \
-d search.onReady='project:AD00002529 UMT' \
-k https://bitbucket:<port>/rest/api/1.0/search/
I have tried a lot of different permutations POST/GET and URLs to hit against. Im sure there is an easier way but I'm not sure how to get there.