Updated Filer Server API (markdown)

Chris Lu committed 2019-11-27 02:47:28 -08:00
1 parent 578f4865d8
commit 79e3329fdb
1 file changed
+6
+6
@@ -15,6 +15,12 @@ You can append to any HTTP API with &pretty=y to see a formatted json output.
//return a json format subdirectory and files listing
GET /path/to/
Accept: application/json
# options for POST a file:
// set file TTL for Cassandra or Redis filer store.
POST /path/to/file?ttl=1d
// set file mode when creating or overwriting a file
POST /path/to/file?mode=0755
```
Examples:
```bash