Hi Team,
I'm working on trying to fetch {files and directories} on a particular path recursively using Bitbucket server REST API. I could able to retrieve only files and directories at root level. I'm looking for something that provides result recursively [traversing the sub directories from the path provided].
Looking for something similar to Git Trees API below,
GET /repos/:owner/:repo/git/trees/:tree_sha?recursive=1
Tried below Bitbucket server APIs for my requirement,
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/raw/{path:.*}
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse/{path:.*}
From the forums i could see there's an internal api available for this ask, but it didn't work for me [maybe i'm trying it wrongly though!].
Any help around this is much appreciated.
Is there any rate limiting option exists i.e we could make only 16 requests/min using API? Please correct me if i'm wrong with this one.
Thanks,
Sarath