Skip to content

Commit 8a87341

Browse files
committed
chore: auto update client api apecloud/apecloud@eed4bfd
1 parent c25c699 commit 8a87341

19 files changed

Lines changed: 2378 additions & 3 deletions

.generator/schemas/adminapi.yaml

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14681,6 +14681,120 @@ paths:
1468114681
description: Not Found
1468214682
'500':
1468314683
description: Internal Server Error
14684+
/admin/v1/keys:
14685+
get:
14686+
tags:
14687+
- key
14688+
operationId: listKeys
14689+
summary: List Keys
14690+
responses:
14691+
'200':
14692+
description: A successful response.
14693+
content:
14694+
application/json:
14695+
schema:
14696+
$ref: '#/components/schemas/keyList'
14697+
'401':
14698+
$ref: '#/components/responses/401'
14699+
'403':
14700+
$ref: '#/components/responses/403'
14701+
post:
14702+
tags:
14703+
- key
14704+
operationId: createKey
14705+
summary: Create a new key
14706+
description: Store a new key in the system.
14707+
requestBody:
14708+
required: true
14709+
content:
14710+
application/json:
14711+
schema:
14712+
$ref: '#/components/schemas/key'
14713+
responses:
14714+
'200':
14715+
description: key created successfully.
14716+
content:
14717+
application/json:
14718+
schema:
14719+
$ref: '#/components/schemas/key'
14720+
'400':
14721+
description: Invalid input provided.
14722+
'401':
14723+
$ref: '#/components/responses/401'
14724+
'403':
14725+
$ref: '#/components/responses/403'
14726+
/admin/v1/keys/{keyName}:
14727+
get:
14728+
operationId: getKey
14729+
tags:
14730+
- key
14731+
summary: get an existing key
14732+
parameters:
14733+
- name: keyName
14734+
in: path
14735+
required: true
14736+
description: the name of key
14737+
schema:
14738+
type: string
14739+
responses:
14740+
'200':
14741+
description: Successfully updated the key
14742+
content:
14743+
application/json:
14744+
schema:
14745+
$ref: '#/components/schemas/key'
14746+
'401':
14747+
$ref: '#/components/responses/401'
14748+
'403':
14749+
$ref: '#/components/responses/403'
14750+
patch:
14751+
operationId: updateKey
14752+
tags:
14753+
- key
14754+
summary: Update an existing key
14755+
parameters:
14756+
- name: keyName
14757+
in: path
14758+
required: true
14759+
description: the name of key
14760+
schema:
14761+
type: string
14762+
requestBody:
14763+
required: true
14764+
content:
14765+
application/json:
14766+
schema:
14767+
$ref: '#/components/schemas/key'
14768+
responses:
14769+
'200':
14770+
description: Successfully updated the key
14771+
content:
14772+
application/json:
14773+
schema:
14774+
$ref: '#/components/schemas/key'
14775+
'401':
14776+
$ref: '#/components/responses/401'
14777+
'403':
14778+
$ref: '#/components/responses/403'
14779+
delete:
14780+
operationId: deleteKey
14781+
tags:
14782+
- key
14783+
summary: Delete a specific key
14784+
parameters:
14785+
- name: keyName
14786+
in: path
14787+
required: true
14788+
description: the name of key
14789+
schema:
14790+
type: string
14791+
responses:
14792+
'204':
14793+
description: Successfully deleted the key
14794+
'401':
14795+
$ref: '#/components/responses/401'
14796+
'403':
14797+
$ref: '#/components/responses/403'
1468414798
components:
1468514799
securitySchemes:
1468614800
BearerToken:
@@ -20597,6 +20711,16 @@ components:
2059720711
- status
2059820712
- totalSize
2059920713
type: object
20714+
encryptionConfig:
20715+
description: encryption config for cluster
20716+
properties:
20717+
secretKeyRef:
20718+
type: string
20719+
description: the secret ref for encryption
20720+
key:
20721+
type: string
20722+
description: the key name used for encryption
20723+
type: object
2060020724
backupPolicy:
2060120725
description: BackupPolicy is the payload for KubeBlocks cluster backup policy
2060220726
properties:
@@ -20637,6 +20761,8 @@ components:
2063720761
format: date-time
2063820762
type: string
2063920763
nullable: true
20764+
encryptionConfig:
20765+
$ref: '#/components/schemas/encryptionConfig'
2064020766
type: object
2064120767
backupList:
2064220768
description: BackupList is a list of backups
@@ -25528,6 +25654,61 @@ components:
2552825654
sessionId:
2552925655
type: string
2553025656
description: 会话ID
25657+
encryptionAlgorithm:
25658+
description: the encryption algorithm
25659+
type: string
25660+
enum:
25661+
- AES-128-CFB
25662+
- AES-192-CFB
25663+
- AES-256-CFB
25664+
encryptionKeyUsage:
25665+
type: string
25666+
enum:
25667+
- encryption
25668+
- decryption
25669+
- signing
25670+
- verification
25671+
description: The intended usage of the key.
25672+
key:
25673+
description: mutiple kv pair
25674+
type: object
25675+
properties:
25676+
id:
25677+
type: string
25678+
description: The unique identifier of the key.
25679+
name:
25680+
type: string
25681+
description: The name of the key.
25682+
algorithm:
25683+
$ref: '#/components/schemas/encryptionAlgorithm'
25684+
keyUsage:
25685+
$ref: '#/components/schemas/encryptionKeyUsage'
25686+
createdAt:
25687+
type: string
25688+
format: date-time
25689+
description: The creation timestamp of the key.
25690+
updatedAt:
25691+
type: string
25692+
format: date-time
25693+
description: The last update timestamp of the key.
25694+
metadata:
25695+
type: object
25696+
additionalProperties:
25697+
type: string
25698+
description: Additional metadata associated with the key.
25699+
keyList:
25700+
description: key list
25701+
properties:
25702+
items:
25703+
description: Items is the list of key objects in the list
25704+
items:
25705+
$ref: '#/components/schemas/key'
25706+
type: array
25707+
pageResult:
25708+
$ref: '#/components/schemas/pageResult'
25709+
required:
25710+
- items
25711+
type: object
2553125712
responses:
2553225713
'204':
2553325714
description: No Content

