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
I'm also interested in a recursive repo tree listing, the way GitHub does it.
Sounds like we need to drill down ourselves, via the rest api, into any directories and also take into account possible pagination, which means even more drilling through?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.