mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Filer Server API (markdown)
parent
f869610d66
commit
61c4c5ce9d
|
@ -9,14 +9,17 @@ You can append to any HTTP API with &pretty=y to see a formatted json output.
|
|||
//create or overwrite the file, the directories /path/to will be automatically created
|
||||
POST /path/to/file
|
||||
PUT /path/to/file
|
||||
|
||||
//create or overwrite the file, the filename in the multipart request will be used
|
||||
POST /path/to/
|
||||
|
||||
//create or append the file
|
||||
POST /path/to/file?op=append
|
||||
PUT /path/to/file?op=append
|
||||
|
||||
//get the file content
|
||||
GET /path/to/file
|
||||
//create or overwrite the file, the filename in the multipart request will be used
|
||||
POST /path/to/
|
||||
PUT /path/to/
|
||||
|
||||
//return a json format subdirectory and files listing
|
||||
GET /path/to/
|
||||
Accept: application/json
|
||||
|
|
Loading…
Reference in a new issue