Getting subpageId by pageId
kevindkim opened this issue · comments
getPages()
only returns Pages, not Subpages. The HTML for Pages that only have Subpage links is blank.
Any way to find subpageIds by pageIds?
I suppose we could add a function like getSubPageIds(pageId)
which returns an array of IDs that correspond to all the subpages.
Could you give me the example of pageId?
I thought 'PAGE_NAME_WITH_CODE' in https://www.notion.so/GROUP_NAME/PAGE_NAME_WITH_CODE