Details
-
Bug
-
Resolution: Timed out
-
Low
-
2
-
Severity 3 - Minor
-
Description
Issue Summary
When expanding content body, we noticed that body.export_view is significantly slower than body.view even though the output is very similar. Due to this body.export_view expands are causing timeouts.
Steps to Reproduce
- Use Get content descendants by type API
- Select page id which has a good amount of child pages.
- Add expansions - body.export_view.webresource.tags.all, body.export_view.webresource.superbatch.tags.all,metadata.labels,ancestors
Example:
<HOST>/wiki/rest/api/content/<PAGE_ID>/descendant/page?limit=200&expand=body.export_view.webresource.tags.all%2Cbody.export_view.webresource.superbatch.tags.all%2Cancestors&start=0
Expected Results
Expected 200 response
Actual Results
the document fails to load
Workaround
Try to use body.view expansions and try to call API with a smaller limit (Query param `limit`), Try with limit=50.