Skip to main content
GET
Read demo repo

Authorizations

Authorization
string
header
required

Auth0 JWT access token. See Authentication for details.

Path Parameters

repo_id
string<uuid>
required

Query Parameters

view
enum<string> | null

The view to answer. Omitted, the sole view granted to the caller's actor is answered; with several granted, one must be named. A view that is not granted is refused; naming one never grants it.

Available options:
source,
custodian_a,
custodian_b

Response

Successful Response

One view of a repo at one revision. The movements are the schedule the terms prescribe, in order, and the phases list exactly their own movements, so a snapshot cannot describe a transfer the terms do not.

schemaVersion
string
required
Allowed value: "bitgo-repo-demo.v1"
repoId
string<uuid>
required
runId
string<uuid>
required
revision
string
required
Maximum string length: 20
Pattern: ^(0|[1-9][0-9]*)$
templateId
string
required
Pattern: ^[\x21-\x7E]{1,255}$
templateDigest
string
required
Pattern: ^[0-9a-f]{64}$
termsDigest
string
required
Pattern: ^[0-9a-f]{64}$
view
enum<string>
required
Available options:
source,
custodian_a,
custodian_b
createdAt
string<date-time>
required
terms
RepoSnapshotTerms · object
required
opening
RepoOpeningPhase · object
required
closing
RepoClosingPhase · object
required
movements
RepoMovement · object[]
required
Required array length: 4 elements
nextActions
any[]
required
blockers
RepoBlocker · object[]
required
Required array length: 1 element
trust
RepoTrust · object
required
authority
RepoAuthority · object
required
decision
RepoDecision · object
required
reservation
RepoReservation · object
required
asOf
RepoAsOf · object
required