Changes for page REST API
Last modified by Thomas Mortagne on 2022/08/08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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.1RC1909 -|##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,16 @@ 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 +|##async##|no|##true~|false##|##true##|If false, return the response only when the job is done|9.1RC1 941 941 942 +Since 9.2RC1 jobs started trough the REST API automatically get their runtime context injected with the following REST HTTP request context properties: 943 + 944 +* current wiki 945 +* current user 946 +* current document 947 +* current secure document 948 +* request URL and parameters 949 + 942 942 * **HTTP Method:** PUT 943 943 ** **Accepted Media types:** 944 944 *** application/xml (JobRequest element)