mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Filer Server API (markdown)
parent
1e5acbece6
commit
66ae6b198d
|
@ -42,7 +42,8 @@ You can append to any HTTP API with &pretty=y to see a formatted json output.
|
|||
|
||||
| GET Parameter | Description | Default |
|
||||
| ---- | -- | -- |
|
||||
| metadata| get file metadata | empty |
|
||||
| metadata | get file metadata | false |
|
||||
| resolveManifest | resolve manifest chunks | false |
|
||||
### notice
|
||||
* It is recommended to add retries when writing to Filer.
|
||||
* `AutoChunking` is not supported for method `PUT`. If the file length is greater than 256MB, only the leading 256MB in the `PUT` request will be saved.
|
||||
|
@ -122,7 +123,7 @@ Examples:
|
|||
"ShouldDisplayLoadMore": false
|
||||
}
|
||||
# get file metadata
|
||||
> curl 'http://localhost:8888/test01.py?metadata&pretty=yes'
|
||||
> curl 'http://localhost:8888/test01.py?metadata=true&pretty=yes'
|
||||
{
|
||||
"FullPath": "/test01.py",
|
||||
"Mtime": "2022-01-09T19:11:18+08:00",
|
||||
|
|
Loading…
Reference in a new issue