mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Filer Server API (markdown)
parent
8ae3375c25
commit
36ade3d359
|
@ -115,6 +115,17 @@ curl -H "Accept: application/json" "http://localhost:8888/javascript/?pretty=y"
|
||||||
"ShouldDisplayLoadMore": false
|
"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/DELETE file tagging
|
||||||
```
|
```
|
||||||
# put 2 pairs of meta data
|
# put 2 pairs of meta data
|
||||||
|
|
Loading…
Reference in a new issue