Skip to contents

Obtain the names of all collaborators

Usage

get_collaborator_list(owner, repo, affiliation = c("all", "outside", "direct"))

Arguments

owner

Name of the repository owner.

repo

Name of the repository.

affiliation

The affiliation level of collaborators. Can be one of: `"outside"`, `"direct"`, or `"all"`. Default: `"all"`

Affiliation

Filter collaborators returned by their affiliation. Can be one of: - `"outside"` - All outside collaborators of an organization-owned repository. - `"direct"` - All collaborators with permissions to an organization-owned repository, regardless of organization membership status. - `"all"` - All outside collaborators of an organization-owned repository.

References

<https://developer.github.com/v3/repos/collaborators/#list-collaborators>