Edit

GitHttpClientBase.GetItemsBatchAsync Method

Definition

Overloads

GetItemsBatchAsync(GitItemRequestData, String, String, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

GetItemsBatchAsync(GitItemRequestData, Guid, String, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

GetItemsBatchAsync(GitItemRequestData, String, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

GetItemsBatchAsync(GitItemRequestData, String, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

GetItemsBatchAsync(GitItemRequestData, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

GetItemsBatchAsync(GitItemRequestData, Guid, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

GetItemsBatchAsync(GitItemRequestData, String, String, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>

Parameters

requestData
GitItemRequestData

Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.

project
String

Project ID or project name

repositoryId
String

The name or ID of the repository

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(GitItemRequestData, Guid, String, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, Guid project, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>

Parameters

requestData
GitItemRequestData

Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.

project
Guid

Project ID

repositoryId
String

The name or ID of the repository

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(GitItemRequestData, String, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>

Parameters

requestData
GitItemRequestData

Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.

project
String

Project ID or project name

repositoryId
Guid

The name or ID of the repository

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(GitItemRequestData, String, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>

Parameters

requestData
GitItemRequestData

Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.

repositoryId
String

The name or ID of the repository

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(GitItemRequestData, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>

Parameters

requestData
GitItemRequestData

Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.

repositoryId
Guid

The name or ID of the repository

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsBatchAsync(GitItemRequestData, Guid, Guid, Object, CancellationToken)

[Preview API] Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>> GetItemsBatchAsync(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData requestData, Guid project, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>
override this.GetItemsBatchAsync : Microsoft.TeamFoundation.SourceControl.WebApi.GitItemRequestData * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitItem>>>

Parameters

requestData
GitItemRequestData

Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.

project
Guid

Project ID

repositoryId
Guid

The name or ID of the repository

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to