Skip to content

Add Permission filter to collaborators list #2651

@MytsYurii

Description

@MytsYurii

in official documentation here: https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28
there is a possibility to add "permission" parameter.

It allows to filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.

Can be one of: pull, triage, push, maintain, admin

Can you add this filter to ListCollaborators endpoint, to ListCollaboratorsOptions struct?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions