[xwiki-users] [Rest] Retrieve the version summary for a page using Rest
Hello, Using Rest, I'd like to be able to retrieve the version summary a user provides when he edits a page. I wasn't able to find a way to do so : for example executing a GET on an URL like "pages/PageName/history/xxx" does not allow me to see the version summary text. Is there a way to do this ? Thanks by advance, Stephane. -- View this message in context: http://xwiki.475771.n2.nabble.com/Rest-Retrieve-the-version-summary-for-a-pa... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mon, May 13, 2013 at 6:21 PM, sthibaudeau <[email protected]> wrote:
Hello,
Using Rest, I'd like to be able to retrieve the version summary a user provides when he edits a page. I wasn't able to find a way to do so : for example executing a GET on an URL like "pages/PageName/history/xxx" does not allow me to see the version summary text.
Indeed, it seems that the HistorySummary type [1] doesn't include the version summary (comment). Can you open an improvement on http://jira.xwiki.org/browse/XWIKI/component/10821 ? It shouldn't be hard to add the missing field. Thanks, Marius [1] https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-5.0.1/xwiki-plat...
Is there a way to do this ?
Thanks by advance, Stephane.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Rest-Retrieve-the-version-summary-for-a-pa... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello Marius, I've just filed 2 improvements so one would be able to retrieve this field ((XWIKI-9138) and to provide a value for it when updating a page using REST (XWIKI-9139). Regards, Stephane. -- View this message in context: http://xwiki.475771.n2.nabble.com/Rest-Retrieve-the-version-summary-for-a-pa... Sent from the XWiki- Users mailing list archive at Nabble.com.
I've seen you have already fixed the 2 improvements I've filed. I'm amazed by your reactivity, thanks a lot. Stephane. -- View this message in context: http://xwiki.475771.n2.nabble.com/Rest-Retrieve-the-version-summary-for-a-pa... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Marius Dumitru Florea -
sthibaudeau