<
From version < 1.8 >
edited by Outhman Moustaghfir
on 2021/05/05 14:21
To version < 1.10 >
edited by Outhman Moustaghfir
on 2021/05/05 14:28
>
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -23,7 +23,7 @@
23 23   }
24 24   ]
25 25  }{{/code}}
26 -|(% style="width:155px" %)/rest/git/history [GET]|(% style="width:287px" %)show all commits history, with their IDs ,authors ,messages, dates and if considired as current version or not |(% style="width:283px" %)(no input required)|(% style="width:263px" %){{code language="JSON"}}{
26 +|(% style="width:155px" %)/rest/git/history [GET]|(% style="width:287px" %)get all commits history, with their IDs ,authors ,messages, dates and if considired as current version or not |(% style="width:283px" %)(no input required)|(% style="width:263px" %){{code language="JSON"}}{
27 27   "timestamp": 1620217014704,
28 28   "status": "200",
29 29   "data": [
... ... @@ -43,5 +43,19 @@
43 43   }
44 44   ]
45 45  }{{/code}}
46 +|(% style="width:155px" %)/rest/git/commit [POST]|(% style="width:287px" %)commit changes in files with a message|(% style="width:283px" %){{code language="JSON"}}{
47 +"files":
48 +[
49 +{"fileName" : "newFile.xml"},
50 +{"fileName" : "/dir/modifiedFile.pdf"}
51 +],
52 +"message": "this is a commit message"
53 +}{{/code}}|(% style="width:263px" %)(((
54 +it returns a String with the commit message meaning that the commit has passed successfully.
46 46  
56 +eg :
57 +
58 +
59 +)))
60 +
47 47  == ==
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian