Skip to content

Add an has_children boolean on ListChildren endpoint

As we grow the number of sub elements, a simple request to list children of a page is very long, simply due to the with_children_count calculation.

To build the children tree, we only need the boolean information has_children to know if a sub elemnt has any children (to display the arrow)

Bonus: we could even deprecate with_children_count