Bitbucket · Capability
Bitbucket API — properties
Bitbucket API — properties. 12 operations. Lead operation: Update a commit application property. Self-contained Naftiko capability covering one Bitbucket business surface.
What You Can Do
PUT
Updatecommithostedpropertyvalue
— Update a commit application property
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/properties/{app-key}/{property-name}
DELETE
Deletecommithostedpropertyvalue
— Delete a commit application property
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/properties/{app-key}/{property-name}
GET
Getcommithostedpropertyvalue
— Get a commit application property
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/properties/{app-key}/{property-name}
PUT
Updaterepositoryhostedpropertyvalue
— Update a repository application property
/v1/repositories/{workspace}/{repo-slug}/properties/{app-key}/{property-name}
DELETE
Deleterepositoryhostedpropertyvalue
— Delete a repository application property
/v1/repositories/{workspace}/{repo-slug}/properties/{app-key}/{property-name}
GET
Getrepositoryhostedpropertyvalue
— Get a repository application property
/v1/repositories/{workspace}/{repo-slug}/properties/{app-key}/{property-name}
PUT
Updatepullrequesthostedpropertyvalue
— Update a pull request application property
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
DELETE
Deletepullrequesthostedpropertyvalue
— Delete a pull request application property
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
GET
Getpullrequesthostedpropertyvalue
— Get a pull request application property
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
PUT
Updateuserhostedpropertyvalue
— Update a user application property
/v1/users/{selected-user}/properties/{app-key}/{property-name}
DELETE
Deleteuserhostedpropertyvalue
— Delete a user application property
/v1/users/{selected-user}/properties/{app-key}/{property-name}
GET
Retrieveuserhostedpropertyvalue
— Get a user application property
/v1/users/{selected-user}/properties/{app-key}/{property-name}
MCP Tools
update-commit-application-property
Update a commit application property
idempotent
delete-commit-application-property
Delete a commit application property
idempotent
get-commit-application-property
Get a commit application property
read-only
idempotent
update-repository-application-property
Update a repository application property
idempotent
delete-repository-application-property
Delete a repository application property
idempotent
get-repository-application-property
Get a repository application property
read-only
idempotent
update-pull-request-application-property
Update a pull request application property
idempotent
delete-pull-request-application-property
Delete a pull request application property
idempotent
get-pull-request-application-property
Get a pull request application property
read-only
idempotent
update-user-application-property
Update a user application property
idempotent
delete-user-application-property
Delete a user application property
idempotent
get-user-application-property
Get a user application property
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Bitbucket API — properties
description: 'Bitbucket API — properties. 12 operations. Lead operation: Update a commit application property. Self-contained
Naftiko capability covering one Bitbucket business surface.'
tags:
- Bitbucket
- properties
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
BITBUCKET_API_KEY: BITBUCKET_API_KEY
capability:
consumes:
- type: http
namespace: cloud-rest-properties
baseUri: https://api.bitbucket.org/2.0
description: Bitbucket API — properties business capability. Self-contained, no shared references.
resources:
- name: repositories-workspace-repo_slug-commit-commit-properties-app_key-property_name
path: /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
operations:
- name: updatecommithostedpropertyvalue
method: PUT
description: Update a commit application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: _body
in: body
type: string
description: The application property to create or update.
required: true
- name: deletecommithostedpropertyvalue
method: DELETE
description: Delete a commit application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: getcommithostedpropertyvalue
method: GET
description: Get a commit application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: repositories-workspace-repo_slug-properties-app_key-property_name
path: /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
operations:
- name: updaterepositoryhostedpropertyvalue
method: PUT
description: Update a repository application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: _body
in: body
type: string
description: The application property to create or update.
required: true
- name: deleterepositoryhostedpropertyvalue
method: DELETE
description: Delete a repository application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: getrepositoryhostedpropertyvalue
method: GET
description: Get a repository application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-
path: /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}
operations:
- name: updatepullrequesthostedpropertyvalue
method: PUT
description: Update a pull request application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: pullrequest_id
in: path
type: string
description: The pull request ID.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: _body
in: body
type: string
description: The application property to create or update.
required: true
- name: deletepullrequesthostedpropertyvalue
method: DELETE
description: Delete a pull request application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: pullrequest_id
in: path
type: string
description: The pull request ID.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: getpullrequesthostedpropertyvalue
method: GET
description: Get a pull request application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: The repository container; either the workspace slug or the UUID in curly braces.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: pullrequest_id
in: path
type: string
description: The pull request ID.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: users-selected_user-properties-app_key-property_name
path: /users/{selected_user}/properties/{app_key}/{property_name}
operations:
- name: updateuserhostedpropertyvalue
method: PUT
description: Update a user application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: selected_user
in: path
type: string
description: Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian
Account ID.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: _body
in: body
type: string
description: The application property to create or update.
required: true
- name: deleteuserhostedpropertyvalue
method: DELETE
description: Delete a user application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: selected_user
in: path
type: string
description: Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian
Account ID.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
- name: retrieveuserhostedpropertyvalue
method: GET
description: Get a user application property
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: selected_user
in: path
type: string
description: Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian
Account ID.
required: true
- name: app_key
in: path
type: string
description: The key of the Connect app.
required: true
- name: property_name
in: path
type: string
description: The name of the property.
required: true
exposes:
- type: rest
namespace: cloud-rest-properties-rest
port: 8080
description: REST adapter for Bitbucket API — properties. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/properties/{app-key}/{property-name}
name: repositories-workspace-repo-slug-commit-commit-properties-app-key-property-name
description: REST surface for repositories-workspace-repo_slug-commit-commit-properties-app_key-property_name.
operations:
- method: PUT
name: updatecommithostedpropertyvalue
description: Update a commit application property
call: cloud-rest-properties.updatecommithostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
app_key: rest.app_key
property_name: rest.property_name
_body: rest._body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deletecommithostedpropertyvalue
description: Delete a commit application property
call: cloud-rest-properties.deletecommithostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- method: GET
name: getcommithostedpropertyvalue
description: Get a commit application property
call: cloud-rest-properties.getcommithostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/properties/{app-key}/{property-name}
name: repositories-workspace-repo-slug-properties-app-key-property-name
description: REST surface for repositories-workspace-repo_slug-properties-app_key-property_name.
operations:
- method: PUT
name: updaterepositoryhostedpropertyvalue
description: Update a repository application property
call: cloud-rest-properties.updaterepositoryhostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
app_key: rest.app_key
property_name: rest.property_name
_body: rest._body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deleterepositoryhostedpropertyvalue
description: Delete a repository application property
call: cloud-rest-properties.deleterepositoryhostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- method: GET
name: getrepositoryhostedpropertyvalue
description: Get a repository application property
call: cloud-rest-properties.getrepositoryhostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
name: repositories-workspace-repo-slug-pullrequests-pullrequest-id-properties-app-key
description: REST surface for repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-.
operations:
- method: PUT
name: updatepullrequesthostedpropertyvalue
description: Update a pull request application property
call: cloud-rest-properties.updatepullrequesthostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pullrequest_id: rest.pullrequest_id
app_key: rest.app_key
property_name: rest.property_name
_body: rest._body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deletepullrequesthostedpropertyvalue
description: Delete a pull request application property
call: cloud-rest-properties.deletepullrequesthostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pullrequest_id: rest.pullrequest_id
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- method: GET
name: getpullrequesthostedpropertyvalue
description: Get a pull request application property
call: cloud-rest-properties.getpullrequesthostedpropertyvalue
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pullrequest_id: rest.pullrequest_id
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- path: /v1/users/{selected-user}/properties/{app-key}/{property-name}
name: users-selected-user-properties-app-key-property-name
description: REST surface for users-selected_user-properties-app_key-property_name.
operations:
- method: PUT
name: updateuserhostedpropertyvalue
description: Update a user application property
call: cloud-rest-properties.updateuserhostedpropertyvalue
with:
selected_user: rest.selected_user
app_key: rest.app_key
property_name: rest.property_name
_body: rest._body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deleteuserhostedpropertyvalue
description: Delete a user application property
call: cloud-rest-properties.deleteuserhostedpropertyvalue
with:
selected_user: rest.selected_user
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- method: GET
name: retrieveuserhostedpropertyvalue
description: Get a user application property
call: cloud-rest-properties.retrieveuserhostedpropertyvalue
with:
selected_user: rest.selected_user
app_key: rest.app_key
property_name: rest.property_name
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: cloud-rest-properties-mcp
port: 9090
transport: http
description: MCP adapter for Bitbucket API — properties. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: update-commit-application-property
description: Update a commit application property
hints:
readOnly: false
destructive: false
idempotent: true
call: cloud-rest-properties.updatecommithostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
app_key: tools.app_key
property_name: tools.property_name
_body: tools._body
outputParameters:
- type: object
mapping: $.
- name: delete-commit-application-property
description: Delete a commit application property
hints:
readOnly: false
destructive: true
idempotent: true
call: cloud-rest-properties.deletecommithostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: get-commit-application-property
description: Get a commit application property
hints:
readOnly: true
destructive: false
idempotent: true
call: cloud-rest-properties.getcommithostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: update-repository-application-property
description: Update a repository application property
hints:
readOnly: false
destructive: false
idempotent: true
call: cloud-rest-properties.updaterepositoryhostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
app_key: tools.app_key
property_name: tools.property_name
_body: tools._body
outputParameters:
- type: object
mapping: $.
- name: delete-repository-application-property
description: Delete a repository application property
hints:
readOnly: false
destructive: true
idempotent: true
call: cloud-rest-properties.deleterepositoryhostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: get-repository-application-property
description: Get a repository application property
hints:
readOnly: true
destructive: false
idempotent: true
call: cloud-rest-properties.getrepositoryhostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: update-pull-request-application-property
description: Update a pull request application property
hints:
readOnly: false
destructive: false
idempotent: true
call: cloud-rest-properties.updatepullrequesthostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pullrequest_id: tools.pullrequest_id
app_key: tools.app_key
property_name: tools.property_name
_body: tools._body
outputParameters:
- type: object
mapping: $.
- name: delete-pull-request-application-property
description: Delete a pull request application property
hints:
readOnly: false
destructive: true
idempotent: true
call: cloud-rest-properties.deletepullrequesthostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pullrequest_id: tools.pullrequest_id
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: get-pull-request-application-property
description: Get a pull request application property
hints:
readOnly: true
destructive: false
idempotent: true
call: cloud-rest-properties.getpullrequesthostedpropertyvalue
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pullrequest_id: tools.pullrequest_id
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: update-user-application-property
description: Update a user application property
hints:
readOnly: false
destructive: false
idempotent: true
call: cloud-rest-properties.updateuserhostedpropertyvalue
with:
selected_user: tools.selected_user
app_key: tools.app_key
property_name: tools.property_name
_body: tools._body
outputParameters:
- type: object
mapping: $.
- name: delete-user-application-property
description: Delete a user application property
hints:
readOnly: false
destructive: true
idempotent: true
call: cloud-rest-properties.deleteuserhostedpropertyvalue
with:
selected_user: tools.selected_user
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.
- name: get-user-application-property
description: Get a user application property
hints:
readOnly: true
destructive: false
idempotent: true
call: cloud-rest-properties.retrieveuserhostedpropertyvalue
with:
selected_user: tools.selected_user
app_key: tools.app_key
property_name: tools.property_name
outputParameters:
- type: object
mapping: $.