microsoft/azure-devops-go-api

TFVC ChangeSet changes api doesn't support pagination in the request Input.

varmakarthik12 opened this issue · 1 comments

API Documentation https://learn.microsoft.com/en-us/rest/api/azure/devops/tfvc/changesets/get-changeset-changes?view=azure-devops-rest-7.1&tabs=HTTP

The ChangeSetChangesResponse exposes a continuationToken

type GetChangesetChangesResponseValue struct {
Value []git.TfvcChange
ContinuationToken string
}
. But the same is not considered in the request of Changeset Changes
// Arguments for the GetChangesetChanges function
type GetChangesetChangesArgs struct {
// (optional) ID of the changeset. Default: null
Id *int
// (optional) Number of results to skip. Default: null
Skip *int
// (optional) The maximum number of results to return. Default: null
Top *int
}
.

This issue track to fix this.
i'm working on a PR to fix this.

NM, looks like the root package supports this. But not the v7 one. Closing this