latestSwagger 2.0MIT2026-08-03485217850.7 KB

350de506cefa

repository

Get a commit's combined status, by branch/tag/commit reference

get/repos/{owner}/{repo}/commits/{ref}/status

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

refstring required

name of branch/tag/commit

Query parameters

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

CombinedStatus

commit_urlstring

CommitURL is the API URL for the commit

shastring

SHA is the commit SHA this status applies to

state'pending' | 'success' | 'error' | 'failure' | 'warning' | 'skipped'

State is the overall combined status state

total_countinteger

TotalCount is the total number of statuses

urlstring

URL is the API URL for this combined status

Example response

{
  "repository": {
    "repo_transfer": {
      "teams": [
        {
          "units": [
            "repo.code",
            "repo.issues",
            "repo.ext_issues",
            "repo.wiki",
            "repo.pulls",
            "repo.releases",
            "repo.projects",
            "repo.ext_wiki"
          ],
          "units_map": {
            "repo.code": "read",
            "repo.ext_issues": "none",
            "repo.ext_wiki": "none",
            "repo.issues": "write",
            "repo.projects": "none",
            "repo.pulls": "owner",
            "repo.releases": "none",
            "repo.wiki": "admin"
          }
        }
      ]
    }
  }
}