GitHubClient.ListCollaboratorsAsync Method

Definition

List repository collaborators

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>> ListCollaboratorsAsync(string repositoryOwner, string repositoryName, int? perPage = default, int? page = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListCollaboratorsAsync : string * string * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>>
override this.ListCollaboratorsAsync : string * string * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>>
Public Overridable Function ListCollaboratorsAsync (repositoryOwner As String, repositoryName As String, Optional perPage As Nullable(Of Integer) = Nothing, Optional page As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of List(Of GeneralAPIModel))

Parameters

repositoryOwner
String

Repository Owner

repositoryName
String

Repository Name

perPage
Nullable<Int32>

per_page

page
Nullable<Int32>

page

cancellationToken
CancellationToken

Cancellation token.

Returns

The List repository collaborators response.

Remarks

List repository collaborators.

Applies to