mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Filer Server API (markdown)
parent
36ade3d359
commit
7eb72d1308
|
@ -13,9 +13,11 @@ You can append to any HTTP API with &pretty=y to see a formatted json output.
|
||||||
PUT /path/to/file?op=append
|
PUT /path/to/file?op=append
|
||||||
//get the file content
|
//get the file content
|
||||||
GET /path/to/file
|
GET /path/to/file
|
||||||
|
|
||||||
//return a json format subdirectory and files listing
|
//return a json format subdirectory and files listing
|
||||||
GET /path/to/
|
GET /path/to/
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
|
|
||||||
# options for POST a file:
|
# options for POST a file:
|
||||||
// set file TTL
|
// set file TTL
|
||||||
POST /path/to/file?ttl=1d
|
POST /path/to/file?ttl=1d
|
||||||
|
|
Loading…
Reference in a new issue