Skip to main content
Version: Next

Models.Repository

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

A Bitbucket repository.

Signature:

interface Repository extends ModelObject 

Extends: ModelObject

Properties

Property

Modifiers

Type

Description

created_on?

string

(Optional)

description?

string

(Optional)

fork_policy?

RepositoryForkPolicyEnum

(Optional) 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

full_name?

string

(Optional) The concatenation of the repository owner's username and the slugified name, e.g. "evzijst/interruptingcow". This is the same string used in Bitbucket URLs.

has_issues?

boolean

(Optional) The issue tracker for this repository is enabled. Issue Tracker features are not supported for repositories in workspaces administered through admin.atlassian.com.

has_wiki?

boolean

(Optional) The wiki for this repository is enabled. Wiki features are not supported for repositories in workspaces administered through admin.atlassian.com.

is_private?

boolean

(Optional)

language?

string

(Optional)

links?

RepositoryLinks

(Optional)

mainbranch?

Branch

(Optional)

name?

string

(Optional)

owner?

Account

(Optional)

parent?

Repository

(Optional)

project?

Project

(Optional)

scm?

RepositoryScmEnum

(Optional)

size?

number

(Optional)

slug?

string

(Optional) The "sluggified" version of the repository's name. This contains only ASCII characters and can therefore be slightly different than the name

updated_on?

string

(Optional)

uuid?

string

(Optional) The repository's immutable id. This can be used as a substitute for the slug segment in URLs. Doing this guarantees your URLs will survive renaming of the repository by its owner, or even transfer of the repository to a different user.