Skip to content

[Confluence] page information about existence / amount of children #1170

Open
@nnako

Description

@nnako

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confluenceAtlassian Confluence (Cloud, Server or Dataceneter)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions