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: 

REST API paginated calls is not working

ali jazayeri
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!
April 30, 2024

Hi,

To provide some context:

  • We have a Confluence instance hosted in a Data Center.
  • We have been using the REST API for some time now, and more specifically the endpoint "/rest/api/space" for getting the list of spaces

Since a couple of days ago, the pagination has stopped working, i.e., once we get the first batch, neither the URLs provided as the values for the "next" key in the former responses nor URLs created manually for subsequent batches are working. Using these URL always brings back the (partial) content associated with the first batch.

 

Any guidance or direction would be greatly appreciated!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
April 7, 2025

Hi @ali jazayeri ,

pagination on rest api is working on my side (https://developer.atlassian.com/server/confluence/pagination-in-the-rest-api/). Please could you provide more information about your Confluence Data Center instance version?

Fabio

TAGS
AUG Leaders

Atlassian Community Events