Skip to main content
Server path: /bitbucket-repos | Type: Application | PCID required: Yes

Tools

ToolDescription
bitbucket_repos_create_branchCreate a branch
bitbucket_repos_create_repositoryCreate a repository
bitbucket_repos_create_tagCreate a tag
bitbucket_repos_create_webhookCreate a webhook for a repository
bitbucket_repos_delete_branchDelete a branch
bitbucket_repos_delete_repositoryDelete a repository
bitbucket_repos_delete_tagDelete a tag
bitbucket_repos_delete_webhookDelete a webhook for a repository
bitbucket_repos_fork_repositoryFork a repository
bitbucket_repos_get_branchGet a branch
bitbucket_repos_get_branching_modelGet the branching model for a repository
bitbucket_repos_get_branching_model_settingsGet the branching model config for a repository
bitbucket_repos_get_commitGet a commit
bitbucket_repos_get_diffCompare two commits
bitbucket_repos_get_diffstatCompare two commit diff stats
bitbucket_repos_get_file_contentGet file or directory contents
bitbucket_repos_get_file_historyList commits that modified a file
bitbucket_repos_get_repositoryGet a repository
bitbucket_repos_get_tagGet a tag
bitbucket_repos_get_webhookGet a webhook for a repository
bitbucket_repos_list_branchesList open branches
bitbucket_repos_list_commit_commentsList a commit’s comments
bitbucket_repos_list_commit_statusesList commit statuses for a commit
bitbucket_repos_list_commitsList commits
bitbucket_repos_list_refsList branches and tags
bitbucket_repos_list_repositoriesList repositories in a workspace
bitbucket_repos_list_repository_forksList repository forks
bitbucket_repos_list_repository_watchersList repositories watchers
bitbucket_repos_list_tagsList tags
bitbucket_repos_list_webhooksList webhooks for a repository
bitbucket_repos_update_repositoryUpdate a repository
bitbucket_repos_update_webhookUpdate a webhook for a repository

bitbucket_repos_create_branch

Create a branch Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
default_merge_strategystringNoThe default merge strategy for pull requests targeting this branch.
linksobjectNoThe links value
merge_strategiesstring[]NoAvailable merge strategies for pull requests targeting this branch.
namestringNoThe name of the ref.
targetobjectNoThe target value
typestringYesThe type value

bitbucket_repos_create_repository

Create a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
created_onstringNoCreated On
descriptionstringNoThe description value
fork_policystringNoControls 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_namestringNoThe 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_issuesbooleanNoThe issue tracker for this repository is enabled. Issue Tracker features are not supported for repositories in workspaces administered through admin.atlassian.com.
has_wikibooleanNoThe wiki for this repository is enabled. Wiki features are not supported for repositories in workspaces administered through admin.atlassian.com.
is_privatebooleanNoIs Private
languagestringNoThe language value
linksobjectNoThe links value
mainbranchobjectNoThe mainbranch value
namestringNoThe name value
ownerobjectNoThe owner value
parentobjectNoCircular schema reference: #/components/schemas/repository
projectobjectNoThe project value
scmstringNoThe scm value
sizeintegerNoThe size value
typestringNoThe type value
updated_onstringNoUpdated On
uuidstringNoThe 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.

bitbucket_repos_create_tag

Create a tag Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
datestringNoThe date that the tag was created, if available
linksobjectNoThe links value
messagestringNoThe message associated with the tag, if available.
namestringNoThe name of the ref.
taggerobjectNoThe tagger value
targetobjectNoThe target value
typestringYesThe type value

bitbucket_repos_create_webhook

Create a webhook for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
activebooleanNoThe active value
created_atstringNoCreated At
descriptionstringNoA user-defined description of the webhook.
eventsstring[]NoThe events this webhook is subscribed to.
secretstringNoThe secret to associate with the hook. The secret is never returned via the API. As such, this field is only used during updates. The secret can be set to null or "" to remove the secret (or create a hook with no secret). Leaving out the secret field during updates will leave the secret unchanged. Leaving out the secret during creation will create a hook with no secret.
secret_setbooleanNoIndicates whether or not the hook has an associated secret. It is not possible to see the hook’s secret. This field is ignored during updates.
subjectobjectNoBase 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.
subject_typestringNoThe type of entity. Set to either repository or workspace based on where the subscription is defined.
typestringYesThe type value
urlstringNoThe URL events get delivered to.
uuidstringNoThe webhook’s id

bitbucket_repos_delete_branch

Delete a branch Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe name of the branch.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_delete_repository

Delete a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
redirect_tostringNoIf a repository has been moved to a new location, use this parameter to show users a friendly message in the Bitbucket UI that the repository has moved to a new location. However, a GET to this endpoint will still return a 404.

