mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-20 21:26:01 +08:00
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
CredentialListResponse:
|
||
type: object
|
||
properties:
|
||
limit:
|
||
type: integer
|
||
example: 20
|
||
offset:
|
||
type: integer
|
||
example: 0
|
||
total:
|
||
type: integer
|
||
description: 总量
|
||
credentials:
|
||
type: array
|
||
items:
|
||
$ref: "#/Credential"
|
||
|
||
CredentialGetResponse:
|
||
type: object
|
||
properties:
|
||
credential:
|
||
type: object
|
||
$ref: "#/Credential"
|
||
|
||
Credential:
|
||
type: object
|
||
description: 用户Credentials
|
||
properties:
|
||
id:
|
||
type: string
|
||
description: 用户CredentialID
|
||
readOnly: true
|
||
name:
|
||
type: string
|
||
description: 用户Credential名称,域内唯一
|
||
type:
|
||
type: string
|
||
description: 用户Credential类型,totp或者recovery_secret
|
||
can_delete:
|
||
type: boolean
|
||
description: 是否可以删除
|
||
blob:
|
||
type: string
|
||
description: 用户Credential内容,json字符串
|
||
user_id:
|
||
type: string
|
||
description: Credential的所属用户
|
||
project_id:
|
||
type: string
|
||
description: Credential的所属项目
|