Creates a new repository. Note: In order to set the project for the newly created repository, pass in either the project key or the project UUID as part of the request body as shown in the examples below:Documentation Index
Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
Use this file to discover all available pages before exploring further.
teamsinspace,
and/or the repository name hablanding can be replaced by UUIDs.
External DocumentationTo learn more, visit the Bitbucket documentation.
Parameters
| Parameter | Description |
|---|---|
| Default Branch | A ref object, representing a branch or tag in a repository. |
| Description | A brief, informative description of the repository’s purpose and contents. |
| Fork Policy | 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. |
| Has Issues | When checked, the issue tracker for this repository is enabled. Note: Issue Tracker features are not supported for repositories in workspaces administered through admin.atlassian.com. |
| Has Wiki | Select to enable the wiki for the repository. Note: Wiki features are not supported for repositories in workspaces administered through admin.atlassian.com. |
| Is Private | Select to make the repository private, accessible only to explicitly granted users and teams. |
| Language | The primary programming language or technology used in the repository. |
| Project | A Bitbucket project that the repository is a part of. Projects are used by teams to organize repositories. By default, uses the oldest project. |
| Repo Name | Set a human-readable name for the repository. |
| Repo Slug | This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}. |
| Workspace Slug | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}. |