Updated Filer Server API (markdown)

Chris Lu 2021-10-12 00:10:22 -07:00
parent 8ae3375c25
commit 36ade3d359

@ -115,6 +115,17 @@ curl -H "Accept: application/json" "http://localhost:8888/javascript/?pretty=y"
"ShouldDisplayLoadMore": false
}
```
### GET files
```bash
//get file with a different content-disposition
GET /path/to/file?response-content-disposition=attachment%3B%20filename%3Dtesting.txt
```
| GET Parameter | Description | Default |
| ---- | -- | -- |
| response-content-disposition | used as response content-disposition | empty |
### PUT/DELETE file tagging
```
# put 2 pairs of meta data