status_commits
Overview
Name | status_commits |
Type | Resource |
Id | github.repos.status_commits |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | |
description | string | |
avatar_url | string | |
context | string | |
created_at | string | |
creator | object | A GitHub user. |
node_id | string | |
state | string | |
target_url | string | |
updated_at | string | |
url | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_commit_statuses_for_ref | SELECT | owner, ref, repo | Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref . |
create_commit_status | INSERT | owner, repo, sha, data__state | 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. |