You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.