--- En date de : Mer 2.3.16, vincent(a)massol.net <vincent(a)massol.net> a écrit :
De: vincent(a)massol.net <vincent(a)massol.net>
Objet: Re: [xwiki-users] How to disable versionning for a document
À: "XWiki Users" <users(a)xwiki.org>
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.
...
It is usefull :-)
Thxs
Pascal B