POST /repos/{owner}/{repo}/statuses/{sha}
Users with push access in a repository can create commit statuses for a given SHA.
Note: there is a limit of 1000 statuses per sha
and context
within a repository. Attempts to create more than 1000 statuses will result in a validation error.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
sha |
String | Yes | |
repo |
String | Yes |
The name of the repository without the |
owner |
String | Yes |
The account owner of the repository. The name is not case sensitive. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
target_url |
String | No |
The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. |
context |
String | No |
A string label to differentiate this status from the status of other systems. This field is case-insensitive. Default value: "default" |
description |
String | No |
A short description of the status. |
state |
String | Yes |
The state of the status. Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.