v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Get a commit's statuses

get/repos/{owner}/{repo}/statuses/{sha}

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

shastring required

sha of the commit

Query parameters

sort'oldest' | 'recentupdate' | 'leastupdate' | 'leastindex' | 'highestindex'

type of sort

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

type of state

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

CommitStatusList

contextstring

Context is the unique context identifier for the status

created_atstring date-time
descriptionstring

Description provides a brief description of the status

idinteger

ID is the unique identifier for the commit status

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

State represents the status state (pending, success, error, failure)

target_urlstring

TargetURL is the URL to link to for more details

updated_atstring date-time
urlstring

URL is the API URL for this status