get wiki page ID of top-level parent page

Hello,

I would like to know the page ID of the top-level page of a wiki.

Normally wiki URLs seem to include a page ID, kind of like: community.company.com/w/topLevelParentPageName/1234/pageName

But the top-level page of the wiki does not seem to include a page ID in the URL, like: community.company.com/.../pageName

This call returns all pages in the wiki except for the top-level wiki page (at least that is my conclusion after much searching): curl -H "Rest-User-Token: xxxx" -X GET company.telligenthosting.net/.../pages.json

I need that ID for purposes of automatically sending HTML to that page via curl.

Thank you for any help or insights.

Parents Reply Children
No Data