404 Not Found when using paged API on projects

When I use the API to procure the projects on our server, I receive the default 25.

When I try to request using the nextPageStart, I get a "404 not found", when I try to up the limit on the initial request, I get a "404 not found".

It seems it's breaking whenever I add paging-parameters to my get-query.

I'm using these docs for the API
https://developer.atlassian.com/static/rest/bitbucket-server/4.14.4/bitbucket-rest.html#idm46478324103840

This for the paging
https://developer.atlassian.com/static/rest/bitbucket-server/4.14.4/bitbucket-rest.html#paging-params

1st attempt

My query looks like this:
https://bitbucket.ourcompanyname.com/rest/api/1.0/projects
and it returns 25 projects and isLastPage = false, nextPageStart = 90

My next query looks like this;

https://bitbucket.ourcompanyname.com/rest/api/1.0/projects?start=90

Gives 404 not found.

 

2nd attempt

My query looks like this:
https://bitbucket.ourcompanyname.com/rest/api/1.0/projects?limit=1000

Gives 404 not found.

 

We're using V4.14.4 of Bitbucket Server

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,304 views 9 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you