Github API - Test Config

GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
repos

Lists the deployment branch policies for an environment.

Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the repo scope. GitHub Apps must have the actions:read permission to use this endpoint.
List deployment branch policies

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 environment-name

environment-name [scalar]

The name of the environment.

API:
Github Open API
(version: 1.1.4)

key per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

key page

page [scalar]

Page number of the results to fetch.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json 3886

3886 [object]

Attributes
branch_policies deployment-branch-policy []

total_count integer

The number of deployment branch policies for the environment.

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