I have a Wiki Page and a lot of children and grand children underneath it. Using the Rest API, I would like to implement a Search feature that is similar to Confluence Wiki.
Upon each keypress in the input search box, I would like to make an API call with the Parent Page Id in it, and it should bring up Wiki Page Titles that match the content I am searching that are children, grand children or N levels deep, but only belong under that Page Id.
The following API Call searches a space, but not sure how to incorporate a page Id instead of entire space.
/rest/api/content/search?limit=10&cql=space={RGBY}+and+text~{"getting%20 started"}+and+type=page
Any suggestions?