projects
github

Link a repository to a project

Changed on

Link the GitHub repository that a grant from the GitHub code exchange names. The grant must be for this project and from this user, and it lasts ten minutes. A project links at most one repository, so this replaces any link it had. The user must have manage permissions for the project.

put/v0/projects/{project}/github

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

projectstring required

The slug or UUID for a project.

Request body

grantstring required

Response

successful operation

full_namestring required
linkedstring date-time required
status'connected' | 'disconnected' required

Changes