Github API - Test Config

GET /repos/{owner}/{repo}/environments/{environment_name}
repos

Note: To get information about name patterns that branches must match in order to deploy to this environment, see "Get a deployment branch policy."

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.
Get an environment

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)

Returns
200 application/json environment

environment [object]

Details of a deployment environment

Attributes
created_at string

The time that the environment was created, in ISO 8601 format.

deployment_branch_policy deployment-branch-policy-settings

html_url string

id integer

The id of the environment.

name string

The name of the environment.

node_id string

protection_rules unknown []

updated_at string

The time that the environment was last updated, in ISO 8601 format.

url string

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