Files
cloudpods/docs/schemas/domain.yaml
2019-06-29 15:22:39 +08:00

72 lines
1.5 KiB
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.
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