GitHub

Reconnect a GitHub mirror

Reconnects a mirror to exact provider installation and repository authority. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/github/reconnect

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

Response

Response for status 200

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

Changes

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