REST Resource: clusters.refs
Every GitHub commit, pull request and file a cluster's work cites, with its status.
ClusterRefs fields
| Field | Description |
|---|---|
clusterstringrequired
| The cluster's slug. |
taskstring | The task key you asked for, or null. |
repoobject | The cluster's GitHub repository, or null (see Cluster). |
countsobjectrequired | {commits, prs, open, merged}: distinct commits and pull requests, and how many of those pull requests are open or merged. |
refsobject[]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.listGET
/api/v1/public/clusters/{ref}/refsLists every commit, pull request and file a cluster's work cites on GitHub.