Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new policy fields to put_policy #13

Merged
merged 2 commits into from
Dec 25, 2019

Conversation

hxgdzyuyi
Copy link
Contributor

See more: https://developer.qiniu.com/kodo/manual/1206/put-policy

"isPrefixalScope":     "<IsPrefixalScope          int>",
"fsizeMin":            "<FileSizeMin              int64>",
"fileType":           "<fileType                  int>"
Field Description
isPrefixalScope 若为 1,表示允许用户上传以 scope 的 keyPrefix 为前缀的文件。
fsizeMin 定上传文件大小最小值,单位Byte。
fileType 文件存储类型。0 为普通存储(默认),1 为低频存储。

See more: https://developer.qiniu.com/kodo/manual/1206/put-policy

```
"isPrefixalScope":     "<IsPrefixalScope          int>",
"fsizeMin":            "<FileSizeMin              int64>",
"fileType":           "<fileType                  int>"
```

|  Field   | Description  |
|  ----  | ----  |
| isPrefixalScope  | 若为 1,表示允许用户上传以 scope 的 keyPrefix 为前缀的文件。
| fsizeMin	| 定上传文件大小最小值,单位Byte。|
| fileType | 文件存储类型。0 为普通存储(默认),1 为低频存储。 |
@tony612 tony612 merged commit eb1d36b into tony612:master Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants