I am calling the jobrequest
endpoint of the pools resource. Adding the querystring completedRequestCount
returns a pattern I cannot figure out. (This api is undocumented).
https://dev.azure.com/{orgname}/_apis/distributedtask/pools/{poolId}/jobrequests/?completedRequestCount={int}
- If
{int}
is 0, then all running/unassigned jobs are returned - If
{int}
is 1, then a number of results are returned. One pool returned two, another returned nine. - If
{int}
is 2, then double the results of{int}
=1 is returned. One pool returned four, another returned eighteen - If
{int}
is 3, then three times the results of{int}
=1 is returned
The returned jobs don't seem to be in a strict chronological order. The returned jobs are normally jobs that have been run recently.
What is the query string completedRequestCount
returning and how does the changing of {int}
affect it?