v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Create a commit status

post/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

Request body

contextstring

Context is the unique context identifier for the status

descriptionstring

Description provides a brief description of the status

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

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

target_urlstring

TargetURL is the URL to link to for more details

Response

CommitStatus

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