diff --git a/Filer-Server-API.md b/Filer-Server-API.md index dd689ea..b4fd08d 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -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