pub async fn repos_slash_get_environment(
configuration: &Configuration,
owner: &str,
repo: &str,
environment_name: &str,
) -> Result<Environment, Error<ReposSlashGetEnvironmentError>>
Expand description
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. OAuth app tokens and personal access tokens (classic) need the repo
scope to use this endpoint with a private repository.