Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

From version 86.1
edited by Ludovic Dubost
on 2021/06/24
Change comment: Uploaded new attachment "installjobrequest.xml", version 1.1
To version 88.1
edited by Ludovic Dubost
on 2021/06/24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -989,6 +989,14 @@
989 989  * current user
990 990  * request URL and parameters
991 991  
992 +=== Example of Extension Manager installJob ===
993 +
994 +Using the attach:installjobrequest.xml you can use a request like the following one to ask for the installation of an extension (in this example the XWiki OIDC module version 1.28):
995 +
996 +{{code language="none"}}
997 +curl -i --user "Admin:admin" -X PUT -H "Content-Type: text/xml" "http://localhost:8080/xwiki/rest/jobs?jobType=install&async=false" --upload-file installjobrequest.xml
998 +{{/code}}
999 +
992 992  == Localization resources ==
993 993  
994 994  For more details see the [[Localization Module documentation>>extensions:Extension.Localization.WebHome]].

Get Connected