Skip to main content

CreateCommitStatuses

create commit status

Path Parameters
  • owner required

    The owner of the repository, generally called "username". The name is not case sensitive.

  • repo required

    repository name, the name is not case sensitive

  • sha required

    commit sha value

Header Parameters
  • Authorization required

    Oauth2 token or private token (needs to start with Bearer plus a space)

Request Body
  • state string

    Status enumeration, the enumeration values ​​are: error, failure, pending, success

  • target_url string

    The target URL associated with this status to allow the user to easily view the source of the status. For example, if your continuous integration system is publishing build status, you will want to output a similarly formatted link address for the build of this specific SHA: http://ci.example.com/user/repo/build/sha

  • description string

    A short description of the status.

  • context string

    A string flag used to distinguish this state from other system (user or application) states. This field is not case sensitive. Default value - default

Responses

Created

Loading...