Skip to main content
GET
Get a connected pipeline repository

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

repository_id
string<uuid>
required

The connected repository.

Response

The repository.

A repository connected to Ankra Pipelines.

id
string<uuid>
required
organisation_id
string<uuid>
required
provider
enum<string>
required
Available options:
github,
gitlab,
bitbucket_cloud
owner
string
required
name
string
required
credential_name
string
required
default_branch
string
required
application_id
string | null
required

The linked application; null when none.

cluster_id
string | null
required

The repository's CI cluster override; null when its runs follow the organisation's CI settings.

created_at
string<date-time>
required
updated_at
string<date-time>
required
last_trigger
object | null
required

What the trigger last decided for this repository; null when it has never decided anything.

merge_train_enabled
boolean

Whether the repository's merge train is on (GET .../merge-train answers the same value with the queue).

merge_train_max_cars
integer

How many pull requests the repository's merge train tests at once.

Required range: 1 <= x <= 8
workspaces_only
boolean

The repository is connected for Ankra Workspaces only: no push, pull request, tag, schedule, merge train or manual dispatch starts a pipeline run for it, no commit status or check run is posted for it, and no pipeline definition is recorded for it. Workspaces (up, runs, the clone credential, workspace profiles) work as for any connected repository.