repos_slash_get_deployment_branch_policy

Function repos_slash_get_deployment_branch_policy 

Source
pub async fn repos_slash_get_deployment_branch_policy(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    environment_name: &str,
    branch_policy_id: i32,
) -> Result<DeploymentBranchPolicy, Error<ReposSlashGetDeploymentBranchPolicyError>>
Expand description

Gets a deployment branch or tag policy for an environment. 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.