Skip to main content
Version: Next

Models

Home > @backstage/plugin-bitbucket-cloud-common > Models

Signature:

namespace Models 

Interfaces

Interface

Description

Account

An account object.

AccountLinks

Links related to an Account.

Author

The author of a change in a repository

BaseCommit

The common base type for both repository and snippet commits.

BaseCommitSummary

Branch

A branch object, representing a branch in a repository.

Commit

A repository commit object.

CommitFile

A file object, representing a file at a commit in a repository

Committer

The committer of a change in a repository

Link

A link to a resource related to this object.

ModelObject

Base type for most resource objects. It defines the common type element that identifies an object's type. It also identifies the element as Swagger's discriminator.

Paginated

A generic paginated list.

PaginatedBranches

A paginated list of branches.

PaginatedProjects

A paginated list of projects

PaginatedRepositories

A paginated list of repositories.

PaginatedWorkspaces

A paginated list of workspaces.

Participant

Object describing a user's role on resources like commits or pull requests.

Project

A Bitbucket project. Projects are used by teams to organize repositories.

ProjectLinks

RefLinks

Repository

A Bitbucket repository.

RepositoryLinks

SearchCodeSearchResult

SearchContentMatch

SearchLine

SearchResultPage

SearchSegment

Team

A team object.

TeamLinks

Links related to a Team.

Workspace

A Bitbucket workspace. Workspaces are used to organize repositories.

WorkspaceLinks

Variables

Variable

Description

BaseCommitSummaryMarkupEnum

The type of markup language the raw content is to be interpreted in.

BranchMergeStrategiesEnum

Available merge strategies for pull requests targeting this branch.

CommitFileAttributesEnum

ParticipantRoleEnum

ParticipantStateEnum

RepositoryForkPolicyEnum

Controls the rules for forking this repository.

* **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot be made public later) * **no_forks**: deny all forking

RepositoryScmEnum

WorkspaceForkingModeEnum

Controls the rules for forking repositories within this workspace.

* **allow_forks**: unrestricted forking * **internal_only**: prevents forking of private repositories outside the workspace or to public repositories

Type Aliases

Type Alias

Description

BaseCommitSummaryMarkupEnum

The type of markup language the raw content is to be interpreted in.

BranchMergeStrategiesEnum

Available merge strategies for pull requests targeting this branch.

CommitFileAttributesEnum

ParticipantRoleEnum

ParticipantStateEnum

RepositoryForkPolicyEnum

Controls the rules for forking this repository.

* **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot be made public later) * **no_forks**: deny all forking

RepositoryScmEnum

WorkspaceForkingModeEnum

Controls the rules for forking repositories within this workspace.

* **allow_forks**: unrestricted forking * **internal_only**: prevents forking of private repositories outside the workspace or to public repositories