Hi Everyone
Is it possible to extract a complete Project/Repos/Folder Tree from BitBucket? Unfortunately, we have a lot of staff off work at the moment and I can't find stuff easily (search isn't working) and I am not an admin yet.
First question so be nice.
Steve
HI @Steve Jones ,
I'm not clear on the exact requirement here, but it should be possible to get this information using the REST APIs.
1. Get repositories in a workspace - https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get
2. Get projects in a workspace - https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-projects-get
3. Get folders/files in a repository - https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-commit-path-get
Hope that helps!
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.