repos

Create a connected repository for this repository.

Create a connected repository for this repository.

post/repos/{owner}/{identifier}/connected/

Request body

is_activeboolean
priorityinteger

Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first.

target_repositorystring slug required

The slug of the target repository to connect to.

Response

The connected repository was created.

can_view_target_repository_settingsboolean

Whether the current user has permission to view the target repository's settings. When false, configured_upstreams will be empty even if upstreams are configured.

created_atstring date-time

The date and time when the connection was created.

disable_reason'N/A' | 'The connection contains a circular reference'
disable_reason_textstring

Human-readable explanation of why this connection is disabled.

is_activeboolean
priorityinteger

Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first.

slug_permstring slug
target_repositorystring slug required

The slug of the target repository to connect to.

Changes

No recorded changes to this endpoint across all 1 revision of this API.