Github API - Test Config

GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head
repos

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.
List branches for HEAD commit

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key commit-sha

commit-sha [scalar]

The SHA of the commit.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json branch-short []

branch-short [object]

Branch Short

Attributes
commit 1933

name string

protected boolean

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)