Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max of only 500 pages are returned #1380

Open
amitjoy opened this issue Apr 25, 2024 · 3 comments
Open

Max of only 500 pages are returned #1380

amitjoy opened this issue Apr 25, 2024 · 3 comments

Comments

@amitjoy
Copy link

amitjoy commented Apr 25, 2024

while executing - atlassian.confluence.Confluence.get_all_pages_from_space with a limit set to 2000 still returns only 500 pages whereas the space has more than 500 pages. Is it a restriction? How can I retrieve all the pages setting the limit properly?

@Spacetown
Copy link
Contributor

That's the limit of the server if you want to get more pages you need to define the start.

@gonchik I think it's really time to implement the paging in a generic way. The only problem is that the function than will return an generator instead of a list which can break custom scripts.

@gkowalc
Copy link
Contributor

gkowalc commented Apr 26, 2024

@Spacetown I agree, but this will be a major change that can break many things, so maybe this is something we can add to next major (4.x) version. For now, as a workaround maybe we should edit the docs to highlight the need of implementing pagination with few examples?

@Spacetown
Copy link
Contributor

I tried yesterday to do the pagination in the rest client and configuring it in the module for the existing once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants