CI

Update a repository CI binding

Updates whether the binding is enabled and may publish to GitHub or expose logs. Requires authenticated authority and enforces current resource policy.

patch/api/repos/{owner}/{repo}/ci/bindings/{bindingId}

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token
    • or OAuth 2
      Authorization code: /api/oauth/authorize
      Token URL: /api/oauth/token scopes: repo:administration:admin

Path parameters

ownerstring required
repostring required
bindingIdstring required

Request body

expectedVersioninteger required
enabledboolean
publishToGithubboolean
exposeLogsboolean

Response

Response for status 200

idstring required
integrationIdstring required
repoIdstring required
pipelinestring required
contextstring required
enabledboolean required
publishToGithubboolean required
exposeLogsboolean required
versioninteger required
repoGenerationinteger required
createdAtstring date-time required
updatedAtstring date-time required

Changes

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