mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-23 06:09:16 +08:00
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
DomainListResponse:
|
||
type: object
|
||
properties:
|
||
limit:
|
||
type: integer
|
||
example: 20
|
||
offset:
|
||
type: integer
|
||
example: 0
|
||
total:
|
||
type: integer
|
||
description: 总量
|
||
domains:
|
||
type: array
|
||
items:
|
||
$ref: "#/Domain"
|
||
|
||
DomainGetResponse:
|
||
type: object
|
||
properties:
|
||
domain:
|
||
type: object
|
||
$ref: "#/Domain"
|
||
|
||
DomainPutRequestInput:
|
||
type: object
|
||
properties:
|
||
name:
|
||
type: string
|
||
description: 域的名称
|
||
description:
|
||
type: string
|
||
description: 域的描述
|
||
|
||
DomainCreateInput:
|
||
type: object
|
||
properties:
|
||
name:
|
||
type: string
|
||
required: true
|
||
description: 域的名称
|
||
description:
|
||
type: string
|
||
description: 域的描述
|
||
|
||
Domain:
|
||
type: object
|
||
description: 域
|
||
properties:
|
||
id:
|
||
type: string
|
||
description: 域ID
|
||
readOnly: true
|
||
name:
|
||
type: string
|
||
description: 域名称
|
||
can_delete:
|
||
type: boolean
|
||
description: 是否可以删除
|
||
idp_id:
|
||
type: string
|
||
description: 如果该域为从认证源导入,则idp_id为该认证源的ID
|
||
idp:
|
||
type: string
|
||
description: 如果该域为从认证源导入,则idp为该认证源的name
|
||
idp_driver:
|
||
type: string
|
||
description: 如果该域为从认证源导入,则idp_driver为该认证源的driver
|
||
idp_entity_id:
|
||
type: string
|
||
description: 如果该域为从认证源导入,则idp_entity_id为该域对应资源的原始ID
|