mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-23 21:47:17 +08:00
41 lines
895 B
YAML
41 lines
895 B
YAML
get:
|
|
summary: 获得指定域的详情
|
|
parameters:
|
|
- $ref: '../parameters/domain.yaml#/domain_id'
|
|
responses:
|
|
200:
|
|
description: 域信息
|
|
schema:
|
|
$ref: "../schemas/domain.yaml#/DomainGetResponse"
|
|
tags:
|
|
- domains
|
|
|
|
put:
|
|
summary: 更新指定域的字段
|
|
parameters:
|
|
- $ref: '../parameters/domain.yaml#/domain_id'
|
|
- name: domain
|
|
in: body
|
|
required: true
|
|
schema:
|
|
$ref: "../schemas/domain.yaml#/DomainPutRequestInput"
|
|
responses:
|
|
200:
|
|
description: 域信息
|
|
schema:
|
|
$ref: "../schemas/domain.yaml#/DomainGetResponse"
|
|
tags:
|
|
- domains
|
|
|
|
delete:
|
|
summary: 删除指定的域
|
|
parameters:
|
|
- $ref: '../parameters/domain.yaml#/domain_id'
|
|
responses:
|
|
200:
|
|
description: 被删除的域信息
|
|
schema:
|
|
$ref: "../schemas/domain.yaml#/DomainGetResponse"
|
|
tags:
|
|
- domains
|