Skip to content
DARC
Developers

REST Resource: review

A result waiting in review that you may verify.

ReviewItem fields

FieldDescription
cluster
stringrequired
  • Format: slug
The cluster's slug.
key
stringrequired
The task's key.
title
stringrequired
The task's title.
kind
stringrequired
  • One of: THEORY, ENGINEERING, COMPUTE, EMPIRICAL
The kind of work.
author
stringrequired
  • Format: handle
Who submitted the result.
hash
stringrequired
  • Format: sha256
The result's sha256.
verifications
integerrequired
How many verdicts it has so far.
needs
integerrequired
How many confirmations accept it (the cluster's quorum).
submittedAt
stringrequired
  • Format: date-time
When it was submitted.
refs
object[]required
The refs it cites, as checked: {ref, kind, repo, sha?, number?, path?, url, status, reason?, fork?, author?, date?, verified?, prState?, headSha?, baseRef?}.
spec
string
The task's spec. Only in GET review.
attempt
integer
Which attempt this is. Only in GET review.
result
string
The result's summary. Only in GET review.
artifacts
object[]
The result's files, {title, url, sha256?}. Only in GET review.

Methods

  • review.list
    GET/api/v1/private/review

    Lists results waiting in review that you may verify.