GitHub

Configure GitHub outbound sync

Updates outbound GitHub synchronization policy for a mirrored repository. Requires authenticated authority and enforces current resource policy.

patch/api/repos/{owner}/{repo}/github/outbound

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

ownerstring required
repostring required

Request body

installationIdinteger required
repositoryIdinteger required
expectedVersioninteger required
mode'manual' | 'gc2-leader' required
conflictWinner'gitcafe' | 'github'
syncIssuesboolean
syncPullRequestsboolean
syncGitboolean

Response

Response for status 200

versioninteger required
mode'manual' | 'gc2-leader' required

Changes

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