bitbucket_repos_delete_tag

Delete a tag Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe name of the tag.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_delete_webhook

Delete a webhook for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
uidstringYesInstalled webhook’s ID
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_fork_repository

Fork a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
created_onstringNoCreated On
descriptionstringNoThe description value
fork_policystringNoControls 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_namestringNoThe 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_issuesbooleanNoThe issue tracker for this repository is enabled. Issue Tracker features are not supported for repositories in workspaces administered through admin.atlassian.com.
has_wikibooleanNoThe wiki for this repository is enabled. Wiki features are not supported for repositories in workspaces administered through admin.atlassian.com.
is_privatebooleanNoIs Private
languagestringNoThe language value
linksobjectNoThe links value
mainbranchobjectNoThe mainbranch value
namestringNoThe name value
ownerobjectNoThe owner value
parentobjectNoCircular schema reference: #/components/schemas/repository
projectobjectNoThe project value
scmstringNoThe scm value
sizeintegerNoThe size value
typestringNoThe type value
updated_onstringNoUpdated On
uuidstringNoThe 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.

bitbucket_repos_get_branch

Get a branch Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe name of the branch.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_get_branching_model

Get the branching model for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_get_branching_model_settings

Get the branching model config for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_get_commit

Get a commit Parameters:
ParameterTypeRequiredDefaultDescription
commitstringYesThe commit’s SHA1.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

bitbucket_repos_get_diff

Compare two commits Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
specstringYesA commit SHA (e.g. 3a8b42) or a commit range using double dot notation (e.g. 3a8b42..9ff173).
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
contextintegerNoGenerate diffs with <n> lines of context instead of the usual three.
pathstringNoLimit the diff to a particular file (this parameter can be repeated for multiple paths).
ignore_whitespacebooleanNoGenerate diffs that ignore whitespace.
binarybooleanNoGenerate diffs that include binary files, true if omitted.
renamesbooleanNoWhether to perform rename detection, true if omitted.
mergebooleanNoThis parameter is deprecated. The ‘topic’ parameter should be used instead. The ‘merge’ and ‘topic’ parameters cannot be both used at the same time. If true, the source commit is merged into the destination commit, and then a diff from the destination to the merge result is returned. If false, a simple ‘two dot’ diff between the source and destination is returned. True if omitted.
topicbooleanNoIf true, returns 2-way ‘three-dot’ diff. This is a diff between the source commit and the merge base of the source commit and the destination commit. If false, a simple ‘two dot’ diff between the source and destination is returned. If omitted, defaults to true, ie. a 2 way ‘three-dot’ diff is returned.

bitbucket_repos_get_diffstat

Compare two commit diff stats Parameters:
ParameterTypeRequiredDefaultDescription
ignore_whitespacebooleanNoGenerate diffs that ignore whitespace
mergebooleanNoThis parameter is deprecated. The ‘topic’ parameter should be used instead. The ‘merge’ and ‘topic’ parameters cannot be both used at the same time. If true, the source commit is merged into the destination commit, and then a diffstat from the destination to the merge result is returned. If false, a simple ‘two dot’ diffstat between the source and destination is returned. True if omitted.
pathstringNoLimit the diffstat to a particular file (this parameter can be repeated for multiple paths).
renamesbooleanNoWhether to perform rename detection, true if omitted.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
specstringYesA commit SHA (e.g. 3a8b42) or a commit range using double dot notation (e.g. 3a8b42..9ff173).
topicbooleanNoIf true, returns 2-way ‘three-dot’ diff. This is a diff between the source commit and the merge base of the source commit and the destination commit. If false, a simple ‘two dot’ diff between the source and destination is returned.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_get_file_content

Get file or directory contents Parameters:
ParameterTypeRequiredDefaultDescription
commitstringYesThe commit’s SHA1.
pathstringYesPath to the file.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
formatstringNoIf ‘meta’ is provided, returns the (json) meta data for the contents of the file. If ‘rendered’ is provided, returns the contents of a non-binary file in HTML-formatted rendered markup. The ‘rendered’ option only supports these filetypes: .md, .markdown, .mkd, .mkdn, .mdown, .text, .rst, and .textile. Since Git does not generally track what text encoding scheme is used, this endpoint attempts to detect the most appropriate character encoding. While usually correct, determining the character encoding can be ambiguous which in exceptional cases can lead to misinterpretation of the characters. As such, the raw element in the response object should not be treated as equivalent to the file’s actual contents.
qstringNoOptional filter expression as per filtering and sorting.
sortstringNoOptional sorting parameter as per filtering and sorting.
max_depthintegerNoIf provided, returns the contents of the repository and its subdirectories recursively until the specified max_depth of nested directories. When omitted, this defaults to 1.

bitbucket_repos_get_file_history

List commits that modified a file Parameters:
ParameterTypeRequiredDefaultDescription
commitstringYesThe commit’s SHA1.
pathstringYesPath to the file.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
renamesstringNoWhen true, Bitbucket will follow the history of the file across renames (this is the default behavior). This can be turned off by specifying false.
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoName of a response property sort the result by as per filtering and sorting.

bitbucket_repos_get_repository

Get a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_get_tag

Get a tag Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe name of the tag.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_get_webhook

Get a webhook for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
uidstringYesInstalled webhook’s ID
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_list_branches

List open branches Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting. The name field is handled specially for branches in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return [‘branch1’, ‘branch2’, ‘branch10’] instead of [‘branch1’, ‘branch10’, ‘branch2’].

bitbucket_repos_list_commit_comments

List a commit’s comments Parameters:
ParameterTypeRequiredDefaultDescription
commitstringYesThe commit’s SHA1.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting.

bitbucket_repos_list_commit_statuses

List commit statuses for a commit Parameters:
ParameterTypeRequiredDefaultDescription
commitstringYesThe commit’s SHA1.
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
refnamestringNoIf specified, only return commit status objects that were either created without a refname, or were created with the specified refname
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting. Defaults to created_on.

bitbucket_repos_list_commits

List commits Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_list_refs

List branches and tags Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting. The name field is handled specially for refs in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return [‘1.1’, ‘1.2’, ‘1.10’] instead of [‘1.1’, ‘1.10’, ‘1.2’].

bitbucket_repos_list_repositories

List repositories in a workspace Parameters:
ParameterTypeRequiredDefaultDescription
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
rolestringNoFilters the result based on the authenticated user’s role on each repository. * member: returns repositories to which the user has explicit read access * contributor: returns repositories to which the user has explicit write access * admin: returns repositories to which the user has explicit administrator access * owner: returns all repositories owned by the current user
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting.

bitbucket_repos_list_repository_forks

List repository forks Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
rolestringNoFilters the result based on the authenticated user’s role on each repository. * member: returns repositories to which the user has explicit read access * contributor: returns repositories to which the user has explicit write access * admin: returns repositories to which the user has explicit administrator access * owner: returns all repositories owned by the current user
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting.

bitbucket_repos_list_repository_watchers

List repositories watchers Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_list_tags

List tags Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
qstringNoQuery string to narrow down the response as per filtering and sorting.
sortstringNoField by which the results should be sorted as per filtering and sorting. The name field is handled specially for tags in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return [‘1.1’, ‘1.2’, ‘1.10’] instead of [‘1.1’, ‘1.10’, ‘1.2’].

bitbucket_repos_list_webhooks

List webhooks for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.

bitbucket_repos_update_repository

Update a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
created_onstringNoCreated On
descriptionstringNoThe description value
fork_policystringNoControls 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_namestringNoThe 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_issuesbooleanNoThe issue tracker for this repository is enabled. Issue Tracker features are not supported for repositories in workspaces administered through admin.atlassian.com.
has_wikibooleanNoThe wiki for this repository is enabled. Wiki features are not supported for repositories in workspaces administered through admin.atlassian.com.
is_privatebooleanNoIs Private
languagestringNoThe language value
linksobjectNoThe links value
mainbranchobjectNoThe mainbranch value
namestringNoThe name value
ownerobjectNoThe owner value
parentobjectNoCircular schema reference: #/components/schemas/repository
projectobjectNoThe project value
scmstringNoThe scm value
sizeintegerNoThe size value
typestringNoThe type value
updated_onstringNoUpdated On
uuidstringNoThe 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.

bitbucket_repos_update_webhook

Update a webhook for a repository Parameters:
ParameterTypeRequiredDefaultDescription
repo_slugstringYesThis can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: &#123;repository UUID&#125;.
uidstringYesInstalled webhook’s ID
workspacestringYesThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: &#123;workspace UUID&#125;.
activebooleanNoThe active value
created_atstringNoCreated At
descriptionstringNoA user-defined description of the webhook.
eventsstring[]NoThe events this webhook is subscribed to.
secretstringNoThe secret to associate with the hook. The secret is never returned via the API. As such, this field is only used during updates. The secret can be set to null or "" to remove the secret (or create a hook with no secret). Leaving out the secret field during updates will leave the secret unchanged. Leaving out the secret during creation will create a hook with no secret.
secret_setbooleanNoIndicates whether or not the hook has an associated secret. It is not possible to see the hook’s secret. This field is ignored during updates.
subjectobjectNoBase 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.
subject_typestringNoThe type of entity. Set to either repository or workspace based on where the subscription is defined.
typestringYesThe type value
urlstringNoThe URL events get delivered to.
uuidstringNoThe webhook’s id