Skip to main content
POST
Retry the capture of a pull request head's snapshot that gave up

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pullRequestID
string<uuid>
required

Body

application/json
base_sha
string
required

The base branch's tip the listing is taken against, a full lowercase commit SHA.

Pattern: ^[0-9a-f]{40}$
ref
string
required

The head the snapshot describes, a full lowercase commit SHA.

Pattern: ^[0-9a-f]{40}$

Response

The capture's state after the retry: under way, or the snapshot itself

base_sha
string
required
Required string length: 40
Pattern: ^[0-9a-f]{40}$
files
object[]
required
head_sha
string
required
Required string length: 40
Pattern: ^[0-9a-f]{40}$
kind
enum<string>
required
Available options:
ready
truncated
boolean
required