Pipelines

Create repository runner

Changed on

Create repository runner.

post/repositories/{workspace}/{repo_slug}/pipelines-config/runners

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines-config/runners
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: runner:write
    • 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.

Response

The repository runner.

typestring required
uuidstring

The UUID identifying the runner.

namestring

The name of the runner.

labelsstring[]

Labels assigned to the runner for identification and routing.

created_onstring date-time

The timestamp when the runner was created.

updated_onstring date-time

The timestamp when the runner was last updated.

Changes