Bitbucket

Configuration

Bitbucket source connector integrates with the Bitbucket REST API to extract data.

Connects to your Bitbucket workspaces and repositories.

It supports syncing workspaces, repositories, directories, and code files with configurable filtering options for branches and file types.

Source Code: View on GitHub

Authentication

This connector uses a custom authentication configuration.

Configuration Options

The following configuration options are available for this connector:

Data Models

The following data models are available for this connector:

BitbucketWorkspaceEntity

Schema for Bitbucket workspace entity.

Field
Type
Description

uuid

str

Workspace UUID

display_name

str

Display name of the workspace

created_on

Optional[datetime]

Workspace creation timestamp

slug

str

Workspace slug identifier

is_private

bool

Whether the workspace is private

html_url

Optional[str]

URL to view the workspace

BitbucketRepositoryEntity

Schema for Bitbucket repository entity.

Field
Type
Description

uuid

str

Repository UUID

repo_name

str

Repository display name

created_on

datetime

Repository creation timestamp

updated_on

datetime

Last update timestamp

slug

str

Repository slug

full_name

str

Full repository name including workspace

description

Optional[str]

Repository description

is_private

bool

Whether the repository is private

fork_policy

Optional[str]

Fork policy of the repository

language

Optional[str]

Primary language of the repository

size

Optional[int]

Size of the repository in bytes

mainbranch

Optional[str]

Main branch name

workspace_slug

str

Slug of the parent workspace

html_url

Optional[str]

URL to view the repository

BitbucketDirectoryEntity

Schema for Bitbucket directory entity.

Field
Type
Description

path_id

str

Unique identifier for the directory path

directory_name

str

Display name of the directory

path

str

Path of the directory within the repository

branch

Optional[str]

Branch for this directory view

repo_slug

str

Slug of the repository containing this directory

repo_full_name

str

Full name of the repository

workspace_slug

str

Slug of the workspace

html_url

Optional[str]

URL to view the directory

BitbucketCodeFileEntity

Schema for Bitbucket code file entity.

Field
Type
Description

file_id

str

Unique identifier for the file path

file_name

str

Display name of the file

branch

Optional[str]

Branch for this file version

commit_hash

Optional[str]

Commit hash of the file version

repo_slug

str

Slug of the repository

repo_full_name

str

Full name of the repository

workspace_slug

str

Slug of the workspace

line_count

Optional[int]

Number of lines in the file

Last updated