mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-12 17:27:50 +02:00
Updated Filer Server API (markdown)
1 parent
578f4865d8
commit
79e3329fdb
1 file changed
+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
|
||||
|
||||
Reference in new issue
Block a user