Wiki source code of GIT endpoints
Version 1.7 by Outhman Moustaghfir on 2021/05/05 14:16
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
![]() |
1.2 | 5 | = Introduction = |
![]() |
1.1 | 6 | |
![]() |
1.4 | 7 | Git endpoints take advantage of all git commands known and needed to create versions of files. |
![]() |
1.1 | 8 | |
![]() |
1.4 | 9 | = Endpoints = |
10 | |||
![]() |
1.5 | 11 | |(% style="width:155px" %)**URL [method]**|(% style="width:287px" %)**Description**|(% style="width:283px" %)**Input example**|(% style="width:263px" %)**Output example** |
![]() |
1.7 | 12 | |(% style="width:155px" %)/rest/git/getstatus [GET]|(% style="width:287px" %)get all files that have been modified or untracked|(% style="width:283px" %)(no input required)|(% style="width:263px" %){{code language="JSON"}}{ |
13 | "timestamp": 1620216790744, | ||
14 | "status": "200", | ||
15 | "data": [ | ||
16 | { | ||
17 | "fileName": "FileToF.txt", | ||
18 | "status": "Untracked" | ||
19 | }, | ||
20 | { | ||
21 | "fileName": "newfile.txt", | ||
22 | "status": "Modified" | ||
23 | } | ||
24 | ] | ||
25 | }{{/code}} | ||
26 | |(% style="width:155px" %)/git/history|(% style="width:287px" %) |(% style="width:283px" %) |(% style="width:263px" %) | ||
![]() |
1.4 | 27 | |
![]() |
1.3 | 28 | == == |