Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
9.11
-
None
-
Unknown
-
Description
The "pages" REST endpoint only lists terminal pages in the specified spaces and there's no way to list nested pages.
For example:
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Sandbox/pages
The code is at https://github.com/xwiki/xwiki-platform/blob/19ae43ec1a31eee5af6fdf43f506e48d0be9960b/xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/src/main/java/org/xwiki/rest/internal/resources/pages/PagesResourceImpl.java#L60 and the query doesn't search for nested pages.