GitHubClient.GetUserReposAsync Method

Definition

Lists all repositories for the authenticated user

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>> GetUserReposAsync(string visibility = default, string affiliation = default, string since = default, string before = default, string type = default, string sort = default, string direction = default, int? perPage = default, int? page = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUserReposAsync : string * string * string * string * string * 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.GetUserReposAsync : string * string * string * string * string * 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 GetUserReposAsync (Optional visibility As String = Nothing, Optional affiliation As String = Nothing, Optional since As String = Nothing, Optional before As String = Nothing, Optional type As String = Nothing, Optional sort As String = Nothing, Optional direction As String = Nothing, 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

visibility
String

visibility

affiliation
String

affiliation

since
String

since

before
String

before

type
String

type

sort
String

sort

direction
String

direction

perPage
Nullable<Int32>

per_page

page
Nullable<Int32>

page

cancellationToken
CancellationToken

Cancellation token.

Returns

The Lists all repositories for the authenticated user response.

Remarks

Lists all repositories (both public and private) for the authenticated user.

Applies to