All URIs are relative to https://api.bitbucket.org/2.0
Method | HTTP request | Description |
---|---|---|
deleteCommitHostedPropertyValue | DELETE /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} | |
deletePullRequestHostedPropertyValue | DELETE /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} | |
deleteRepositoryHostedPropertyValue | DELETE /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} | |
deleteUserHostedPropertyValue | DELETE /users/{selected_user}/properties/{app_key}/{property_name} | |
getCommitHostedPropertyValue | GET /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} | |
getPullRequestHostedPropertyValue | GET /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} | |
getRepositoryHostedPropertyValue | GET /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} | |
retrieveUserHostedPropertyValue | GET /users/{selected_user}/properties/{app_key}/{property_name} | |
updateCommitHostedPropertyValue | PUT /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} | |
updatePullRequestHostedPropertyValue | PUT /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} | |
updateRepositoryHostedPropertyValue | PUT /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} | |
updateUserHostedPropertyValue | PUT /users/{selected_user}/properties/{app_key}/{property_name} |
deleteCommitHostedPropertyValue(workspace, repoSlug, commit, appKey, propertyName)
Delete an application property value stored against a commit.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String commit = "commit_example"; // String | The commit.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.deleteCommitHostedPropertyValue(workspace, repoSlug, commit, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#deleteCommitHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
commit | String | The commit. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
deletePullRequestHostedPropertyValue(workspace, repoSlug, pullrequestId, appKey, propertyName)
Delete an application property value stored against a pull request.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String pullrequestId = "pullrequestId_example"; // String | The pull request ID.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.deletePullRequestHostedPropertyValue(workspace, repoSlug, pullrequestId, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#deletePullRequestHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
pullrequestId | String | The pull request ID. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
deleteRepositoryHostedPropertyValue(workspace, repoSlug, appKey, propertyName)
Delete an application property value stored against a repository.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.deleteRepositoryHostedPropertyValue(workspace, repoSlug, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#deleteRepositoryHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
deleteUserHostedPropertyValue(selectedUser, appKey, propertyName)
Delete an application property value stored against a user.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String selectedUser = "selectedUser_example"; // String | Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.deleteUserHostedPropertyValue(selectedUser, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#deleteUserHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
selectedUser | String | Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
getCommitHostedPropertyValue(workspace, repoSlug, commit, appKey, propertyName)
Retrieve an application property value stored against a commit.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String commit = "commit_example"; // String | The commit.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.getCommitHostedPropertyValue(workspace, repoSlug, commit, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#getCommitHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
commit | String | The commit. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
getPullRequestHostedPropertyValue(workspace, repoSlug, pullrequestId, appKey, propertyName)
Retrieve an application property value stored against a pull request.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String pullrequestId = "pullrequestId_example"; // String | The pull request ID.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.getPullRequestHostedPropertyValue(workspace, repoSlug, pullrequestId, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#getPullRequestHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
pullrequestId | String | The pull request ID. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
getRepositoryHostedPropertyValue(workspace, repoSlug, appKey, propertyName)
Retrieve an application property value stored against a repository.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.getRepositoryHostedPropertyValue(workspace, repoSlug, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#getRepositoryHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
retrieveUserHostedPropertyValue(selectedUser, appKey, propertyName)
Retrieve an application property value stored against a user.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String selectedUser = "selectedUser_example"; // String | Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.retrieveUserHostedPropertyValue(selectedUser, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#retrieveUserHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
selectedUser | String | Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
updateCommitHostedPropertyValue(workspace, repoSlug, commit, appKey, propertyName)
Update an application property value stored against a commit.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String commit = "commit_example"; // String | The commit.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.updateCommitHostedPropertyValue(workspace, repoSlug, commit, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#updateCommitHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
commit | String | The commit. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
updatePullRequestHostedPropertyValue(workspace, repoSlug, pullrequestId, appKey, propertyName)
Update an application property value stored against a pull request.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String pullrequestId = "pullrequestId_example"; // String | The pull request ID.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.updatePullRequestHostedPropertyValue(workspace, repoSlug, pullrequestId, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#updatePullRequestHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
pullrequestId | String | The pull request ID. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
updateRepositoryHostedPropertyValue(workspace, repoSlug, appKey, propertyName)
Update an application property value stored against a repository.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String workspace = "workspace_example"; // String | The repository container; either the workspace slug or the UUID in curly braces.
String repoSlug = "repoSlug_example"; // String | The repository.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.updateRepositoryHostedPropertyValue(workspace, repoSlug, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#updateRepositoryHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
workspace | String | The repository container; either the workspace slug or the UUID in curly braces. | |
repoSlug | String | The repository. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required
updateUserHostedPropertyValue(selectedUser, appKey, propertyName)
Update an application property value stored against a user.
// Import classes:
//import com.rappi.bitbucket.client.invoker.ApiException;
//import com.rappi.bitbucket.client.api.PropertiesApi;
PropertiesApi apiInstance = new PropertiesApi();
String selectedUser = "selectedUser_example"; // String | Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
String appKey = "appKey_example"; // String | The key of the Connect app.
String propertyName = "propertyName_example"; // String | The name of the property.
try {
apiInstance.updateUserHostedPropertyValue(selectedUser, appKey, propertyName);
} catch (ApiException e) {
System.err.println("Exception when calling PropertiesApi#updateUserHostedPropertyValue");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
selectedUser | String | Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID. | |
appKey | String | The key of the Connect app. | |
propertyName | String | The name of the property. |
null (empty response body)
No authorization required