Reputation: 616
I'm trying to find a possibility to skip X first elements returned by query.
Link to API: https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/wiql/query%20by%20id?view=azure-devops-rest-6.0.
Just as with Jira you use maxResults with startAt to create paging.
In AzureDevops Services I see option $top but I do not see option $skip (nor it works).
I can limit my result, but can't page through it.
Is there a way to do it?
Upvotes: 1
Views: 1222
Reputation: 11
While the endpoint does not provide paging itself, I believe you can use WIQL for paging.
Upvotes: 1
Reputation: 5242
As of this time, however, the REST API you are using doesn't supported paging.
If a REST API supports paging, there will be skip or continuationtoken parameters in the optional parameters of the document. As shown below:
Generally, Paging is supported only by the REST API that gets the lists.
Upvotes: 1