<
From version < 63.1 >
edited by Thomas Mortagne
on 2017/02/20
To version < 67.1 >
edited by Thomas Mortagne
on 2017/04/26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -903,10 +903,10 @@
903 903  Request parameters:
904 904  
905 905  |=Name|=Required|=Values|=Default|=Description|=Version
906 -|##request##|no|true~|false|false|Return also the job request|9.1RC1
907 -|##progress##|no|true~|false|true|Return also the job progress|9.1RC1
908 -|##log##|true~|no|false|false|Return also the job log|9.1RC1
909 -|##log_fromLevel##|no|error~|warn~|info~|debug~|trace||Indicate the level from which to return logs|9.1RC1
906 +|##request##|no|##true~|false##|##false##|Return also the job request|9.1RC1
907 +|##progress##|no|##true~|false##|##true##|Return also the job progress|9.1RC1
908 +|##log##|no|##true~|false##|##false##|Return also the job log|9.1RC1
909 +|##log_fromLevel##|no|##error~|warn~|info~|debug~|trace##||Indicate the level from which to return logs|9.1RC1
910 910  
911 911  * **HTTP Method:** GET
912 912  ** **Media types:**
... ... @@ -921,8 +921,8 @@
921 921  Request parameters:
922 922  
923 923  |=Name|=Required|=Values|=Default|=Description|=Version
924 -|##level##|no|error~|warn~|info~|debug~|trace||Indicate the exact level for which to return logs|7.2M3
925 -|##fromLevel##|no|error~|warn~|info~|debug~|trace||Indicate the level from which to return logs|7.2M3
924 +|##level##|no|##error~|warn~|info~|debug~|trace##||Indicate the exact level for which to return logs|7.2M3
925 +|##fromLevel##|no|##error~|warn~|info~|debug~|trace##||Indicate the level from which to return logs|7.2M3
926 926  
927 927  * **HTTP Method:** GET
928 928  ** **Media types:**
... ... @@ -937,8 +937,17 @@
937 937  Request parameters:
938 938  
939 939  |=Name|=Required|=Values|=Default|=Description|=Version
940 -|##async##|no|true~|false|true|If false, return the response only when the job is done|9.1RC1
940 +|##jobType##|yes|||The type of the job to pass to the Job Executor|9.1RC1
941 +|##async##|no|##true~|false##|##true##|If false, return the response only when the job is done|9.1RC1
941 941  
943 +Since 9.2RC1 jobs started trough the REST API automatically get their runtime context injected with the following REST HTTP request context properties:
944 +
945 +* current wiki
946 +* current user
947 +* current document
948 +* current secure document
949 +* request URL and parameters
950 +
942 942  * **HTTP Method:** PUT
943 943  ** **Accepted Media types:**
944 944  *** application/xml (JobRequest element)
XWiki.XWikiComments[6]
Comment
... ... @@ -1,4 +1,4 @@
1 -Based on the feature request at http://jira.xwiki.org/browse/XWIKI-9123#comment-74977 It is possible to fetch the XHTML content from URL such as
1 +Based on the feature request at https://jira.xwiki.org/browse/XWIKI-9123#comment-74977 It is possible to fetch the XHTML content from URL such as
2 2  http://platform.xwiki.org/xwiki/bin/get/Features/XWikiRESTfulAPI
3 3  or via
4 4  http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI?xpage=plain&outputSyntax=xhtml

Get Connected