From a48b8c2d759ed8415074c828cb8cda309edb37f6 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 23 Feb 2022 15:35:42 -0800 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index 6e58975..768e4af 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -199,8 +199,8 @@ Notice that the tag names follow http header key convention, with the first char ### Move files and directories ```bash -# move(rename) "/path/2/src_file" to "/path/to/dst_file" -> curl -X POST 'http://localhost:8888/path/to/dst_file?from=/path/2/src_file&pretty=yes' +# move(rename) "/path/to/src_file" to "/path/to/dst_file" +> curl -X POST 'http://localhost:8888/path/to/dst_file?mv.from=/path/to/src_file' ``` ### Create an empty folder