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 AlvarengaAtlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
It looks like you're new here. Sign in or register to get started.