Hi Pascal,
On 2 Mar 2016 at 14:53:55, Pascal BASTIEN
(pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) wrote:
--- En date de : Mer 2.3.16, vincent(a)massol.net a écrit :
De: vincent(a)massol.net
Objet: Re: [xwiki-users] How to disable versionning for a document
À: "XWiki Users"
Date: Mercredi 2 mars 2016, 12h19
On 2 Mar 2016 at 11:50:30, Pascal BASTIEN
(pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr))
wrote:
Hi,
I have a page
cronly updated with RESTful API and I want disable document
versionning for this page only.
I’m interested in knowing more about the use
case to see if there’s a generic need.
Sure :-) I must read json data from another web site to display it on
myxwiki.org web
site.
This one:
https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanD…
but
myxwiki.org log show a certificate problem when i use $xwiki.getURLContent API
(In fact
https://api.clashofclans.com/v1/clans/%23L9CGQYC?Authorization=Bearer xxxxxx
with Bearer authentication)
Then my solution, is to add a local cron to:
- wget my json data from
https://set7z18fgf.execute-api.us-east-1.amazonaws.com/
- use curl to upload json data in a page of
myxwiki.org with RESTful api
This page will be update periodicaly (1 or 2 time per week or less), then I need to wipe
history of this updated page.
…
Ok thanks. Why do you want to delete the revisions (it shouldn’t matter if there are a
lot)? :) XWiki should support a lot of revisions (even though we have some perf issues at
some places when there’s are too many revisions and we need to fix this ;)).
Otherwise, what you’re looking for is
http://jira.xwiki.org/browse/XWIKI-500 but there’s
little chance this is going to be implemented anytime soon (I’m not even sure there’s a
consensus on it!).
Thanks
-Vincent
It is usefull :-)
Thxs
Pascal B