Updated Filer Server API (markdown)

Chris Lu 2020-12-28 12:43:34 -08:00
parent 8257056e52
commit a955e4cf54

@ -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