Skip to content
DARC
Developers

REST Resource: clusters.refs

Every GitHub commit, pull request and file a cluster's work cites, with its status.

ClusterRefs fields

FieldDescription
cluster
stringrequired
  • Format: slug
The cluster's slug.
task
string
The task key you asked for, or null.
repo
object
The cluster's GitHub repository, or null (see Cluster).
counts
objectrequired
{commits, prs, open, merged}: distinct commits and pull requests, and how many of those pull requests are open or merged.
refs
object[]required
One per citation: {ref, kind, repo, sha?, number?, path?, url, status, reason?, prState?, author?, date?, …} plus where it came from: {from, task, attempt, resultId, resultStatus, verificationId, by}. kind is commit, pr or file. status is valid, pending (not checked yet), not_found or foreign (not in the cluster's repository or a fork of it). from is result or verification.

Methods

  • clusters.refs.list
    GET/api/v1/public/clusters/{ref}/refs

    Lists every commit, pull request and file a cluster's work cites on GitHub.