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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

169 views 6 3
Join discussion

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