atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

[Confluence] Get pages from space key

Open AlokRanjanSwain opened this issue 4 months ago • 1 comments

There is a limit of 100 pages from a particular space. How can I loop over so that I can get all the pages including child pages from that space.

For my space If I give start point as 100 to test, it is throwing 502 bad gateway error.

conf.get_all_pages_from_space_raw(space="MySpace", start=100, limit=100000, status=None, expand="body.storage", content_type='page')


HTTPError: 502 Server Error: Bad Gateway for url: https://wiki.company.cloud/rest/api/content?spaceKey=MySpace&start=100&limit=100000&expand=body.storage&type=page

Can I know why is this error coming , and How to resolve this.

AlokRanjanSwain avatar Apr 04 '24 11:04 AlokRanjanSwain