<
From version < 72.1 >
edited by Marius Dumitru Florea
on 2017/09/18
To version < 73.1 >
edited by Vincent Massol
on 2018/01/16
>
Change comment: Try to make it more clear for /jobs

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mflorea
1 +XWiki.VincentMassol
Content
... ... @@ -967,12 +967,12 @@
967 967  Since 9.7RC1 failing jobs with ##async=false## return an error 500.
968 968  
969 969  * **HTTP Method:** PUT
970 -** **Accepted Media types:**
971 -*** application/xml (JobRequest element)
972 -*** application/json (JobRequest element)
973 -** **Media types:**
974 -*** application/xml (JobStatus element)
975 -*** application/json (JobStatus element)
970 +** **Input:**
971 +*** Media Types: ##application/xml## or ##application/json##
972 +*** Input body: ##JobRequest## element
973 +** **Output:**
974 +*** Media Types: ##application/xml## or ##application/json##
975 +*** Response body: ##JobStatus## element
976 976  ** **Description:** Start a new job synchronously or asynchronously
977 977  ** **Status codes:**
978 978  *** 201: If the page was created.

Get Connected