I'm interested in getting paginated results from the `/rest/api/latest/queue` endpoint so I can limit the results.
Pagination is not documented in https://docs.atlassian.com/atlassian-bamboo/REST/8.2.4/#d2e3179.
An API call to the endpoint returns the desired `max-result` parameter nested within`queuedBuilds`.
{
"expand": "queuedBuilds",
"link": {
"href": "https://bamboo.com/rest/api/latest/queue",
"rel": "self"
},
"queuedBuilds": {
"size": 25,
"start-index": 0,
"max-result": 25
}
Setting `max-result` as a query parameter takes no effect. e.g:
https://bamboo.com/rest/api/latest/queue?expand=queuedBuilds.queuedBuilds&max-result=1
Is this not supported or documented elsewhere?
Hello @HN,
Thanks for reporting that!
I have created a bug issue. Make sure to watch it so you will get updated once it gets moved forward in development.
Best regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.