Files
cloudpods/docs/parameters/bucket.yaml
2019-08-12 10:34:51 +08:00

49 lines
1023 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
bucket_name:
name: bucket_name
type: string
required: true
in: path
description: 存储桶的名称
prefix:
name: prefix
type: string
in: query
description: 对象的前缀过滤
recursive:
name: recursive
type: bool
in: query
description: 是否展开对象列表false则只显示当前目录层级下的对象true则显示匹配前缀的所有对象
x-bucket-object-key:
name: X-Yunion-Bucket-Upload-Key
type: string
in: header
description: 对象的key
x-bucket-content-type:
name: Content-Type
type: string
in: header
description: 对象的content-type
x-bucket-content-length:
name: Content-Length
type: string
in: header
description: 对象的content-length
x-bucket-storage-class:
name: X-Yunion-Bucket-Upload-Storageclass
type: string
in: header
description: 对象的storage_class
x-bucket-acl:
name: X-Yunion-Bucket-Upload-Acl
type: string
in: header
description: 对象的acl可能值为private, public-read, public-read-write