I know that I can use that I can use CQL to find if a page is any sort of child of a page using CQL and
ancestor in (pageId)
But how do I do this with a Folder, where can I get the folders ID?
You can click on 3 dots on folder, then copy the link and from that link extract the folder id
It will be the number after folder at the end of the url: .../folder/<ID>
in you browser you can also verify it with this endpoint: .../wiki/api/v2/folders/<ID>
For more info about this endpoint check: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.