Files
cloudpods/docs/bucket/acl.yaml
2019-08-06 22:35:55 +08:00

33 lines
844 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.
post:
summary: 设置存储桶或者对象的ACL
parameters:
- $ref: '../parameters/bucket.yaml#/bucket_name'
- name: bucket
in: body
required: true
schema:
$ref: "../schemas/bucket.yaml#/BucketSetACLInput"
responses:
200:
description: 指定存储桶或者对象的ACL响应
schema:
$ref: "../schemas/bucket.yaml#/BucketGetResponse"
tags:
- buckets
get:
summary: 获取存储桶或者对象的ACL
parameters:
- $ref: '../parameters/bucket.yaml#/bucket_name'
- name: key
in: query
type: string
description: 如果查询对象的ACL通过key指定对象的名称
responses:
200:
description: 指定存储桶或者对象的ACL响应
schema:
$ref: "../schemas/bucket.yaml#/BucketGetACLResponse"
tags:
- buckets