Repositories

Reconcile a changeset

Inspects native outcome for a changeset job when expectedVersion matches and returns the updated status. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/changesets/{job}/inspect

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:contents:write

Path parameters

ownerstring required
repostring required
jobstring required

Request body

expectedVersioninteger required

Response

Response for status 200

idstring required
repoIdstring required
actorIdstring required
state'admitted' | 'receiving' | 'unknown' | 'succeeded' | 'failed' | 'cancelled' | 'superseded' required
versioninteger required
effectPermittedboolean required
cancellationRequestedboolean required
accountedboolean required

Changes

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