Updated Filer Server API (markdown)

Chris Lu 2021-10-12 00:12:56 -07:00
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