Files
cloudpods/docs/quotas/projectquotas.yaml

23 lines
485 B
YAML

get:
summary: 获得指定项目的配额
parameters:
- $ref: "../parameters/quota.yaml#/project_id"
responses:
200:
description: 配额信息
schema:
$ref: "../schemas/quota.yaml#/QuotaGetResponse"
tags:
- quota
post:
summary: 设置指定项目的配额
parameters:
- $ref: "../parameters/quota.yaml#/project_id"
- $ref: "../parameters/quota.yaml#/quotas"
responses:
200:
description: 设置成功
tags:
- quota