-
Notifications
You must be signed in to change notification settings - Fork 2
get_files() and file tree support #773
Copy link
Copy link
Open
Labels
Description
Part of #754.
Implement file-related functionality for BitBucket Cloud:
- File tree (
get_repos_trees()): Already partially implemented viaGET /2.0/repositories/{workspace}/{repo_slug}/src/{branch}/with recursive listing. Verify and add tests. - File content (
get_files()): Retrieve file content viaGET /2.0/repositories/{workspace}/{repo_slug}/src/{branch}/{path}. Map to the standardgitstats_filestable. - Code search (
with_codeparameter): BitBucket Cloud hasGET /2.0/search/code— implementsearch_for_code()andsearch_repos_for_code()inEngineRestBitBucket. - Unit tests with mocked API responses.
Reactions are currently unavailable