Atlassian Bitbucket
Atlassian Bitbucket is a Git repository hosting and collaboration platform for managing source code and development workflows.
- Base URL:
https://api.bitbucket.org/2.0 - Auth:
header:Authorization(pass your key via theapiKeyinput)
Operations
get_addon_addon_key_client_key— GET /addon/{addon_key}/client-key — Get the client key of a Connect addonget_hook_events— GET /hook_events — Get a webhook resourceget_hook_events_subject_type— GET /hook_events/{subject_type} — List subscribable webhook typesget_repositories_workspace— GET /repositories/{workspace} — List repositories in a workspaceget_repositories_workspace_repo_slug— GET /repositories/{workspace}/{repo_slug} — Get a repositoryget_repositories_workspace_repo_slug_branch_rest— GET /repositories/{workspace}/{repo_slug}/branch-restrictions — List branch restrictions
Inputs
apiKey— your atlassian-bitbucket API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_addon_addon_key_client_key
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_addon_addon_key_client_key, get_hook_events, get_hook_events_subject_type, get_repositories_workspace, get_repositories_workspace_repo_slug, get_repositories_workspace_repo_slug_branch_rest |
addon_key |
string | no | — | Path parameter addon_key (required by some operations). |
repo_slug |
string | no | — | Path parameter repo_slug (required by some operations). |
subject_type |
string | no | — | Path parameter subject_type (required by some operations). |
workspace |
string | no | — | Path parameter workspace (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |