mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-24 10:23:43 +08:00
33 lines
858 B
YAML
33 lines
858 B
YAML
get:
|
|
summary: 按指定条件列出对象存储桶
|
|
parameters:
|
|
- $ref: '../parameters/common.yaml#/offset'
|
|
- $ref: '../parameters/common.yaml#/limit'
|
|
- $ref: '../parameters/common.yaml#/provider'
|
|
- $ref: '../parameters/common.yaml#/brand'
|
|
- $ref: '../parameters/common.yaml#/region'
|
|
- $ref: '../parameters/common.yaml#/account'
|
|
responses:
|
|
200:
|
|
description: 对象存储桶列表信息
|
|
schema:
|
|
$ref: "../schemas/bucket.yaml#/BucketListResponse"
|
|
tags:
|
|
- buckets
|
|
|
|
post:
|
|
summary: 新建对象存储桶
|
|
parameters:
|
|
- name: bucket
|
|
in: body
|
|
required: true
|
|
schema:
|
|
$ref: "../schemas/bucket.yaml#/BucketCreateInput"
|
|
responses:
|
|
200:
|
|
description: 对象存储桶信息
|
|
schema:
|
|
$ref: "../schemas/bucket.yaml#/BucketGetResponse"
|
|
tags:
|
|
- buckets
|