Skip to content
Snippets Groups Projects
Commit 9799de1a authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

5301 --> 5017

parent 619102ad
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ Returns a JSON file with an array of all date directories within the GitFS
mount area.
```
curl -s http://a75436:5301/accessGitFS/dates > theDates.json
curl -s http://a75436:5017/accessGitFS/dates > theDates.json
```
### accessGitFS/times/YYYY-mm-dd (GET)
......@@ -44,7 +44,7 @@ Returns a JSON file with an array of all time directories within the GitFS
mount area matching the specified date.
```
curl -s http://a75436:5301/accessGitFS/times/2020-02-05 > theTimes.json
curl -s http://a75436:5017/accessGitFS/times/2020-02-05 > theTimes.json
```
### accessGitFS/file/YYYY-mm-dd/HH-MM-SS-XXXXXXXXXX/xyz.json (GET)
......@@ -52,21 +52,21 @@ curl -s http://a75436:5301/accessGitFS/times/2020-02-05 > theTimes.json
Returns the version of a file with the specified commit date.
```
curl -s http://a75436:5301/accessGitFS/file/2020-02-05/09-49-04-9da869dfa9/000_SERVERS.json \
curl -s http://a75436:5017/accessGitFS/file/2020-02-05/09-49-04-9da869dfa9/000_SERVERS.json \
> 000_SERVERS.json
```
With pretty print:
```
curl -s http://a75436:5301/accessGitFS/file/2021-01-07/14-32-48-7696828dc3/000_SERVERS.json \
curl -s http://a75436:5017/accessGitFS/file/2021-01-07/14-32-48-7696828dc3/000_SERVERS.json \
| jq -M
```
or
```
curl -s http://a75436:5301/accessGitFS/file/2021-01-07/14-32-48-7696828dc3/000_SERVERS.json \
curl -s http://a75436:5017/accessGitFS/file/2021-01-07/14-32-48-7696828dc3/000_SERVERS.json \
| python3 -m json.tool
```
......@@ -75,7 +75,7 @@ curl -s http://a75436:5301/accessGitFS/file/2021-01-07/14-32-48-7696828dc3/000_S
Returns the version of the accessGitFS server.
```
curl -s http://a75436:5301/accessGitFS/version
curl -s http://a75436:5017/accessGitFS/version
```
RN (2021-01-07)
......
......@@ -3,9 +3,9 @@
"name": "Supplying of a specific file version of a GIT repository",
"server": {
"host":"0.0.0.0",
"port":5301
"port":5017
},
"version":"1.0.3",
"version":"1.0.4",
"gitfs_dir":"/var/run/mount/vl-gitfs/history/",
"gitfs_dir_DUMMY":"/etc/"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment