<
From version < 1.9 >
edited by Outhman Moustaghfir
on 2021/05/05 14:25
To version < 1.11 >
edited by Outhman Moustaghfir
on 2021/05/05 14:31
>
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -43,6 +43,24 @@
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" %) |(% style="width:263px" %)
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.
47 47  
56 +eg :
57 +
58 +{{code language="JSON"}}{
59 + "timestamp": 1620217700570,
60 + "status": "200",
61 + "data": "this is a commit message"
62 +}{{/code}}
63 +)))
64 +|(% style="width:155px" %) |(% style="width:287px" %) |(% style="width:283px" %) |(% style="width:263px" %)
65 +
48 48  == ==
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian