Rate this page:
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
Retrieve an application property value stored against a commit.
NONE
string
The repository container; either the workspace slug or the UUID in curly braces.
string
The repository.
string
The commit.
string
The key of the Connect app.
string
The name of the property.
1 2 3
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}' \
--header 'Accept: application/json'
The value of the property.
Content type | Value |
---|---|
application/json |
PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
Update an application property value stored against a commit.
NONE
string
The repository container; either the workspace slug or the UUID in curly braces.
string
The repository.
string
The commit.
string
The key of the Connect app.
string
The name of the property.
An application property. It is a caller defined JSON object that Bitbucket will store and return.
The _attributes
field at its top level can be used to control who is allowed to read and update the property.
The keys of the JSON object must match an allowed pattern. For details,
see Application properties.
Array<string>
Valid values: public
, read_only
anything
Extra properties of any type may be provided to this object.
1 2 3 4 5 6 7 8
curl --request PUT \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}' \
--header 'Content-Type: application/json' \
--data '{
"_attributes": [
"public"
]
}'
An empty response.
DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
Delete an application property value stored against a commit.
NONE
string
The repository container; either the workspace slug or the UUID in curly braces.
string
The repository.
string
The commit.
string
The key of the Connect app.
string
The name of the property.
1 2
curl --request DELETE \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}'
An empty response.
GET /2.0/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
Retrieve an application property value stored against a repository.
NONE
string
The repository container; either the workspace slug or the UUID in curly braces.
string
The repository.
string
The key of the Connect app.
string
The name of the property.
1 2 3
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}' \
--header 'Accept: application/json'
The value of the property.
Content type | Value |
---|---|
application/json |
PUT /2.0/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
Update an application property value stored against a repository.
NONE
string
The repository container; either the workspace slug or the UUID in curly braces.
string
The repository.
string
The key of the Connect app.
string
The name of the property.
An application property. It is a caller defined JSON object that Bitbucket will store and return.
The _attributes
field at its top level can be used to control who is allowed to read and update the property.
The keys of the JSON object must match an allowed pattern. For details,
see Application properties.
Array<string>
Valid values: public
, read_only
anything
Extra properties of any type may be provided to this object.
1 2 3 4 5 6 7 8
curl --request PUT \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}' \
--header 'Content-Type: application/json' \
--data '{
"_attributes": [
"public"
]
}'
An empty response.
DELETE /2.0/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
Delete an application property value stored against a repository.
NONE
string
The repository container; either the workspace slug or the UUID in curly braces.
string
The repository.
string
The key of the Connect app.
string
The name of the property.
1 2
curl --request DELETE \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}'
An empty response.
GET /2.0/repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}
Retrieve an application property value stored against a pull request.
NONE