Skip to main content
PUT
Link a project source

Authorizations

Authorization
string
header
required

An admin API key. Personal admin keys reach the API key, billing and Account endpoints for the creator's personal account; the other endpoints need an organization admin key. Security requirement entries list the permission a scoped key needs for the operation.

Scopes

config-registry.source

Body

application/json
project
string
required

Config project, as /org/project, in one of the organization's namespaces.

repo
string
required

GitHub repository, as owner/name.

path
string
required

Path of a .yml, .yaml or .json file in the repository. Path segments are letters, digits, periods, underscores and hyphens.

Maximum string length: 255

Response

The link, with the file as it stands at the head of the default branch

project
string
required

Config project, as /org/project.

repo
string
required

GitHub repository, as owner/name.

path
string
required

Path of the config file in the repository.

updated_by
string
required

ID of the user who last set the link.

updated_at
string<date-time>
required
head
object
required