kb-cloud-client-typescript 2.3.30 → 2.3.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +906 -6
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +981 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/cluster-jar-api.d.ts +702 -0
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/adminapi/apis/cluster-jar-api.js +758 -0
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/adminapi/apis/environment-api.d.ts +95 -0
- package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
- package/dist/adminapi/apis/environment-api.js +93 -0
- package/dist/adminapi/apis/environment-api.js.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.d.ts +18 -10
- package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.js +16 -11
- package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
- package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
- package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +1577 -23
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1685 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
- package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-config.js +16 -0
- package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
- package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-kind.js +26 -0
- package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
- package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-list.js +16 -0
- package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-package.js +16 -0
- package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
- package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-publish.js +16 -0
- package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
- package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-replica.js +16 -0
- package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
- package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-task.js +16 -0
- package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
- package/dist/adminapi/models/engine-option-history.d.ts +5 -4
- package/dist/adminapi/models/engine-option-history.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +10 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/dist/openapi/api.d.ts +2 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +2 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +906 -6
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +981 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/openapi/apis/cluster-jar-api.js +758 -0
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/openapi/apis/seaweedfs-api.js +1045 -0
- package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +1577 -23
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1685 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
- package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-config.js +16 -0
- package/dist/openapi/models/cluster-jar-config.js.map +1 -0
- package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
- package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-kind.js +26 -0
- package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
- package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
- package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-list.js +16 -0
- package/dist/openapi/models/cluster-jar-list.js.map +1 -0
- package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-package.js +16 -0
- package/dist/openapi/models/cluster-jar-package.js.map +1 -0
- package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
- package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-publish.js +16 -0
- package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
- package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
- package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-replica.js +16 -0
- package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
- package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
- package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-task.js +16 -0
- package/dist/openapi/models/cluster-jar-task.js.map +1 -0
- package/dist/openapi/models/index.d.ts +10 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +10 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +12 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/account-api.ts +1623 -55
- package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
- package/src/adminapi/apis/environment-api.ts +155 -0
- package/src/adminapi/apis/parameter-template-api.ts +26 -13
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +2733 -24
- package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/adminapi/models/cluster-jar-config.ts +66 -0
- package/src/adminapi/models/cluster-jar-kind.ts +31 -0
- package/src/adminapi/models/cluster-jar-list.ts +39 -0
- package/src/adminapi/models/cluster-jar-package.ts +122 -0
- package/src/adminapi/models/cluster-jar-publish.ts +30 -0
- package/src/adminapi/models/cluster-jar-replica.ts +66 -0
- package/src/adminapi/models/cluster-jar-task.ts +30 -0
- package/src/adminapi/models/engine-option-history.ts +3 -6
- package/src/adminapi/models/index.ts +10 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/adminapi.yaml +1195 -23
- package/src/internalapi.yaml +2 -4
- package/src/openapi/.openapi-generator/FILES +12 -0
- package/src/openapi/api.ts +2 -0
- package/src/openapi/apis/account-api.ts +1623 -55
- package/src/openapi/apis/cluster-jar-api.ts +1211 -0
- package/src/openapi/apis/seaweedfs-api.ts +1644 -0
- package/src/openapi/apis/shared-api.ts +2733 -24
- package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/openapi/models/cluster-jar-config.ts +66 -0
- package/src/openapi/models/cluster-jar-kind.ts +31 -0
- package/src/openapi/models/cluster-jar-list.ts +39 -0
- package/src/openapi/models/cluster-jar-package.ts +122 -0
- package/src/openapi/models/cluster-jar-publish.ts +30 -0
- package/src/openapi/models/cluster-jar-replica.ts +66 -0
- package/src/openapi/models/cluster-jar-task.ts +30 -0
- package/src/openapi/models/index.ts +10 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/openapi.yaml +1119 -16
package/src/adminapi.yaml
CHANGED
|
@@ -76,6 +76,402 @@ tags:
|
|
|
76
76
|
- name: disasterRecovery
|
|
77
77
|
description: Cluster Disaster Recovery APIs
|
|
78
78
|
paths:
|
|
79
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config:
|
|
80
|
+
get:
|
|
81
|
+
operationId: getClusterJarConfig
|
|
82
|
+
summary: Get external JAR capability and configuration
|
|
83
|
+
tags:
|
|
84
|
+
- clusterJar
|
|
85
|
+
- shared
|
|
86
|
+
parameters:
|
|
87
|
+
- name: engineName
|
|
88
|
+
in: path
|
|
89
|
+
required: true
|
|
90
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
91
|
+
schema:
|
|
92
|
+
type: string
|
|
93
|
+
- name: orgName
|
|
94
|
+
in: path
|
|
95
|
+
required: true
|
|
96
|
+
schema:
|
|
97
|
+
type: string
|
|
98
|
+
- name: clusterName
|
|
99
|
+
in: path
|
|
100
|
+
required: true
|
|
101
|
+
schema:
|
|
102
|
+
type: string
|
|
103
|
+
responses:
|
|
104
|
+
'200':
|
|
105
|
+
description: Success
|
|
106
|
+
content:
|
|
107
|
+
application/json:
|
|
108
|
+
schema:
|
|
109
|
+
$ref: '#/components/schemas/clusterJarConfig'
|
|
110
|
+
'400':
|
|
111
|
+
$ref: '#/components/responses/400'
|
|
112
|
+
'401':
|
|
113
|
+
$ref: '#/components/responses/401'
|
|
114
|
+
'403':
|
|
115
|
+
$ref: '#/components/responses/403'
|
|
116
|
+
'404':
|
|
117
|
+
$ref: '#/components/responses/404'
|
|
118
|
+
'409':
|
|
119
|
+
$ref: '#/components/responses/409'
|
|
120
|
+
'500':
|
|
121
|
+
$ref: '#/components/responses/500'
|
|
122
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars:
|
|
123
|
+
get:
|
|
124
|
+
operationId: listClusterJars
|
|
125
|
+
summary: List external JAR versions with metadata and per-instance synchronization state
|
|
126
|
+
tags:
|
|
127
|
+
- clusterJar
|
|
128
|
+
- shared
|
|
129
|
+
parameters:
|
|
130
|
+
- name: engineName
|
|
131
|
+
in: path
|
|
132
|
+
required: true
|
|
133
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
134
|
+
schema:
|
|
135
|
+
type: string
|
|
136
|
+
- name: orgName
|
|
137
|
+
in: path
|
|
138
|
+
required: true
|
|
139
|
+
schema:
|
|
140
|
+
type: string
|
|
141
|
+
- name: clusterName
|
|
142
|
+
in: path
|
|
143
|
+
required: true
|
|
144
|
+
schema:
|
|
145
|
+
type: string
|
|
146
|
+
responses:
|
|
147
|
+
'200':
|
|
148
|
+
description: Success
|
|
149
|
+
content:
|
|
150
|
+
application/json:
|
|
151
|
+
schema:
|
|
152
|
+
$ref: '#/components/schemas/clusterJarList'
|
|
153
|
+
'400':
|
|
154
|
+
$ref: '#/components/responses/400'
|
|
155
|
+
'401':
|
|
156
|
+
$ref: '#/components/responses/401'
|
|
157
|
+
'403':
|
|
158
|
+
$ref: '#/components/responses/403'
|
|
159
|
+
'404':
|
|
160
|
+
$ref: '#/components/responses/404'
|
|
161
|
+
'409':
|
|
162
|
+
$ref: '#/components/responses/409'
|
|
163
|
+
'500':
|
|
164
|
+
$ref: '#/components/responses/500'
|
|
165
|
+
post:
|
|
166
|
+
operationId: uploadClusterJar
|
|
167
|
+
summary: Upload an immutable JAR version
|
|
168
|
+
tags:
|
|
169
|
+
- clusterJar
|
|
170
|
+
- shared
|
|
171
|
+
parameters:
|
|
172
|
+
- name: engineName
|
|
173
|
+
in: path
|
|
174
|
+
required: true
|
|
175
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
176
|
+
schema:
|
|
177
|
+
type: string
|
|
178
|
+
- name: orgName
|
|
179
|
+
in: path
|
|
180
|
+
required: true
|
|
181
|
+
schema:
|
|
182
|
+
type: string
|
|
183
|
+
- name: clusterName
|
|
184
|
+
in: path
|
|
185
|
+
required: true
|
|
186
|
+
schema:
|
|
187
|
+
type: string
|
|
188
|
+
- name: Idempotency-Key
|
|
189
|
+
in: header
|
|
190
|
+
required: true
|
|
191
|
+
schema:
|
|
192
|
+
type: string
|
|
193
|
+
minLength: 1
|
|
194
|
+
maxLength: 128
|
|
195
|
+
responses:
|
|
196
|
+
'201':
|
|
197
|
+
description: Success
|
|
198
|
+
content:
|
|
199
|
+
application/json:
|
|
200
|
+
schema:
|
|
201
|
+
$ref: '#/components/schemas/clusterJarPackage'
|
|
202
|
+
'400':
|
|
203
|
+
$ref: '#/components/responses/400'
|
|
204
|
+
'401':
|
|
205
|
+
$ref: '#/components/responses/401'
|
|
206
|
+
'403':
|
|
207
|
+
$ref: '#/components/responses/403'
|
|
208
|
+
'404':
|
|
209
|
+
$ref: '#/components/responses/404'
|
|
210
|
+
'409':
|
|
211
|
+
$ref: '#/components/responses/409'
|
|
212
|
+
'413':
|
|
213
|
+
$ref: '#/components/responses/413'
|
|
214
|
+
'500':
|
|
215
|
+
$ref: '#/components/responses/500'
|
|
216
|
+
requestBody:
|
|
217
|
+
required: true
|
|
218
|
+
content:
|
|
219
|
+
multipart/form-data:
|
|
220
|
+
schema:
|
|
221
|
+
type: object
|
|
222
|
+
properties:
|
|
223
|
+
name:
|
|
224
|
+
type: string
|
|
225
|
+
minLength: 1
|
|
226
|
+
maxLength: 128
|
|
227
|
+
kind:
|
|
228
|
+
$ref: '#/components/schemas/clusterJarKind'
|
|
229
|
+
file:
|
|
230
|
+
type: string
|
|
231
|
+
format: binary
|
|
232
|
+
required:
|
|
233
|
+
- name
|
|
234
|
+
- kind
|
|
235
|
+
- file
|
|
236
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}:
|
|
237
|
+
delete:
|
|
238
|
+
operationId: deleteClusterJar
|
|
239
|
+
summary: Delete an unpublished JAR version
|
|
240
|
+
tags:
|
|
241
|
+
- clusterJar
|
|
242
|
+
- shared
|
|
243
|
+
parameters:
|
|
244
|
+
- name: engineName
|
|
245
|
+
in: path
|
|
246
|
+
required: true
|
|
247
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
248
|
+
schema:
|
|
249
|
+
type: string
|
|
250
|
+
- name: orgName
|
|
251
|
+
in: path
|
|
252
|
+
required: true
|
|
253
|
+
schema:
|
|
254
|
+
type: string
|
|
255
|
+
- name: clusterName
|
|
256
|
+
in: path
|
|
257
|
+
required: true
|
|
258
|
+
schema:
|
|
259
|
+
type: string
|
|
260
|
+
- name: jarId
|
|
261
|
+
in: path
|
|
262
|
+
required: true
|
|
263
|
+
schema:
|
|
264
|
+
type: string
|
|
265
|
+
responses:
|
|
266
|
+
'204':
|
|
267
|
+
description: Success
|
|
268
|
+
'400':
|
|
269
|
+
$ref: '#/components/responses/400'
|
|
270
|
+
'401':
|
|
271
|
+
$ref: '#/components/responses/401'
|
|
272
|
+
'403':
|
|
273
|
+
$ref: '#/components/responses/403'
|
|
274
|
+
'404':
|
|
275
|
+
$ref: '#/components/responses/404'
|
|
276
|
+
'409':
|
|
277
|
+
$ref: '#/components/responses/409'
|
|
278
|
+
'500':
|
|
279
|
+
$ref: '#/components/responses/500'
|
|
280
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download:
|
|
281
|
+
get:
|
|
282
|
+
operationId: downloadClusterJar
|
|
283
|
+
summary: Download the original JAR
|
|
284
|
+
tags:
|
|
285
|
+
- clusterJar
|
|
286
|
+
- shared
|
|
287
|
+
parameters:
|
|
288
|
+
- name: engineName
|
|
289
|
+
in: path
|
|
290
|
+
required: true
|
|
291
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
292
|
+
schema:
|
|
293
|
+
type: string
|
|
294
|
+
- name: orgName
|
|
295
|
+
in: path
|
|
296
|
+
required: true
|
|
297
|
+
schema:
|
|
298
|
+
type: string
|
|
299
|
+
- name: clusterName
|
|
300
|
+
in: path
|
|
301
|
+
required: true
|
|
302
|
+
schema:
|
|
303
|
+
type: string
|
|
304
|
+
- name: jarId
|
|
305
|
+
in: path
|
|
306
|
+
required: true
|
|
307
|
+
schema:
|
|
308
|
+
type: string
|
|
309
|
+
responses:
|
|
310
|
+
'200':
|
|
311
|
+
description: Success
|
|
312
|
+
content:
|
|
313
|
+
application/java-archive:
|
|
314
|
+
schema:
|
|
315
|
+
type: string
|
|
316
|
+
format: binary
|
|
317
|
+
'400':
|
|
318
|
+
$ref: '#/components/responses/400'
|
|
319
|
+
'401':
|
|
320
|
+
$ref: '#/components/responses/401'
|
|
321
|
+
'403':
|
|
322
|
+
$ref: '#/components/responses/403'
|
|
323
|
+
'404':
|
|
324
|
+
$ref: '#/components/responses/404'
|
|
325
|
+
'409':
|
|
326
|
+
$ref: '#/components/responses/409'
|
|
327
|
+
'500':
|
|
328
|
+
$ref: '#/components/responses/500'
|
|
329
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute:
|
|
330
|
+
post:
|
|
331
|
+
operationId: distributeClusterJar
|
|
332
|
+
summary: Publish a JAR with optimistic manifest version checking
|
|
333
|
+
tags:
|
|
334
|
+
- clusterJar
|
|
335
|
+
- shared
|
|
336
|
+
parameters:
|
|
337
|
+
- name: engineName
|
|
338
|
+
in: path
|
|
339
|
+
required: true
|
|
340
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
341
|
+
schema:
|
|
342
|
+
type: string
|
|
343
|
+
- name: orgName
|
|
344
|
+
in: path
|
|
345
|
+
required: true
|
|
346
|
+
schema:
|
|
347
|
+
type: string
|
|
348
|
+
- name: clusterName
|
|
349
|
+
in: path
|
|
350
|
+
required: true
|
|
351
|
+
schema:
|
|
352
|
+
type: string
|
|
353
|
+
- name: jarId
|
|
354
|
+
in: path
|
|
355
|
+
required: true
|
|
356
|
+
schema:
|
|
357
|
+
type: string
|
|
358
|
+
responses:
|
|
359
|
+
'202':
|
|
360
|
+
description: Success
|
|
361
|
+
content:
|
|
362
|
+
application/json:
|
|
363
|
+
schema:
|
|
364
|
+
$ref: '#/components/schemas/clusterJarTask'
|
|
365
|
+
'400':
|
|
366
|
+
$ref: '#/components/responses/400'
|
|
367
|
+
'401':
|
|
368
|
+
$ref: '#/components/responses/401'
|
|
369
|
+
'403':
|
|
370
|
+
$ref: '#/components/responses/403'
|
|
371
|
+
'404':
|
|
372
|
+
$ref: '#/components/responses/404'
|
|
373
|
+
'409':
|
|
374
|
+
$ref: '#/components/responses/409'
|
|
375
|
+
'500':
|
|
376
|
+
$ref: '#/components/responses/500'
|
|
377
|
+
requestBody:
|
|
378
|
+
required: true
|
|
379
|
+
content:
|
|
380
|
+
application/json:
|
|
381
|
+
schema:
|
|
382
|
+
$ref: '#/components/schemas/clusterJarPublish'
|
|
383
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry:
|
|
384
|
+
post:
|
|
385
|
+
operationId: retryClusterJar
|
|
386
|
+
summary: Retry synchronization of published JARs
|
|
387
|
+
tags:
|
|
388
|
+
- clusterJar
|
|
389
|
+
- shared
|
|
390
|
+
parameters:
|
|
391
|
+
- name: engineName
|
|
392
|
+
in: path
|
|
393
|
+
required: true
|
|
394
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
395
|
+
schema:
|
|
396
|
+
type: string
|
|
397
|
+
- name: orgName
|
|
398
|
+
in: path
|
|
399
|
+
required: true
|
|
400
|
+
schema:
|
|
401
|
+
type: string
|
|
402
|
+
- name: clusterName
|
|
403
|
+
in: path
|
|
404
|
+
required: true
|
|
405
|
+
schema:
|
|
406
|
+
type: string
|
|
407
|
+
- name: jarId
|
|
408
|
+
in: path
|
|
409
|
+
required: true
|
|
410
|
+
schema:
|
|
411
|
+
type: string
|
|
412
|
+
responses:
|
|
413
|
+
'202':
|
|
414
|
+
description: Success
|
|
415
|
+
content:
|
|
416
|
+
application/json:
|
|
417
|
+
schema:
|
|
418
|
+
$ref: '#/components/schemas/clusterJarTask'
|
|
419
|
+
'400':
|
|
420
|
+
$ref: '#/components/responses/400'
|
|
421
|
+
'401':
|
|
422
|
+
$ref: '#/components/responses/401'
|
|
423
|
+
'403':
|
|
424
|
+
$ref: '#/components/responses/403'
|
|
425
|
+
'404':
|
|
426
|
+
$ref: '#/components/responses/404'
|
|
427
|
+
'409':
|
|
428
|
+
$ref: '#/components/responses/409'
|
|
429
|
+
'500':
|
|
430
|
+
$ref: '#/components/responses/500'
|
|
431
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive:
|
|
432
|
+
post:
|
|
433
|
+
operationId: archiveClusterJar
|
|
434
|
+
summary: Archive a JAR while retaining published files and startup synchronization
|
|
435
|
+
tags:
|
|
436
|
+
- clusterJar
|
|
437
|
+
- shared
|
|
438
|
+
parameters:
|
|
439
|
+
- name: engineName
|
|
440
|
+
in: path
|
|
441
|
+
required: true
|
|
442
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
443
|
+
schema:
|
|
444
|
+
type: string
|
|
445
|
+
- name: orgName
|
|
446
|
+
in: path
|
|
447
|
+
required: true
|
|
448
|
+
schema:
|
|
449
|
+
type: string
|
|
450
|
+
- name: clusterName
|
|
451
|
+
in: path
|
|
452
|
+
required: true
|
|
453
|
+
schema:
|
|
454
|
+
type: string
|
|
455
|
+
- name: jarId
|
|
456
|
+
in: path
|
|
457
|
+
required: true
|
|
458
|
+
schema:
|
|
459
|
+
type: string
|
|
460
|
+
responses:
|
|
461
|
+
'204':
|
|
462
|
+
description: Success
|
|
463
|
+
'400':
|
|
464
|
+
$ref: '#/components/responses/400'
|
|
465
|
+
'401':
|
|
466
|
+
$ref: '#/components/responses/401'
|
|
467
|
+
'403':
|
|
468
|
+
$ref: '#/components/responses/403'
|
|
469
|
+
'404':
|
|
470
|
+
$ref: '#/components/responses/404'
|
|
471
|
+
'409':
|
|
472
|
+
$ref: '#/components/responses/409'
|
|
473
|
+
'500':
|
|
474
|
+
$ref: '#/components/responses/500'
|
|
79
475
|
/admin/v1/user:
|
|
80
476
|
get:
|
|
81
477
|
description: Get authenticated login user info
|
|
@@ -4254,13 +4650,20 @@ paths:
|
|
|
4254
4650
|
post:
|
|
4255
4651
|
operationId: createParameterTemplate
|
|
4256
4652
|
summary: Create parameter template
|
|
4653
|
+
description: Create a parameter template in the target organization from an existing template. To copy a custom template from another organization, specify oriOrgName and provide a new name. Cross-organization creation only supports non-private custom source templates. The created template is always non-private; any isPrivate value in the request body is ignored.
|
|
4257
4654
|
parameters:
|
|
4258
|
-
- description:
|
|
4655
|
+
- description: Name of the target organization
|
|
4259
4656
|
in: query
|
|
4260
4657
|
name: orgName
|
|
4261
4658
|
required: true
|
|
4262
4659
|
schema:
|
|
4263
4660
|
type: string
|
|
4661
|
+
- description: 'Name of the source organization. When omitted, empty, or equal to orgName, existing creation behavior is preserved: custom templates are read from the target organization and default templates from the system organization. A different source organization requires oriPartition to be custom and name to differ from oriName. Both organizations must be active. The source may be the system organization, but the target must not be the system organization. A non-empty value containing only whitespace is invalid.'
|
|
4662
|
+
in: query
|
|
4663
|
+
name: oriOrgName
|
|
4664
|
+
required: false
|
|
4665
|
+
schema:
|
|
4666
|
+
type: string
|
|
4264
4667
|
requestBody:
|
|
4265
4668
|
content:
|
|
4266
4669
|
application/json:
|
|
@@ -4274,12 +4677,16 @@ paths:
|
|
|
4274
4677
|
schema:
|
|
4275
4678
|
$ref: '#/components/schemas/paramTplListItem'
|
|
4276
4679
|
description: create parameter template successfully
|
|
4680
|
+
'400':
|
|
4681
|
+
$ref: '#/components/responses/400'
|
|
4277
4682
|
'401':
|
|
4278
4683
|
$ref: '#/components/responses/401'
|
|
4279
4684
|
'403':
|
|
4280
4685
|
$ref: '#/components/responses/403'
|
|
4281
4686
|
'404':
|
|
4282
4687
|
$ref: '#/components/responses/404'
|
|
4688
|
+
'409':
|
|
4689
|
+
$ref: '#/components/responses/409'
|
|
4283
4690
|
tags:
|
|
4284
4691
|
- parameterTemplate
|
|
4285
4692
|
x-codegen-request-body-name: body
|
|
@@ -9706,6 +10113,58 @@ paths:
|
|
|
9706
10113
|
$ref: '#/components/responses/403'
|
|
9707
10114
|
'404':
|
|
9708
10115
|
$ref: '#/components/responses/404'
|
|
10116
|
+
/admin/v1/environments/{environmentName}/resources/{resourceName}:
|
|
10117
|
+
get:
|
|
10118
|
+
operationId: getEnvironmentResource
|
|
10119
|
+
summary: Get a live Kubernetes resource
|
|
10120
|
+
description: Returns one named Kubernetes object, excluding metadata.managedFields. The code allowlist currently permits only apiVersion v1 with kind PersistentVolumeClaim; other valid resource types return 403 before Kubernetes access. Requires Admin environment read permission. Does not support lists, subresources or writes.
|
|
10121
|
+
tags:
|
|
10122
|
+
- environment
|
|
10123
|
+
parameters:
|
|
10124
|
+
- in: path
|
|
10125
|
+
name: environmentName
|
|
10126
|
+
required: true
|
|
10127
|
+
schema:
|
|
10128
|
+
type: string
|
|
10129
|
+
- in: path
|
|
10130
|
+
name: resourceName
|
|
10131
|
+
required: true
|
|
10132
|
+
schema:
|
|
10133
|
+
type: string
|
|
10134
|
+
- in: query
|
|
10135
|
+
name: apiVersion
|
|
10136
|
+
description: Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
|
|
10137
|
+
required: true
|
|
10138
|
+
schema:
|
|
10139
|
+
type: string
|
|
10140
|
+
- in: query
|
|
10141
|
+
name: kind
|
|
10142
|
+
description: Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
|
|
10143
|
+
required: true
|
|
10144
|
+
schema:
|
|
10145
|
+
type: string
|
|
10146
|
+
- in: query
|
|
10147
|
+
name: namespace
|
|
10148
|
+
description: Required for namespaced kinds; must be omitted for cluster-scoped kinds.
|
|
10149
|
+
schema:
|
|
10150
|
+
type: string
|
|
10151
|
+
responses:
|
|
10152
|
+
'200':
|
|
10153
|
+
description: The live Kubernetes resource, including metadata, spec and status when present.
|
|
10154
|
+
content:
|
|
10155
|
+
application/json:
|
|
10156
|
+
schema:
|
|
10157
|
+
$ref: '#/components/schemas/jsonBody'
|
|
10158
|
+
'400':
|
|
10159
|
+
$ref: '#/components/responses/400'
|
|
10160
|
+
'401':
|
|
10161
|
+
$ref: '#/components/responses/401'
|
|
10162
|
+
'403':
|
|
10163
|
+
$ref: '#/components/responses/403'
|
|
10164
|
+
'404':
|
|
10165
|
+
$ref: '#/components/responses/404'
|
|
10166
|
+
'500':
|
|
10167
|
+
$ref: '#/components/responses/500'
|
|
9709
10168
|
/admin/v1/environments:
|
|
9710
10169
|
get:
|
|
9711
10170
|
operationId: listEnvironment
|
|
@@ -16189,7 +16648,7 @@ paths:
|
|
|
16189
16648
|
description: Inspection tasks created and accepted for asynchronous execution.
|
|
16190
16649
|
content: {}
|
|
16191
16650
|
'400':
|
|
16192
|
-
|
|
16651
|
+
$ref: '#/components/responses/400'
|
|
16193
16652
|
'401':
|
|
16194
16653
|
$ref: '#/components/responses/401'
|
|
16195
16654
|
'403':
|
|
@@ -22038,6 +22497,568 @@ paths:
|
|
|
22038
22497
|
- database
|
|
22039
22498
|
- rdbms
|
|
22040
22499
|
- shared
|
|
22500
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
22501
|
+
get:
|
|
22502
|
+
description: Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
22503
|
+
summary: listSeaweedFSAccounts
|
|
22504
|
+
operationId: listSeaweedFSAccounts
|
|
22505
|
+
parameters:
|
|
22506
|
+
- description: name of the organization
|
|
22507
|
+
in: path
|
|
22508
|
+
name: orgName
|
|
22509
|
+
required: true
|
|
22510
|
+
schema:
|
|
22511
|
+
type: string
|
|
22512
|
+
- description: name of the cluster
|
|
22513
|
+
in: path
|
|
22514
|
+
name: clusterName
|
|
22515
|
+
required: true
|
|
22516
|
+
schema:
|
|
22517
|
+
type: string
|
|
22518
|
+
responses:
|
|
22519
|
+
'200':
|
|
22520
|
+
content:
|
|
22521
|
+
application/json:
|
|
22522
|
+
schema:
|
|
22523
|
+
$ref: '#/components/schemas/accountList'
|
|
22524
|
+
description: Success
|
|
22525
|
+
'400':
|
|
22526
|
+
$ref: '#/components/responses/400'
|
|
22527
|
+
'401':
|
|
22528
|
+
$ref: '#/components/responses/401'
|
|
22529
|
+
'403':
|
|
22530
|
+
$ref: '#/components/responses/403'
|
|
22531
|
+
'404':
|
|
22532
|
+
$ref: '#/components/responses/404'
|
|
22533
|
+
'409':
|
|
22534
|
+
$ref: '#/components/responses/409'
|
|
22535
|
+
'503':
|
|
22536
|
+
$ref: '#/components/responses/503'
|
|
22537
|
+
tags:
|
|
22538
|
+
- account
|
|
22539
|
+
- seaweedfs
|
|
22540
|
+
- shared
|
|
22541
|
+
x-codegen-request-body-name: body
|
|
22542
|
+
post:
|
|
22543
|
+
description: Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
22544
|
+
summary: createSeaweedFSAccount
|
|
22545
|
+
operationId: createSeaweedFSAccount
|
|
22546
|
+
parameters:
|
|
22547
|
+
- description: name of the organization
|
|
22548
|
+
in: path
|
|
22549
|
+
name: orgName
|
|
22550
|
+
required: true
|
|
22551
|
+
schema:
|
|
22552
|
+
type: string
|
|
22553
|
+
- description: name of the cluster
|
|
22554
|
+
in: path
|
|
22555
|
+
name: clusterName
|
|
22556
|
+
required: true
|
|
22557
|
+
schema:
|
|
22558
|
+
type: string
|
|
22559
|
+
requestBody:
|
|
22560
|
+
content:
|
|
22561
|
+
application/json:
|
|
22562
|
+
schema:
|
|
22563
|
+
$ref: '#/components/schemas/account'
|
|
22564
|
+
required: true
|
|
22565
|
+
responses:
|
|
22566
|
+
'201':
|
|
22567
|
+
description: Identity and initial credential created
|
|
22568
|
+
content:
|
|
22569
|
+
application/json:
|
|
22570
|
+
schema:
|
|
22571
|
+
$ref: '#/components/schemas/account'
|
|
22572
|
+
'400':
|
|
22573
|
+
$ref: '#/components/responses/400'
|
|
22574
|
+
'401':
|
|
22575
|
+
$ref: '#/components/responses/401'
|
|
22576
|
+
'403':
|
|
22577
|
+
$ref: '#/components/responses/403'
|
|
22578
|
+
'404':
|
|
22579
|
+
$ref: '#/components/responses/404'
|
|
22580
|
+
'409':
|
|
22581
|
+
$ref: '#/components/responses/409'
|
|
22582
|
+
'503':
|
|
22583
|
+
$ref: '#/components/responses/503'
|
|
22584
|
+
tags:
|
|
22585
|
+
- account
|
|
22586
|
+
- seaweedfs
|
|
22587
|
+
- shared
|
|
22588
|
+
x-codegen-request-body-name: body
|
|
22589
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
22590
|
+
delete:
|
|
22591
|
+
description: delete an account in cluster
|
|
22592
|
+
summary: deleteSeaweedFSAccount
|
|
22593
|
+
operationId: deleteSeaweedFSAccount
|
|
22594
|
+
parameters:
|
|
22595
|
+
- description: name of the organization
|
|
22596
|
+
in: path
|
|
22597
|
+
name: orgName
|
|
22598
|
+
required: true
|
|
22599
|
+
schema:
|
|
22600
|
+
type: string
|
|
22601
|
+
- description: name of the cluster
|
|
22602
|
+
in: path
|
|
22603
|
+
name: clusterName
|
|
22604
|
+
required: true
|
|
22605
|
+
schema:
|
|
22606
|
+
type: string
|
|
22607
|
+
- description: name of the account
|
|
22608
|
+
in: path
|
|
22609
|
+
name: accountName
|
|
22610
|
+
required: true
|
|
22611
|
+
schema:
|
|
22612
|
+
type: string
|
|
22613
|
+
responses:
|
|
22614
|
+
'204':
|
|
22615
|
+
content: {}
|
|
22616
|
+
description: Identity deleted
|
|
22617
|
+
'400':
|
|
22618
|
+
$ref: '#/components/responses/400'
|
|
22619
|
+
'401':
|
|
22620
|
+
$ref: '#/components/responses/401'
|
|
22621
|
+
'403':
|
|
22622
|
+
$ref: '#/components/responses/403'
|
|
22623
|
+
'404':
|
|
22624
|
+
$ref: '#/components/responses/404'
|
|
22625
|
+
'409':
|
|
22626
|
+
$ref: '#/components/responses/409'
|
|
22627
|
+
'503':
|
|
22628
|
+
$ref: '#/components/responses/503'
|
|
22629
|
+
tags:
|
|
22630
|
+
- account
|
|
22631
|
+
- seaweedfs
|
|
22632
|
+
- shared
|
|
22633
|
+
patch:
|
|
22634
|
+
description: Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
22635
|
+
summary: updateSeaweedFSAccount
|
|
22636
|
+
operationId: updateSeaweedFSAccount
|
|
22637
|
+
parameters:
|
|
22638
|
+
- description: name of the organization
|
|
22639
|
+
in: path
|
|
22640
|
+
name: orgName
|
|
22641
|
+
required: true
|
|
22642
|
+
schema:
|
|
22643
|
+
type: string
|
|
22644
|
+
- description: name of the cluster
|
|
22645
|
+
in: path
|
|
22646
|
+
name: clusterName
|
|
22647
|
+
required: true
|
|
22648
|
+
schema:
|
|
22649
|
+
type: string
|
|
22650
|
+
- description: name of the account
|
|
22651
|
+
in: path
|
|
22652
|
+
name: accountName
|
|
22653
|
+
required: true
|
|
22654
|
+
schema:
|
|
22655
|
+
type: string
|
|
22656
|
+
requestBody:
|
|
22657
|
+
content:
|
|
22658
|
+
application/json:
|
|
22659
|
+
schema:
|
|
22660
|
+
$ref: '#/components/schemas/account'
|
|
22661
|
+
required: true
|
|
22662
|
+
responses:
|
|
22663
|
+
'200':
|
|
22664
|
+
description: Selected credential updated
|
|
22665
|
+
content:
|
|
22666
|
+
application/json:
|
|
22667
|
+
schema:
|
|
22668
|
+
$ref: '#/components/schemas/account'
|
|
22669
|
+
'400':
|
|
22670
|
+
$ref: '#/components/responses/400'
|
|
22671
|
+
'401':
|
|
22672
|
+
$ref: '#/components/responses/401'
|
|
22673
|
+
'403':
|
|
22674
|
+
$ref: '#/components/responses/403'
|
|
22675
|
+
'404':
|
|
22676
|
+
$ref: '#/components/responses/404'
|
|
22677
|
+
'409':
|
|
22678
|
+
$ref: '#/components/responses/409'
|
|
22679
|
+
'503':
|
|
22680
|
+
$ref: '#/components/responses/503'
|
|
22681
|
+
tags:
|
|
22682
|
+
- account
|
|
22683
|
+
- seaweedfs
|
|
22684
|
+
- shared
|
|
22685
|
+
x-codegen-request-body-name: body
|
|
22686
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password:
|
|
22687
|
+
get:
|
|
22688
|
+
description: get root account password
|
|
22689
|
+
summary: getRootSeaweedFSAccountPassword
|
|
22690
|
+
operationId: getRootSeaweedFSAccountPassword
|
|
22691
|
+
parameters:
|
|
22692
|
+
- description: name of the Org
|
|
22693
|
+
in: path
|
|
22694
|
+
name: orgName
|
|
22695
|
+
required: true
|
|
22696
|
+
schema:
|
|
22697
|
+
type: string
|
|
22698
|
+
- description: name of the Cluster
|
|
22699
|
+
in: path
|
|
22700
|
+
name: clusterName
|
|
22701
|
+
required: true
|
|
22702
|
+
schema:
|
|
22703
|
+
type: string
|
|
22704
|
+
- description: name of the account
|
|
22705
|
+
in: query
|
|
22706
|
+
name: accountName
|
|
22707
|
+
required: true
|
|
22708
|
+
schema:
|
|
22709
|
+
type: string
|
|
22710
|
+
- description: name of the component
|
|
22711
|
+
in: query
|
|
22712
|
+
name: component
|
|
22713
|
+
required: false
|
|
22714
|
+
schema:
|
|
22715
|
+
type: string
|
|
22716
|
+
responses:
|
|
22717
|
+
'200':
|
|
22718
|
+
description: get root account password success
|
|
22719
|
+
content:
|
|
22720
|
+
application/json:
|
|
22721
|
+
schema:
|
|
22722
|
+
type: string
|
|
22723
|
+
'401':
|
|
22724
|
+
$ref: '#/components/responses/401'
|
|
22725
|
+
'403':
|
|
22726
|
+
$ref: '#/components/responses/403'
|
|
22727
|
+
'404':
|
|
22728
|
+
$ref: '#/components/responses/404'
|
|
22729
|
+
'409':
|
|
22730
|
+
$ref: '#/components/responses/409'
|
|
22731
|
+
'500':
|
|
22732
|
+
$ref: '#/components/responses/500'
|
|
22733
|
+
tags:
|
|
22734
|
+
- account
|
|
22735
|
+
- seaweedfs
|
|
22736
|
+
- shared
|
|
22737
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges:
|
|
22738
|
+
patch:
|
|
22739
|
+
description: Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
22740
|
+
summary: updateSeaweedFSAccountPrivileges
|
|
22741
|
+
operationId: updateSeaweedFSAccountPrivileges
|
|
22742
|
+
parameters:
|
|
22743
|
+
- description: name of the Org
|
|
22744
|
+
in: path
|
|
22745
|
+
name: orgName
|
|
22746
|
+
required: true
|
|
22747
|
+
schema:
|
|
22748
|
+
type: string
|
|
22749
|
+
- description: name of the Cluster
|
|
22750
|
+
in: path
|
|
22751
|
+
name: clusterName
|
|
22752
|
+
required: true
|
|
22753
|
+
schema:
|
|
22754
|
+
type: string
|
|
22755
|
+
- description: name of the account
|
|
22756
|
+
in: path
|
|
22757
|
+
name: accountName
|
|
22758
|
+
required: true
|
|
22759
|
+
schema:
|
|
22760
|
+
type: string
|
|
22761
|
+
requestBody:
|
|
22762
|
+
content:
|
|
22763
|
+
application/json:
|
|
22764
|
+
schema:
|
|
22765
|
+
$ref: '#/components/schemas/privilegeList'
|
|
22766
|
+
required: true
|
|
22767
|
+
responses:
|
|
22768
|
+
'400':
|
|
22769
|
+
$ref: '#/components/responses/400'
|
|
22770
|
+
tags:
|
|
22771
|
+
- account
|
|
22772
|
+
- seaweedfs
|
|
22773
|
+
- shared
|
|
22774
|
+
x-codegen-request-body-name: body
|
|
22775
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies:
|
|
22776
|
+
get:
|
|
22777
|
+
summary: listSeaweedFSPolicies
|
|
22778
|
+
operationId: listSeaweedFSPolicies
|
|
22779
|
+
tags:
|
|
22780
|
+
- account
|
|
22781
|
+
- seaweedfs
|
|
22782
|
+
- shared
|
|
22783
|
+
parameters:
|
|
22784
|
+
- in: path
|
|
22785
|
+
name: orgName
|
|
22786
|
+
required: true
|
|
22787
|
+
schema:
|
|
22788
|
+
type: string
|
|
22789
|
+
- in: path
|
|
22790
|
+
name: clusterName
|
|
22791
|
+
required: true
|
|
22792
|
+
schema:
|
|
22793
|
+
type: string
|
|
22794
|
+
responses:
|
|
22795
|
+
'200':
|
|
22796
|
+
description: Successful response
|
|
22797
|
+
content:
|
|
22798
|
+
application/json:
|
|
22799
|
+
schema:
|
|
22800
|
+
type: object
|
|
22801
|
+
required:
|
|
22802
|
+
- items
|
|
22803
|
+
properties:
|
|
22804
|
+
items:
|
|
22805
|
+
type: array
|
|
22806
|
+
items:
|
|
22807
|
+
type: object
|
|
22808
|
+
required:
|
|
22809
|
+
- name
|
|
22810
|
+
- document
|
|
22811
|
+
properties:
|
|
22812
|
+
name:
|
|
22813
|
+
type: string
|
|
22814
|
+
document:
|
|
22815
|
+
type: object
|
|
22816
|
+
additionalProperties: true
|
|
22817
|
+
'400':
|
|
22818
|
+
$ref: '#/components/responses/400'
|
|
22819
|
+
'401':
|
|
22820
|
+
$ref: '#/components/responses/401'
|
|
22821
|
+
'403':
|
|
22822
|
+
$ref: '#/components/responses/403'
|
|
22823
|
+
'404':
|
|
22824
|
+
$ref: '#/components/responses/404'
|
|
22825
|
+
'409':
|
|
22826
|
+
$ref: '#/components/responses/409'
|
|
22827
|
+
'503':
|
|
22828
|
+
$ref: '#/components/responses/503'
|
|
22829
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
|
|
22830
|
+
put:
|
|
22831
|
+
summary: putSeaweedFSPolicy
|
|
22832
|
+
operationId: putSeaweedFSPolicy
|
|
22833
|
+
tags:
|
|
22834
|
+
- account
|
|
22835
|
+
- seaweedfs
|
|
22836
|
+
- shared
|
|
22837
|
+
parameters:
|
|
22838
|
+
- in: path
|
|
22839
|
+
name: orgName
|
|
22840
|
+
required: true
|
|
22841
|
+
schema:
|
|
22842
|
+
type: string
|
|
22843
|
+
- in: path
|
|
22844
|
+
name: clusterName
|
|
22845
|
+
required: true
|
|
22846
|
+
schema:
|
|
22847
|
+
type: string
|
|
22848
|
+
- in: path
|
|
22849
|
+
name: policyName
|
|
22850
|
+
required: true
|
|
22851
|
+
schema:
|
|
22852
|
+
type: string
|
|
22853
|
+
responses:
|
|
22854
|
+
'204':
|
|
22855
|
+
description: Successful response
|
|
22856
|
+
'400':
|
|
22857
|
+
$ref: '#/components/responses/400'
|
|
22858
|
+
'401':
|
|
22859
|
+
$ref: '#/components/responses/401'
|
|
22860
|
+
'403':
|
|
22861
|
+
$ref: '#/components/responses/403'
|
|
22862
|
+
'404':
|
|
22863
|
+
$ref: '#/components/responses/404'
|
|
22864
|
+
'409':
|
|
22865
|
+
$ref: '#/components/responses/409'
|
|
22866
|
+
'503':
|
|
22867
|
+
$ref: '#/components/responses/503'
|
|
22868
|
+
requestBody:
|
|
22869
|
+
required: true
|
|
22870
|
+
content:
|
|
22871
|
+
application/json:
|
|
22872
|
+
schema:
|
|
22873
|
+
type: object
|
|
22874
|
+
additionalProperties: true
|
|
22875
|
+
description: Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
22876
|
+
delete:
|
|
22877
|
+
summary: deleteSeaweedFSPolicy
|
|
22878
|
+
operationId: deleteSeaweedFSPolicy
|
|
22879
|
+
tags:
|
|
22880
|
+
- account
|
|
22881
|
+
- seaweedfs
|
|
22882
|
+
- shared
|
|
22883
|
+
parameters:
|
|
22884
|
+
- in: path
|
|
22885
|
+
name: orgName
|
|
22886
|
+
required: true
|
|
22887
|
+
schema:
|
|
22888
|
+
type: string
|
|
22889
|
+
- in: path
|
|
22890
|
+
name: clusterName
|
|
22891
|
+
required: true
|
|
22892
|
+
schema:
|
|
22893
|
+
type: string
|
|
22894
|
+
- in: path
|
|
22895
|
+
name: policyName
|
|
22896
|
+
required: true
|
|
22897
|
+
schema:
|
|
22898
|
+
type: string
|
|
22899
|
+
responses:
|
|
22900
|
+
'204':
|
|
22901
|
+
description: Successful response
|
|
22902
|
+
'400':
|
|
22903
|
+
$ref: '#/components/responses/400'
|
|
22904
|
+
'401':
|
|
22905
|
+
$ref: '#/components/responses/401'
|
|
22906
|
+
'403':
|
|
22907
|
+
$ref: '#/components/responses/403'
|
|
22908
|
+
'404':
|
|
22909
|
+
$ref: '#/components/responses/404'
|
|
22910
|
+
'409':
|
|
22911
|
+
$ref: '#/components/responses/409'
|
|
22912
|
+
'503':
|
|
22913
|
+
$ref: '#/components/responses/503'
|
|
22914
|
+
description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
22915
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
|
|
22916
|
+
put:
|
|
22917
|
+
summary: bindSeaweedFSPolicies
|
|
22918
|
+
operationId: bindSeaweedFSPolicies
|
|
22919
|
+
tags:
|
|
22920
|
+
- account
|
|
22921
|
+
- seaweedfs
|
|
22922
|
+
- shared
|
|
22923
|
+
parameters:
|
|
22924
|
+
- in: path
|
|
22925
|
+
name: orgName
|
|
22926
|
+
required: true
|
|
22927
|
+
schema:
|
|
22928
|
+
type: string
|
|
22929
|
+
- in: path
|
|
22930
|
+
name: clusterName
|
|
22931
|
+
required: true
|
|
22932
|
+
schema:
|
|
22933
|
+
type: string
|
|
22934
|
+
- in: path
|
|
22935
|
+
name: accountName
|
|
22936
|
+
required: true
|
|
22937
|
+
schema:
|
|
22938
|
+
type: string
|
|
22939
|
+
responses:
|
|
22940
|
+
'204':
|
|
22941
|
+
description: Successful response
|
|
22942
|
+
'400':
|
|
22943
|
+
$ref: '#/components/responses/400'
|
|
22944
|
+
'401':
|
|
22945
|
+
$ref: '#/components/responses/401'
|
|
22946
|
+
'403':
|
|
22947
|
+
$ref: '#/components/responses/403'
|
|
22948
|
+
'404':
|
|
22949
|
+
$ref: '#/components/responses/404'
|
|
22950
|
+
'409':
|
|
22951
|
+
$ref: '#/components/responses/409'
|
|
22952
|
+
'503':
|
|
22953
|
+
$ref: '#/components/responses/503'
|
|
22954
|
+
requestBody:
|
|
22955
|
+
required: true
|
|
22956
|
+
content:
|
|
22957
|
+
application/json:
|
|
22958
|
+
schema:
|
|
22959
|
+
type: object
|
|
22960
|
+
required:
|
|
22961
|
+
- policies
|
|
22962
|
+
properties:
|
|
22963
|
+
policies:
|
|
22964
|
+
type: array
|
|
22965
|
+
items:
|
|
22966
|
+
type: string
|
|
22967
|
+
description: Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
22968
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys:
|
|
22969
|
+
post:
|
|
22970
|
+
summary: createSeaweedFSAccessKey
|
|
22971
|
+
operationId: createSeaweedFSAccessKey
|
|
22972
|
+
tags:
|
|
22973
|
+
- account
|
|
22974
|
+
- seaweedfs
|
|
22975
|
+
- shared
|
|
22976
|
+
parameters:
|
|
22977
|
+
- in: path
|
|
22978
|
+
name: orgName
|
|
22979
|
+
required: true
|
|
22980
|
+
schema:
|
|
22981
|
+
type: string
|
|
22982
|
+
- in: path
|
|
22983
|
+
name: clusterName
|
|
22984
|
+
required: true
|
|
22985
|
+
schema:
|
|
22986
|
+
type: string
|
|
22987
|
+
- in: path
|
|
22988
|
+
name: accountName
|
|
22989
|
+
required: true
|
|
22990
|
+
schema:
|
|
22991
|
+
type: string
|
|
22992
|
+
responses:
|
|
22993
|
+
'201':
|
|
22994
|
+
description: Successful response
|
|
22995
|
+
content:
|
|
22996
|
+
application/json:
|
|
22997
|
+
schema:
|
|
22998
|
+
$ref: '#/components/schemas/account'
|
|
22999
|
+
'400':
|
|
23000
|
+
$ref: '#/components/responses/400'
|
|
23001
|
+
'401':
|
|
23002
|
+
$ref: '#/components/responses/401'
|
|
23003
|
+
'403':
|
|
23004
|
+
$ref: '#/components/responses/403'
|
|
23005
|
+
'404':
|
|
23006
|
+
$ref: '#/components/responses/404'
|
|
23007
|
+
'409':
|
|
23008
|
+
$ref: '#/components/responses/409'
|
|
23009
|
+
'503':
|
|
23010
|
+
$ref: '#/components/responses/503'
|
|
23011
|
+
requestBody:
|
|
23012
|
+
required: true
|
|
23013
|
+
content:
|
|
23014
|
+
application/json:
|
|
23015
|
+
schema:
|
|
23016
|
+
$ref: '#/components/schemas/account'
|
|
23017
|
+
description: Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
23018
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}:
|
|
23019
|
+
delete:
|
|
23020
|
+
summary: deleteSeaweedFSAccessKey
|
|
23021
|
+
operationId: deleteSeaweedFSAccessKey
|
|
23022
|
+
tags:
|
|
23023
|
+
- account
|
|
23024
|
+
- seaweedfs
|
|
23025
|
+
- shared
|
|
23026
|
+
parameters:
|
|
23027
|
+
- in: path
|
|
23028
|
+
name: orgName
|
|
23029
|
+
required: true
|
|
23030
|
+
schema:
|
|
23031
|
+
type: string
|
|
23032
|
+
- in: path
|
|
23033
|
+
name: clusterName
|
|
23034
|
+
required: true
|
|
23035
|
+
schema:
|
|
23036
|
+
type: string
|
|
23037
|
+
- in: path
|
|
23038
|
+
name: accountName
|
|
23039
|
+
required: true
|
|
23040
|
+
schema:
|
|
23041
|
+
type: string
|
|
23042
|
+
- in: path
|
|
23043
|
+
name: accessKey
|
|
23044
|
+
required: true
|
|
23045
|
+
schema:
|
|
23046
|
+
type: string
|
|
23047
|
+
responses:
|
|
23048
|
+
'204':
|
|
23049
|
+
description: Successful response
|
|
23050
|
+
'400':
|
|
23051
|
+
$ref: '#/components/responses/400'
|
|
23052
|
+
'401':
|
|
23053
|
+
$ref: '#/components/responses/401'
|
|
23054
|
+
'403':
|
|
23055
|
+
$ref: '#/components/responses/403'
|
|
23056
|
+
'404':
|
|
23057
|
+
$ref: '#/components/responses/404'
|
|
23058
|
+
'409':
|
|
23059
|
+
$ref: '#/components/responses/409'
|
|
23060
|
+
'503':
|
|
23061
|
+
$ref: '#/components/responses/503'
|
|
22041
23062
|
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
22042
23063
|
get:
|
|
22043
23064
|
description: list accounts in cluster
|
|
@@ -27324,6 +28345,160 @@ components:
|
|
|
27324
28345
|
curl --digest -u "accessKey:secretKey" https://api.example.com/admin/v1/user
|
|
27325
28346
|
```
|
|
27326
28347
|
schemas:
|
|
28348
|
+
clusterJarConfig:
|
|
28349
|
+
type: object
|
|
28350
|
+
properties:
|
|
28351
|
+
supported:
|
|
28352
|
+
type: boolean
|
|
28353
|
+
reason:
|
|
28354
|
+
type: string
|
|
28355
|
+
generation:
|
|
28356
|
+
type: integer
|
|
28357
|
+
format: int64
|
|
28358
|
+
maxFileBytes:
|
|
28359
|
+
type: integer
|
|
28360
|
+
format: int64
|
|
28361
|
+
maxTotalBytes:
|
|
28362
|
+
type: integer
|
|
28363
|
+
format: int64
|
|
28364
|
+
usedBytes:
|
|
28365
|
+
type: integer
|
|
28366
|
+
format: int64
|
|
28367
|
+
taskId:
|
|
28368
|
+
type: string
|
|
28369
|
+
required:
|
|
28370
|
+
- supported
|
|
28371
|
+
- generation
|
|
28372
|
+
- maxFileBytes
|
|
28373
|
+
- maxTotalBytes
|
|
28374
|
+
- usedBytes
|
|
28375
|
+
APIErrorResponse:
|
|
28376
|
+
description: API error response.
|
|
28377
|
+
properties:
|
|
28378
|
+
code:
|
|
28379
|
+
description: The HTTP status code.
|
|
28380
|
+
type: integer
|
|
28381
|
+
reason:
|
|
28382
|
+
description: The reason for the error.
|
|
28383
|
+
type: string
|
|
28384
|
+
message:
|
|
28385
|
+
description: The message for the error.
|
|
28386
|
+
type: string
|
|
28387
|
+
required:
|
|
28388
|
+
- code
|
|
28389
|
+
type: object
|
|
28390
|
+
clusterJarKind:
|
|
28391
|
+
type: string
|
|
28392
|
+
enum:
|
|
28393
|
+
- udf
|
|
28394
|
+
- jdbc
|
|
28395
|
+
clusterJarReplica:
|
|
28396
|
+
type: object
|
|
28397
|
+
properties:
|
|
28398
|
+
component:
|
|
28399
|
+
type: string
|
|
28400
|
+
podName:
|
|
28401
|
+
type: string
|
|
28402
|
+
podUID:
|
|
28403
|
+
type: string
|
|
28404
|
+
status:
|
|
28405
|
+
type: string
|
|
28406
|
+
error:
|
|
28407
|
+
type: string
|
|
28408
|
+
generation:
|
|
28409
|
+
type: integer
|
|
28410
|
+
format: int64
|
|
28411
|
+
updatedAt:
|
|
28412
|
+
type: string
|
|
28413
|
+
format: date-time
|
|
28414
|
+
required:
|
|
28415
|
+
- component
|
|
28416
|
+
- podName
|
|
28417
|
+
- podUID
|
|
28418
|
+
- status
|
|
28419
|
+
- generation
|
|
28420
|
+
clusterJarPackage:
|
|
28421
|
+
type: object
|
|
28422
|
+
properties:
|
|
28423
|
+
id:
|
|
28424
|
+
type: string
|
|
28425
|
+
name:
|
|
28426
|
+
type: string
|
|
28427
|
+
kind:
|
|
28428
|
+
$ref: '#/components/schemas/clusterJarKind'
|
|
28429
|
+
filename:
|
|
28430
|
+
type: string
|
|
28431
|
+
sha256:
|
|
28432
|
+
type: string
|
|
28433
|
+
size:
|
|
28434
|
+
type: integer
|
|
28435
|
+
format: int64
|
|
28436
|
+
uri:
|
|
28437
|
+
type: string
|
|
28438
|
+
published:
|
|
28439
|
+
type: boolean
|
|
28440
|
+
archived:
|
|
28441
|
+
type: boolean
|
|
28442
|
+
status:
|
|
28443
|
+
type: string
|
|
28444
|
+
synced:
|
|
28445
|
+
type: integer
|
|
28446
|
+
format: int64
|
|
28447
|
+
total:
|
|
28448
|
+
type: integer
|
|
28449
|
+
format: int64
|
|
28450
|
+
createdBy:
|
|
28451
|
+
type: string
|
|
28452
|
+
createdAt:
|
|
28453
|
+
type: string
|
|
28454
|
+
format: date-time
|
|
28455
|
+
instances:
|
|
28456
|
+
type: array
|
|
28457
|
+
items:
|
|
28458
|
+
$ref: '#/components/schemas/clusterJarReplica'
|
|
28459
|
+
required:
|
|
28460
|
+
- id
|
|
28461
|
+
- name
|
|
28462
|
+
- kind
|
|
28463
|
+
- filename
|
|
28464
|
+
- sha256
|
|
28465
|
+
- size
|
|
28466
|
+
- uri
|
|
28467
|
+
- published
|
|
28468
|
+
- archived
|
|
28469
|
+
- status
|
|
28470
|
+
- synced
|
|
28471
|
+
- total
|
|
28472
|
+
- createdBy
|
|
28473
|
+
- createdAt
|
|
28474
|
+
- instances
|
|
28475
|
+
clusterJarList:
|
|
28476
|
+
type: object
|
|
28477
|
+
properties:
|
|
28478
|
+
items:
|
|
28479
|
+
type: array
|
|
28480
|
+
items:
|
|
28481
|
+
$ref: '#/components/schemas/clusterJarPackage'
|
|
28482
|
+
generation:
|
|
28483
|
+
type: integer
|
|
28484
|
+
format: int64
|
|
28485
|
+
required:
|
|
28486
|
+
- items
|
|
28487
|
+
- generation
|
|
28488
|
+
clusterJarPublish:
|
|
28489
|
+
type: object
|
|
28490
|
+
properties:
|
|
28491
|
+
generation:
|
|
28492
|
+
type: integer
|
|
28493
|
+
format: int64
|
|
28494
|
+
minimum: 0
|
|
28495
|
+
required:
|
|
28496
|
+
- generation
|
|
28497
|
+
clusterJarTask:
|
|
28498
|
+
type: object
|
|
28499
|
+
properties:
|
|
28500
|
+
taskId:
|
|
28501
|
+
type: string
|
|
27327
28502
|
phoneNumber:
|
|
27328
28503
|
description: The phonenumber for the user.
|
|
27329
28504
|
example: '+8618912345678'
|
|
@@ -27364,21 +28539,6 @@ components:
|
|
|
27364
28539
|
- userName
|
|
27365
28540
|
- createdAt
|
|
27366
28541
|
- updatedAt
|
|
27367
|
-
APIErrorResponse:
|
|
27368
|
-
description: API error response.
|
|
27369
|
-
properties:
|
|
27370
|
-
code:
|
|
27371
|
-
description: The HTTP status code.
|
|
27372
|
-
type: integer
|
|
27373
|
-
reason:
|
|
27374
|
-
description: The reason for the error.
|
|
27375
|
-
type: string
|
|
27376
|
-
message:
|
|
27377
|
-
description: The message for the error.
|
|
27378
|
-
type: string
|
|
27379
|
-
required:
|
|
27380
|
-
- code
|
|
27381
|
-
type: object
|
|
27382
28542
|
userUpdate:
|
|
27383
28543
|
description: User update
|
|
27384
28544
|
properties:
|
|
@@ -34622,6 +35782,11 @@ components:
|
|
|
34622
35782
|
required:
|
|
34623
35783
|
- serviceName
|
|
34624
35784
|
- serviceNamespace
|
|
35785
|
+
jsonBody:
|
|
35786
|
+
description: Represents a JSON body.
|
|
35787
|
+
properties: {}
|
|
35788
|
+
additionalProperties: true
|
|
35789
|
+
type: object
|
|
34625
35790
|
logBackendType:
|
|
34626
35791
|
type: string
|
|
34627
35792
|
description: Log query backend configured for this environment.
|
|
@@ -35657,11 +36822,6 @@ components:
|
|
|
35657
36822
|
- items
|
|
35658
36823
|
- updatedAt
|
|
35659
36824
|
type: object
|
|
35660
|
-
jsonBody:
|
|
35661
|
-
description: Represents a JSON body.
|
|
35662
|
-
properties: {}
|
|
35663
|
-
additionalProperties: true
|
|
35664
|
-
type: object
|
|
35665
36825
|
instanceResourceStatsType:
|
|
35666
36826
|
description: Type of the instance, choose cluster, system, or other
|
|
35667
36827
|
enum:
|
|
@@ -40241,7 +41401,13 @@ components:
|
|
|
40241
41401
|
modifierEmail:
|
|
40242
41402
|
type: string
|
|
40243
41403
|
option:
|
|
40244
|
-
|
|
41404
|
+
description: |
|
|
41405
|
+
Engine option document stored when this history row was written.
|
|
41406
|
+
This is a point-in-time snapshot, not the current engineOption
|
|
41407
|
+
create/update contract. Nested fields such as endpoints.protocol
|
|
41408
|
+
may be absent on older rows.
|
|
41409
|
+
type: object
|
|
41410
|
+
additionalProperties: true
|
|
40245
41411
|
createdAt:
|
|
40246
41412
|
type: string
|
|
40247
41413
|
format: date-time
|
|
@@ -48951,6 +50117,12 @@ components:
|
|
|
48951
50117
|
schema:
|
|
48952
50118
|
$ref: '#/components/schemas/APIErrorResponse'
|
|
48953
50119
|
description: Conflict
|
|
50120
|
+
'413':
|
|
50121
|
+
content:
|
|
50122
|
+
application/json:
|
|
50123
|
+
schema:
|
|
50124
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
|
50125
|
+
description: Payload Too Large
|
|
48954
50126
|
'429':
|
|
48955
50127
|
content:
|
|
48956
50128
|
application/json:
|