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

...

parent 34894c2c
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,8 @@ journalctl -f --unit accessGitFS.service # run-time check ...@@ -33,8 +33,8 @@ journalctl -f --unit accessGitFS.service # run-time check
### accessGitFS/dates (GET) ### accessGitFS/dates (GET)
Returns a JSON file with an array of all date directories within the GitFS Returns JSON data containing an array of all date directories in the GitFS
mount area. mount scope.
``` ```
curl -s http://a73435:5017/accessGitFS/dates > theDates.json curl -s http://a73435:5017/accessGitFS/dates > theDates.json
...@@ -42,8 +42,8 @@ curl -s http://a73435:5017/accessGitFS/dates > theDates.json ...@@ -42,8 +42,8 @@ curl -s http://a73435:5017/accessGitFS/dates > theDates.json
### accessGitFS/times/YYYY-mm-dd (GET) ### accessGitFS/times/YYYY-mm-dd (GET)
Returns a JSON file with an array of all time directories within the GitFS Returns JSON data containing an array of all time directories in the GitFS
mount area matching the specified date. mount scope associated with a specific date.
``` ```
curl -s http://a73435:5017/accessGitFS/times/2020-02-05 > theTimes.json curl -s http://a73435:5017/accessGitFS/times/2020-02-05 > theTimes.json
...@@ -51,7 +51,7 @@ curl -s http://a73435:5017/accessGitFS/times/2020-02-05 > theTimes.json ...@@ -51,7 +51,7 @@ curl -s http://a73435:5017/accessGitFS/times/2020-02-05 > theTimes.json
### accessGitFS/file/YYYY-mm-dd/HH-MM-SS-XXXXXXXXXX/xyz.json (GET) ### accessGitFS/file/YYYY-mm-dd/HH-MM-SS-XXXXXXXXXX/xyz.json (GET)
Returns the version of a file with the specified commit date. Returns the contents of a file as of the specified commit date.
``` ```
curl -s http://a73435:5017/accessGitFS/file/2020-02-05/09-49-04-9da869dfa9/000_SERVERS.json \ curl -s http://a73435:5017/accessGitFS/file/2020-02-05/09-49-04-9da869dfa9/000_SERVERS.json \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment