From a955e4cf5401c59ea1582e9773596042009a70d1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 28 Dec 2020 12:43:34 -0800 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index aa2333e..15bbea4 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -177,15 +177,18 @@ 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 | +| namePattern | match file names, case-insensitive wildcard characters '*' and '?' | empty | + +## Supported Name Patterns + +The patterns are case-insensitive and support wildcard characters '*' and '?'. -## 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 | +| a*.jp*g | abc.jpg, ABC.JPG, abc.jpeg, abc.JPEG | +| a*.jp?g | abc.jpeg, abc.JPEG | # Deletion