.generator/schemas/openapi.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11197,6 +11197,23 @@ paths:
1119711197
description: Not Found
1119811198
'500':
1119911199
description: Internal Server Error
11200+
/api/v1/keys:
11201+
get:
11202+
tags:
11203+
- key
11204+
operationId: listKeys
11205+
summary: List Keys
11206+
responses:
11207+
'200':
11208+
description: A successful response.
11209+
content:
11210+
application/json:
11211+
schema:
11212+
$ref: '#/components/schemas/keyList'
11213+
'401':
11214+
$ref: '#/components/responses/401'
11215+
'403':
11216+
$ref: '#/components/responses/403'
1120011217
components:
1120111218
securitySchemes:
1120211219
BearerToken:
@@ -14771,6 +14788,16 @@ components:
1477114788
- status
1477214789
- totalSize
1477314790
type: object
14791+
encryptionConfig:
14792+
description: encryption config for cluster
14793+
properties:
14794+
secretKeyRef:
14795+
type: string
14796+
description: the secret ref for encryption
14797+
key:
14798+
type: string
14799+
description: the key name used for encryption
14800+
type: object
1477414801
backupPolicy:
1477514802
description: BackupPolicy is the payload for KubeBlocks cluster backup policy
1477614803
properties:
@@ -14811,6 +14838,8 @@ components:
1481114838
format: date-time
1481214839
type: string
1481314840
nullable: true
14841+
encryptionConfig:
14842+
$ref: '#/components/schemas/encryptionConfig'
1481414843
type: object
1481514844
backupList:
1481614845
description: BackupList is a list of backups
@@ -19551,6 +19580,61 @@ components:
1955119580
sessionId:
1955219581
type: string
1955319582
description: 会话ID
19583+
encryptionAlgorithm:
19584+
description: the encryption algorithm
19585+
type: string
19586+
enum:
19587+
- AES-128-CFB
19588+
- AES-192-CFB
19589+
- AES-256-CFB
19590+
encryptionKeyUsage:
19591+
type: string
19592+
enum:
19593+
- encryption
19594+
- decryption
19595+
- signing
19596+
- verification
19597+
description: The intended usage of the key.
19598+
key:
19599+
description: mutiple kv pair
19600+
type: object
19601+
properties:
19602+
id:
19603+
type: string
19604+
description: The unique identifier of the key.
19605+
name:
19606+
type: string
19607+
description: The name of the key.
19608+
algorithm:
19609+
$ref: '#/components/schemas/encryptionAlgorithm'
19610+
keyUsage:
19611+
$ref: '#/components/schemas/encryptionKeyUsage'
19612+
createdAt:
19613+
type: string
19614+
format: date-time
19615+
description: The creation timestamp of the key.
19616+
updatedAt:
19617+
type: string
19618+
format: date-time
19619+
description: The last update timestamp of the key.
19620+
metadata:
19621+
type: object
19622+
additionalProperties:
19623+
type: string
19624+
description: Additional metadata associated with the key.
19625+
keyList:
19626+
description: key list
19627+
properties:
19628+
items:
19629+
description: Items is the list of key objects in the list
19630+
items:
19631+
$ref: '#/components/schemas/key'
19632+
type: array
19633+
pageResult:
19634+
$ref: '#/components/schemas/pageResult'
19635+
required:
19636+
- items
19637+
type: object
1955419638
responses:
1955519639
'400':
1955619640
content:

apecloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit 7b6b8d1f84a28b1869a2e3ee292e291d6b2109b2
1+
Subproject commit eed4bfdb70e31f75b6906bec7b3ff0d0c010f81d

0 commit comments

Comments
 (0)