From 66ae6b198d34aa5184afa208565aade75285ea11 Mon Sep 17 00:00:00 2001 From: harry huang Date: Mon, 7 Mar 2022 15:54:40 +0800 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index 0474071..9f0e197 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -42,7 +42,8 @@ You can append to any HTTP API with &pretty=y to see a formatted json output. | GET Parameter | Description | Default | | ---- | -- | -- | -| metadata| get file metadata | empty | +| metadata | get file metadata | false | +| resolveManifest | resolve manifest chunks | false | ### notice * It is recommended to add retries when writing to Filer. * `AutoChunking` is not supported for method `PUT`. If the file length is greater than 256MB, only the leading 256MB in the `PUT` request will be saved. @@ -122,7 +123,7 @@ Examples: "ShouldDisplayLoadMore": false } # get file metadata -> curl 'http://localhost:8888/test01.py?metadata&pretty=yes' +> curl 'http://localhost:8888/test01.py?metadata=true&pretty=yes' { "FullPath": "/test01.py", "Mtime": "2022-01-09T19:11:18+08:00",