Pipelines

Retrieve a specified pipeline

get/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: pipeline
    • or HTTP basic
    • or API key in header Authorization

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

pipeline_uuidstring required

The pipeline UUID.

Response

The pipeline.

typestring required
uuidstring

The UUID identifying the pipeline.

build_numberinteger

The build number of the pipeline.

created_onstring date-time

The timestamp when the pipeline was created.

completed_onstring date-time

The timestamp when the Pipeline was completed. This is not set if the pipeline is still in progress.

build_seconds_usedinteger

The number of build seconds used by this pipeline.

Changes

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /////////////// from the response with the status

    • warning

      removed the optional property //////////// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property /////////// from the response with the status

    • warning

      added the new rebase_fast_forward enum value to the ////// response property for the response status

    • warning

      added the new rebase_merge enum value to the ////// response property for the response status

    • warning

      added the new squash_fast_forward enum value to the ////// response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property /////////// to the response with the status