Updated Filer Server API (markdown)

Chris Lu 2021-01-20 13:51:44 -08:00
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