From aff40e99df9cff4a631ab33638f3e841948ce015 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 26 Dec 2020 15:04:14 -0800 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index 474aad6..a502d0d 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -176,7 +176,15 @@ curl -H "Accept: application/json" "http://localhost:8888/javascript/?pretty=y&l | ---- | -- | -- | | limit | how many file to show | 100 | | lastFileName | the last file in previous batch | empty | +| namePattern | match file names by pattern, supporting case-insensitive wildcard characters '*' and '?' | empty | +## Supported Name Pattern +| Pattern | Matches | +| ---- | -- | +| * | any file name | +| *.jpg | abc.jpg, ABC.JPG | +| *.jp*g | abc.jpg, ABC.JPG, abc.jpeg, abc.JPEG | +| *.jp?g | abc.jpeg, abc.JPEG | # Deletion