GitHub

Request native recovery

Admits durable native Git recovery for one failed or uncertain sync job. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/github/jobs/{jobId}/recovery

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
jobIdstring required

Request body

requestIdstring uuid required
action'cancel' | 'reconcile' | 'cancel-native' | 'accept-remote' required
expectedLeaseGenerationinteger required
expectedConfigGenerationinteger required
expectedCancellationGenerationinteger required

Response

Response for status 202

idstring required
jobIdstring required
action'cancel' | 'reconcile' | 'cancel-native' | 'accept-remote' required
state'queued' | 'running' | 'succeeded' | 'blocked' required
result'cancelled' | 'committed' | 'definitely_not_committed' | 'conflict' | 'native_cancelled' | 'native_pending' | 'native_missing' | 'authority_changed' | 'configuration_changed' | 'invalid_evidence' | 'native_unavailable' | 'superseded' | 'observation_changed' | 'null' nullable required

Changes

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