GitHub

Request provider recovery

Admits durable provider-side recovery for one failed or uncertain sync job. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/github/jobs/{jobId}/provider-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'inspect' | 'cancel-unsent' | 'resume-receipt' required
expectedConfigGenerationinteger required
expectedCancellationGenerationinteger required
expectedLeaseGenerationinteger required

Response

Response for status 202

idstring required
jobIdstring required
action'inspect' | 'cancel-unsent' | 'resume-receipt' required
state'pending' | 'completed' | 'blocked' required
reasonstring nullable required

Changes

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