{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Pipelines API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Pipelines",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian List Pipelines",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation retrieves a paginated list of all pipelines executed for a specific Bitbucket repository within a workspace. By making a GET request to the endpoint with the workspace identifier and repository slug as path parameters, users can access comprehensive information about their repository's CI/CD pipeline runs, including pipeline execution status, build numbers, creation dates, and associated commit details. The response returns pipeline objects in reverse chronological order, maki"
},
{
"info": {
"name": "Atlassian Run A Pipeline",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Endpoint to create and initiate a pipeline.
There are a couple of different options to initiate a pipeline, where the payload of the request will determine which type of pipeline will be instantiated.
# Trigger a Pipeline for a branch
One way to trigger pipelines is by specifying the branch for which you want to trigger a pipeline.
The specified branch will be used to determine which pipeline definition from the `bitbucket-pipelines.yml` file will be applied to initiate the pipeline."
},
{
"info": {
"name": "Atlassian Get Pipeline",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The pipeline UUID."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieves detailed information about a specific pipeline execution in a Bitbucket repository. This endpoint requires the workspace slug, repository slug, and the unique pipeline UUID to fetch comprehensive data about a particular pipeline run, including its current status, configuration, build number, duration, creator information, and associated commit details. The response provides insights into the pipeline's execution history and can be used to monitor CI/CD processes, track build progress, "
},
{
"info": {
"name": "Atlassian List Steps for Pipeline",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieves a paginated list of all build steps that belong to a specific pipeline execution in a Bitbucket repository. This endpoint requires the workspace identifier, repository slug, and pipeline UUID as path parameters to locate the target pipeline, then returns detailed information about each step in the pipeline's execution sequence including their status, duration, commands executed, and any associated logs or artifacts. The response provides visibility into the individual stages of a CI/CD"
},
{
"info": {
"name": "Atlassian Get Step of Pipeline",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
},
{
"name": "step_uuid",
"value": "",
"type": "path",
"description": "The UUID of the step."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation retrieves detailed information about a specific step within a pipeline execution in a Bitbucket repository. By providing the workspace identifier, repository slug, pipeline UUID, and step UUID as path parameters, you can fetch comprehensive data about an individual step's status, configuration, duration, logs reference, and execution details within the context of a Bitbucket Pipelines build process. This endpoint is useful for monitoring pipeline progress, debugging failed bui"
},
{
"info": {
"name": "Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/logs/:log_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
},
{
"name": "step_uuid",
"value": "",
"type": "path",
"description": "The UUID of the step."
},
{
"name": "log_uuid",
"value": "",
"type": "path",
"description": "For the main build container specify the step UUID; for a service container specify the service container UUID"
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API endpoint retrieves the logs for a specific build or service container associated with a particular step in a Bitbucket pipeline execution. By providing the workspace identifier, repository slug, pipeline UUID, step UUID, and log UUID, developers can access detailed log information that captures the output and execution details of containers running during the pipeline process. This is particularly useful for debugging pipeline failures, monitoring build processes, and tracking the behav"
},
{
"info": {
"name": "Atlassian Get Summary of Test Reports for Given Step of Pipeline.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/test_reports",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
},
{
"name": "step_uuid",
"value": "",
"type": "path",
"description": "The UUID of the step."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API endpoint retrieves a comprehensive summary of test reports for a specific step within a pipeline execution in a Bitbucket repository. By providing the workspace identifier, repository slug, pipeline UUID, and step UUID as path parameters, users can access aggregated test results including passed, failed, and skipped tests, along with detailed metrics and statistics generated during that particular pipeline step's test execution phase."
},
{
"info": {
"name": "Atlassian Get Test Cases for Given Step of Pipeline.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/test_reports/test_cases",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
},
{
"name": "step_uuid",
"value": "",
"type": "path",
"description": "The UUID of the step."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation retrieves test case results for a specific step within a pipeline execution in a Bitbucket repository. By providing the workspace identifier, repository slug, pipeline UUID, and step UUID as path parameters, developers can access detailed information about individual test cases that were executed during that particular pipeline step, including test names, status (passed, failed, skipped), execution time, and any associated error messages or stack traces. This endpoint is parti"
},
{
"info": {
"name": "Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/test_reports/test_cases/:test_case_uuid/test_case_reasons",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
},
{
"name": "step_uuid",
"value": "",
"type": "path",
"description": "The UUID of the step."
},
{
"name": "test_case_uuid",
"value": "",
"type": "path",
"description": "The UUID of the test case."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API endpoint retrieves the test case reasons (output) for a specific test case within a pipeline step in Atlassian Bitbucket. It requires authentication and accepts path parameters including the workspace identifier, repository slug, pipeline UUID, step UUID, and test case UUID to uniquely identify the test case whose reasons or failure details you want to access. The GET operation returns information about why a particular test case passed, failed, or was skipped during the execution of th"
},
{
"info": {
"name": "Atlassian Stop Pipeline",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/stopPipeline",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation allows you to stop a currently running pipeline in a Bitbucket repository by sending a POST request to the endpoint with the workspace identifier, repository slug, and the unique UUID of the pipeline you want to terminate. When executed, it immediately halts the execution of the specified pipeline, canceling any in-progress steps or builds. This is useful for scenarios where you need to abort a pipeline that was triggered by mistake, is taking too long, or is no longer needed "
},
{
"info": {
"name": "Atlassian Get Openid Configuration for Oidc in Pipelines",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/identity/oidc/.well-known/openid-configuration",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API endpoint retrieves the OpenID Connect (OIDC) configuration for Bitbucket Pipelines within a specified workspace. It returns the well-known OpenID configuration document that contains metadata about the OIDC identity provider used by Pipelines, including supported endpoints, token signing algorithms, claims, and other OAuth 2.0 and OIDC protocol details. This configuration is essential for external services and cloud providers that need to establish trust and validate identity tokens iss"
},
{
"info": {
"name": "Atlassian Get Keys for Oidc in Pipelines",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/identity/oidc/keys.json",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API endpoint retrieves the JSON Web Key Set (JWKS) containing the public keys used for OpenID Connect (OIDC) authentication in Bitbucket Pipelines for a specific workspace. It accepts a GET request to the path /workspaces/{workspace}/pipelines-config/identity/oidc/keys.json, where {workspace} is replaced with the workspace ID or slug. The endpoint returns a keys.json file that contains cryptographic keys used to verify JWT tokens issued by Bitbucket Pipelines' OIDC provider, enabling secure"
},
{
"info": {
"name": "Atlassian List Variables For An Environment",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "environment_uuid",
"value": "",
"type": "path",
"description": "The environment."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Find deployment environment level variables."
},
{
"info": {
"name": "Atlassian Create A Variable For An Environment",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "environment_uuid",
"value": "",
"type": "path",
"description": "The environment."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create a deployment environment level variable."
},
{
"info": {
"name": "Atlassian Update A Variable For An Environment",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "environment_uuid",
"value": "",
"type": "path",
"description": "The environment."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to update."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a deployment environment level variable."
},
{
"info": {
"name": "Atlassian Delete A Variable For An Environment",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "environment_uuid",
"value": "",
"type": "path",
"description": "The environment."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a deployment environment level variable."
},
{
"info": {
"name": "Atlassian List Caches",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines-config/caches",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the repository pipelines caches."
},
{
"info": {
"name": "Atlassian Delete Caches",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines-config/caches",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "name",
"value": "",
"type": "query",
"description": "The cache name."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete repository cache versions by name."
},
{
"info": {
"name": "Atlassian Delete A Cache",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines-config/caches/:cache_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "cache_uuid",
"value": "",
"type": "path",
"description": "The UUID of the cache to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a repository cache."
},
{
"info": {
"name": "Atlassian Get Cache Content Uri",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines-config/caches/:cache_uuid/content-uri",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "cache_uuid",
"value": "",
"type": "path",
"description": "The UUID of the cache."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the URI of the content of the specified cache."
},
{
"info": {
"name": "Atlassian Get Log File For A Step",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/log",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "pipeline_uuid",
"value": "",
"type": "path",
"description": "The UUID of the pipeline."
},
{
"name": "step_uuid",
"value": "",
"type": "path",
"description": "The UUID of the step."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the log file for a given step of a pipeline.
This endpoint supports (and encourages!) the use of [HTTP Range requests](https://tools.ietf.org/html/rfc7233) to deal with potentially very large log files."
},
{
"info": {
"name": "Atlassian Get Configuration",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the repository pipelines configuration."
},
{
"info": {
"name": "Atlassian Update Configuration",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update the pipelines configuration for a repository."
},
{
"info": {
"name": "Atlassian Update The Next Build Number",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/build_number",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update the next build number that should be assigned to a pipeline. The next build number that will be configured has to be strictly higher than the current latest build number for this repository."
},
{
"info": {
"name": "Atlassian List Schedules",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/schedules",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the configured schedules for the given repository."
},
{
"info": {
"name": "Atlassian Create A Schedule",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/schedules",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create a schedule for the given repository."
},
{
"info": {
"name": "Atlassian Get A Schedule",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "schedule_uuid",
"value": "",
"type": "path",
"description": "The uuid of the schedule."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a schedule by its UUID."
},
{
"info": {
"name": "Atlassian Update A Schedule",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "schedule_uuid",
"value": "",
"type": "path",
"description": "The uuid of the schedule."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a schedule."
},
{
"info": {
"name": "Atlassian Delete A Schedule",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "schedule_uuid",
"value": "",
"type": "path",
"description": "The uuid of the schedule."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a schedule."
},
{
"info": {
"name": "Atlassian List Executions Of A Schedule",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid/executions",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "schedule_uuid",
"value": "",
"type": "path",
"description": "The uuid of the schedule."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the executions of a given schedule."
},
{
"info": {
"name": "Atlassian Get Ssh Key Pair",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/key_pair",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the repository SSH key pair excluding the SSH private key. The private key is a write only field and will never be exposed in the logs or the REST API."
},
{
"info": {
"name": "Atlassian Update Ssh Key Pair",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/key_pair",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create or update the repository SSH key pair. The private key will be set as a default SSH identity in your build container."
},
{
"info": {
"name": "Atlassian Delete Ssh Key Pair",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/key_pair",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete the repository SSH key pair."
},
{
"info": {
"name": "Atlassian List Known Hosts",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Find repository level known hosts."
},
{
"info": {
"name": "Atlassian Create A Known Host",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create a repository level known host."
},
{
"info": {
"name": "Atlassian Get A Known Host",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts/:known_host_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "known_host_uuid",
"value": "",
"type": "path",
"description": "The UUID of the known host to retrieve."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a repository level known host."
},
{
"info": {
"name": "Atlassian Update A Known Host",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts/:known_host_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "known_host_uuid",
"value": "",
"type": "path",
"description": "The UUID of the known host to update."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a repository level known host."
},
{
"info": {
"name": "Atlassian Delete A Known Host",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts/:known_host_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "known_host_uuid",
"value": "",
"type": "path",
"description": "The UUID of the known host to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a repository level known host."
},
{
"info": {
"name": "Atlassian List Variables For A Repository",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/variables",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Find repository level variables."
},
{
"info": {
"name": "Atlassian Create A Variable For A Repository",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/variables",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create a repository level variable."
},
{
"info": {
"name": "Atlassian Get A Variable For A Repository",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to retrieve."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a repository level variable."
},
{
"info": {
"name": "Atlassian Update A Variable For A Repository",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to update."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a repository level variable."
},
{
"info": {
"name": "Atlassian Delete A Variable For A Repository",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "The repository."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a repository level variable."
},
{
"info": {
"name": "Atlassian List Variables For An Account",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/teams/:username/pipelines_config/variables",
"params": [
{
"name": "username",
"value": "",
"type": "path",
"description": "The account."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Find account level variables.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Create A Variable For A User",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/teams/:username/pipelines_config/variables",
"params": [
{
"name": "username",
"value": "",
"type": "path",
"description": "The account."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create an account level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Get A Variable For A Team",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/teams/:username/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "username",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to retrieve."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a team level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Update A Variable For A Team",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/teams/:username/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "username",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a team level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Delete A Variable For A Team",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/teams/:username/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "username",
"value": "",
"type": "path",
"description": "The account."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a team level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian List Variables For A User",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/users/:selected_user/pipelines_config/variables",
"params": [
{
"name": "selected_user",
"value": "",
"type": "path",
"description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Find user level variables.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Create A Variable For A User",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/users/:selected_user/pipelines_config/variables",
"params": [
{
"name": "selected_user",
"value": "",
"type": "path",
"description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create a user level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Get A Variable For A User",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/users/:selected_user/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "selected_user",
"value": "",
"type": "path",
"description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to retrieve."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a user level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Update A Variable For A User",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/users/:selected_user/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "selected_user",
"value": "",
"type": "path",
"description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a user level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian Delete A Variable For A User",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/users/:selected_user/pipelines_config/variables/:variable_uuid",
"params": [
{
"name": "selected_user",
"value": "",
"type": "path",
"description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete an account level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
},
{
"info": {
"name": "Atlassian List Variables For A Workspace",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/variables",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Find workspace level variables."
},
{
"info": {
"name": "Atlassian Create A Variable For A Workspace",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/variables",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create a workspace level variable."
},
{
"info": {
"name": "Atlassian Get Variable For A Workspace",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to retrieve."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a workspace level variable."
},
{
"info": {
"name": "Atlassian Update Variable For A Workspace",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable."
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a workspace level variable."
},
{
"info": {
"name": "Atlassian Delete A Variable For A Workspace",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/workspaces/:workspace/pipelines-config/variables/:variable_uuid",
"params": [
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
},
{
"name": "variable_uuid",
"value": "",
"type": "path",
"description": "The UUID of the variable to delete."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a workspace level variable."
}
]
}
],
"bundled": true
}