The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get more than 1000 data using this web api

Rupesh Sawaliya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2023

Hi,

I am trying to pull data between two tags from bitbucket using web api, here is the web api.

https://bitbucket.local.com/rest/api/latest/projects/TEST/repos/test/changes?since=fb7232323fw3jwj8b14&until=a6c4f1a060426e697896c567c0e444uu477e&limit=2000&start=1000

In since and from added dummy sha of two tags basically those are last commits sha of both the tags and when requesting to changes web api, I am able to get data but not more than 1000, even tried to use start parameter for pagination but no success.

please guide.

Thanks in Advance
Rupesh

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Kian Stack Mumo Systems
Community Champion
November 9, 2023

@Rupesh Sawaliya,

 

In the documentation it says that there is a hard cap se the the "@code page.max.changes".

 

Note: The implementation will apply a hard cap ({@code page.max.changes}) and it is not possible to request subsequent content when that cap is exceeded.

 

This page has some information on setting the values to a higher limit.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events