Changes for page REST API
Last modified by Ludovic Dubost on 2021/06/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -888,6 +888,30 @@ 888 888 *** 200: If the request was successful. 889 889 *** 401: If the user is not authorized. 890 890 891 +== Job resources == 892 + 893 +A job is identified by an ID (##jobId##) which is a list of strings. In the REST URL, you have to represent the ID with a list of strings separated by ##/##. (eg: ##refactoring/delete/11451##). 894 + 895 +=== /jobstatus/{jobId} === 896 + 897 +* **HTTP Method:** GET 898 +** **Media types:** 899 +*** application/xml (JobStatus element) 900 +** **Description:** status of a job 901 +** **Status codes:** 902 +*** 200: If the request was successful. 903 +*** 404: If the job status has not been found 904 + 905 +=== /joblog/{jobId}[?level~={error,warn,info,debug,trace}&fromLevel~={error,warn,info,debug,trace}] === 906 + 907 +* **HTTP Method:** GET 908 +** **Media types:** 909 +*** application/xml (JobLog element) 910 +** **Description:** log of a job 911 +** **Status codes:** 912 +*** 200: If the request was successful. 913 +*** 404: If the job status has not been found 914 + 891 891 == Other resources == 892 892 893 893 === /wikis/{wikiName}/modifications[?start~=offset&number~=n&date~=t] ===