atlassian-python-api
atlassian-python-api copied to clipboard
[Confluence] page information about existence / amount of children
Hi,
when I use the function get_page_child_by_type()
I get the page representation of the particular page whose id
I put into the function. The function returns a list of page items, which is great. From here, I would like to get further underlying child pages, but when try to issue further requests, I run into a rate limit exceeded
. So I have to artificially put in something like 1 second delay before running the requests for checking further children. That takes a long time.
Is there a way to retrieve the existence (or even the number) of children when requesting the page itself? Something like a single item within the results structure of a page? I know, by "expanding" certain sections of the page, the complete page content in XHTML can be retrieved. But is there any (possibly expandable) section about those structural information like the existence of children? So I could save a lot of time checking for them.
Thanks.
no clues? maybe the other way round...
would it be possible to get information about the existence or the amount of child pages from a page without having to use the function confluence.get_page_child_by_type()
?
maybe the "amount of existing children" could be expanded
while reading a page, thus minimizing the number of subsequent calls to the system?