Tool to retrieve content for a file path or browse directory contents at a specified revision in a Bitbucket repository. Use when you need flexible access to repository content - returns raw file data for files or paginated directory listings for directories.
qstringFilter query string using Bitbucket's REST API filtering syntax to narrow results. Only applicable when browsing directories.
pageintegerPage number for paginated results (starts from 1). Only applicable when browsing directories.
pathstringFile or directory path within the repository to browse. Use empty string for root directory.
sortstringField name for sorting results. Prefix with '-' for descending order. Only applicable when browsing directories.
commitstringCommit hash, branch name, or tag to browse from. Defaults to 'master' if not specified.
formatstringResponse format. Use 'meta' to return metadata as JSON instead of raw file contents when browsing a file.
pagelenintegerNumber of entries per page (1-100). Only applicable when browsing directories. Controls pagination size.
max_depthintegerMaximum depth for breadth-first recursive directory traversal. Only applicable when path is a directory. Large values may cause timeouts.
repo_slugRequiredstringRepository slug or UUID (typically URL-formatted name).
workspaceRequiredstringWorkspace ID or UUID (often username or team name) containing the repository.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.