Github API - Test Config

branch-with-protection [object]

Branch With Protection

Attributes
_links 1934

1934 [object]

Attributes
html string

self string

API:
Github Open API
(version: 1.1.4)

commit commit

commit [object]

Commit

Attributes
comments_url string

commit 1947

files diff-entry []

html_url string

node_id string

parents 1949 []

sha string

stats 1950

url string

API:
Github Open API
(version: 1.1.4)

name string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

pattern string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

protected boolean

boolean [scalar]

The OpenAPI boolean type

API:
Github Open API
(version: 1.1.4)

protection branch-protection

branch-protection [object]

Branch Protection

Attributes
allow_deletions 1920

allow_force_pushes 1921

allow_fork_syncing 1922

Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing.

block_creations 1923

enabled boolean

lock_branch 1924

Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.

name string

protection_url string

required_conversation_resolution 1925

required_linear_history 1926

required_pull_request_reviews protected-branch-pull-request-review

required_signatures 1927

url string

API:
Github Open API
(version: 1.1.4)

protection_url string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

required_approving_review_count integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

API:
Github Open API
(version: 1.1.4)