Dear all,
Regarding REST API for XWiki,
Source codes are in
xwiki-trunk/xwiki-platform/xwiki-platform-core/xwiki-platform-rest.
Test codes are in
xwiki-trunk/xwiki-enterprise/xwiki-enterprise-test/xwiki-enterprise-test-rest.
I hope I am looking at the correct places.
XWiki-5820 is related to adding an endpoint for providing a rendered
version of the page.
Does REST API need to invoke xwiki-rendering library in order to render
the html content?
The current implementation will return various resources, (e.g., pages,
tags, attachments), and produce XML responses in most cases.
In XWiki-5820, only page resources will be rendered, right?
A straight-forward way may be to add additional end point (getPage and
getPageInHTML), and they will be invoked according to different Accept
http headers.
It would be great that an example can be given to show the expected
input and output.
Best regards
Jun Han