Read a file or directory at a revision
One step with Bitbucket. We can help you get access.
Look something up
Read a file or directory at a revision
with Bitbucket · Software Construction Management
Use Bitbucket: its Bitbucket Source API lets you read a file or directory at a revision in a single step (GET /repositories/{workspace}/{repo_slug}/src/{commit}/{path}). capabilities.work can help you get signed up and connected.
- What did this file look like at an older commit?
- Can I list a directory's contents several levels deep?
Say it to your AI assistant
- Get the contents of {path} at {commit} in {workspace}/{repo_slug}.
- List directory {path} at {commit} up to depth {max_depth}.
For your developer
GET /repositories/{workspace}/{repo_slug}/src/{commit}/{path} in Bitbucket Source API. Full spec on APIs.io.