Returns the branches and tags in the repository. Use when you need to list all refs (both branches and tags) in a single API call with optional filtering by type, name pattern, or commit hash.
qstringQuery string using Bitbucket Query Language (BBQL) to filter refs. Syntax: 'field operator value'. Operators: '=' (exact match), '~' (contains substring), '!=' (not equal). String values MUST be enclosed in double quotes. Filter by name pattern using 'name~"pattern"', by type us…
pageintegerPage number for paginated results (starts from 1).
sortstringField for sorting ref results. Prefix with '-' for descending order. Common sortable fields: 'name', 'target.date' (commit date). Default sorting applies natural sorting for ref names with numeric values.
pagelenintegerNumber of refs per page (1-100). Bitbucket default is typically 10 if not specified.
repo_slugRequiredstringThe slug or UUID of the repository. This is usually the repository's name in URL-friendly format.
workspaceRequiredstringThe workspace ID or slug that owns the repository. This can typically be found in the URL of your Bitbucket workspace.
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.