Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

From version 45.1
edited by Guillaume Delhumeau
on 2015/07/09
Change comment: There is no comment for this version
To version 46.1
edited by Guillaume Delhumeau
on 2015/08/26
Change comment: There is no comment for this version

Summary

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] ===

Get Connected