Bitbucket Pipelines Properties API
The properties API from Bitbucket Pipelines — 4 operation(s) for properties.
The properties API from Bitbucket Pipelines — 4 operation(s) for properties.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/bitbucket-pipelines-properties-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Bitbucket Properties API
description: Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
version: '2.0'
termsOfService: https://www.atlassian.com/legal/customer-agreement
contact:
name: Bitbucket Support
url: https://support.atlassian.com/bitbucket-cloud/
email: support@bitbucket.org
servers:
- url: https://api.bitbucket.org/2.0
tags:
- name: Properties
paths:
/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}:
put:
responses:
'204':
description: An empty response.
operationId: updateCommitHostedPropertyValue
summary: Update a commit application property
description: Update an application property value stored against a commit.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: commit
description: The commit.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
description: The application property to create or update.
required: true
delete:
responses:
'204':
description: An empty response.
operationId: deleteCommitHostedPropertyValue
summary: Delete a commit application property
description: Delete an application property value stored against a commit.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: commit
description: The commit.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
get:
responses:
'200':
description: The value of the property.
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
operationId: getCommitHostedPropertyValue
summary: Get a commit application property
description: Retrieve an application property value stored against a commit.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: commit
description: The commit.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}:
put:
responses:
'204':
description: An empty response.
operationId: updateRepositoryHostedPropertyValue
summary: Update a repository application property
description: Update an application property value stored against a repository.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
description: The application property to create or update.
required: true
delete:
responses:
'204':
description: An empty response.
operationId: deleteRepositoryHostedPropertyValue
summary: Delete a repository application property
description: Delete an application property value stored against a repository.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
get:
responses:
'200':
description: The value of the property.
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
operationId: getRepositoryHostedPropertyValue
summary: Get a repository application property
description: Retrieve an application property value stored against a repository.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
/repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}:
put:
responses:
'204':
description: An empty response.
operationId: updatePullRequestHostedPropertyValue
summary: Update a pull request application property
description: Update an application property value stored against a pull request.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: pullrequest_id
description: The pull request ID.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
description: The application property to create or update.
required: true
delete:
responses:
'204':
description: An empty response.
operationId: deletePullRequestHostedPropertyValue
summary: Delete a pull request application property
description: Delete an application property value stored against a pull request.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: pullrequest_id
description: The pull request ID.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
get:
responses:
'200':
description: The value of the property.
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
operationId: getPullRequestHostedPropertyValue
summary: Get a pull request application property
description: Retrieve an application property value stored against a pull request.
parameters:
- required: true
in: path
name: workspace
description: The repository container; either the workspace slug or the UUID in curly braces.
schema:
type: string
- required: true
in: path
name: repo_slug
description: The repository.
schema:
type: string
- required: true
in: path
name: pullrequest_id
description: The pull request ID.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
/users/{selected_user}/properties/{app_key}/{property_name}:
put:
responses:
'204':
description: An empty response.
operationId: updateUserHostedPropertyValue
summary: Update a user application property
description: Update an application property value stored against a user.
parameters:
- required: true
in: path
name: selected_user
description: Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
description: The application property to create or update.
required: true
delete:
responses:
'204':
description: An empty response.
operationId: deleteUserHostedPropertyValue
summary: Delete a user application property
description: Delete an application property value stored against a user.
parameters:
- required: true
in: path
name: selected_user
description: Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
get:
responses:
'200':
description: The value of the property.
content:
application/json:
schema:
$ref: '#/components/schemas/application_property'
operationId: retrieveUserHostedPropertyValue
summary: Get a user application property
description: Retrieve an application property value stored against a user.
parameters:
- required: true
in: path
name: selected_user
description: Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
schema:
type: string
- required: true
in: path
name: app_key
description: The key of the Connect app.
schema:
type: string
- required: true
in: path
name: property_name
description: The name of the property.
schema:
type: string
tags:
- Properties
security:
- oauth2: []
- basic: []
- api_key: []
components:
schemas:
application_property:
additionalProperties: true
type: object
title: Application Property
description: "An application property. It is a caller defined JSON object that Bitbucket will store and return. \nThe `_attributes` field at its top level can be used to control who is allowed to read and update the property. \nThe keys of the JSON object must match an allowed pattern. For details, \nsee [Application properties](/cloud/bitbucket/application-properties/).\n"
properties:
_attributes:
type: array
items:
type: string
enum:
- public
- read_only
securitySchemes:
basic:
type: http
scheme: basic
description: Basic HTTP Authentication as per [RFC-2617](https://tools.ietf.org/html/rfc2617) (Digest not supported). Note that Basic Auth is available only with username and app password as credentials.
oauth2:
type: oauth2
flows:
authorizationCode:
scopes:
repository: Read your repositories
repository:write: Read and modify your repositories
repository:admin: Administer your repositories
repository:delete: Delete your repositories
project: Read your workspace's project settings and read repositories contained within your workspace's projects
project:admin: Read and modify settings for projects in your workspace
email: Read your account's primary email address
account: Read your account information
account:write: Read and modify your account information
team: Read your team membership information
team:write: Read and modify your team membership information
pipeline: Access your repositories' build pipelines
pipeline:write: Access and rerun your repositories' build pipelines
pipeline:variable: Access your repositories' build pipelines and configure their variables
runner: Access your workspaces/repositories' runners
runner:write: Access and edit your workspaces/repositories' runners
test: Access your workspaces/repositories' test
test:write: Access and edit your workspaces/repositories' test
pullrequest: Read your repositories and their pull requests
pullrequest:write: Read and modify your repositories and their pull requests
webhook: Read and modify your repositories' webhooks
issue: Read your repositories' issues
issue:write: Read and modify your repositories' issues
snippet: Read your snippets
snippet:write: Read and modify your snippets
wiki: Read and modify your repositories' wikis
authorizationUrl: https://bitbucket.org/site/oauth2/authorize
tokenUrl: https://bitbucket.org/site/oauth2/access_token
description: OAuth 2 as per [RFC-6749](https://tools.ietf.org/html/rfc6749).
api_key:
name: Authorization
type: apiKey
description: API Keys can be used as Basic HTTP Authentication credentials and provide a substitute for the account's actual username and password. API Keys are only available to team accounts and there is only 1 key per account. API Keys do not support scopes and have therefore access to all contents of the account.
in: header
x-revision: 1e0692ed4864
x-atlassian-narrative:
documents:
# --- truncated at 32 KB (128 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitbucket-pipelines/refs/heads/main/openapi/bitbucket-pipelines-properties-api-openapi.yml