pub async fn repos_slash_get_all_environments(
configuration: &Configuration,
owner: &str,
repo: &str,
per_page: Option<i32>,
page: Option<i32>,
) -> Result<ReposGetAllEnvironments200Response, Error<ReposSlashGetAllEnvironmentsError>>
Expand description
Lists the environments for a repository. 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.