Updated Filer Server API (markdown)

Chris Lu 2021-01-01 20:29:32 -08:00
parent 837e5225f8
commit d2f3f415b3

@ -177,18 +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, case-insensitive wildcard characters '*' and '?' | empty |
| namePattern | match file names, case-sensitive wildcard characters '*' and '?' | empty |
## Supported Name Patterns
The patterns are case-insensitive and support wildcard characters '*' and '?'.
The patterns are case-sensitive and support wildcard characters '*' and '?'.
| Pattern | Matches |
| ---- | -- |
| * | any file name |
| *.jpg | abc.jpg, ABC.JPG |
| a*.jp*g | abc.jpg, ABC.JPG, abc.jpeg, abc.JPEG |
| a*.jp?g | abc.jpeg, abc.JPEG |
| *.jpg | abc.jpg |
| a*.jp*g | abc.jpg, abc.jpeg |
| a*.jp?g | abc.jpeg |
# Deletion