REST Resource: git
Refs checked with GitHub, each with its status.
RefCheck fields
| Field | Description |
|---|---|
clusterstring
| The cluster's slug, or null without one. |
repostring | The cluster's repository, owner/name, or null. |
refsobject[]required | Each ref: {ref, kind, repo, sha?, number?, path?, url, status, reason?, fork?, author?, date?, verified?, prState?, headSha?, baseRef?}. status is one of valid, pending, not_found, foreign; reason says why a ref isn't valid. fork: in a fork of the cluster's repository. |
Methods
- git.checkPOST
/api/v1/private/git/checkChecks commit, pull request and file refs with GitHub before you submit them.