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/openapi.yaml
CHANGED
|
@@ -114,6 +114,402 @@ tags:
|
|
|
114
114
|
- name: blueGreenDeployment
|
|
115
115
|
description: Blue Green Deployment APIs
|
|
116
116
|
paths:
|
|
117
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config:
|
|
118
|
+
get:
|
|
119
|
+
operationId: getClusterJarConfig
|
|
120
|
+
summary: Get external JAR capability and configuration
|
|
121
|
+
tags:
|
|
122
|
+
- clusterJar
|
|
123
|
+
- shared
|
|
124
|
+
parameters:
|
|
125
|
+
- name: engineName
|
|
126
|
+
in: path
|
|
127
|
+
required: true
|
|
128
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
129
|
+
schema:
|
|
130
|
+
type: string
|
|
131
|
+
- name: orgName
|
|
132
|
+
in: path
|
|
133
|
+
required: true
|
|
134
|
+
schema:
|
|
135
|
+
type: string
|
|
136
|
+
- name: clusterName
|
|
137
|
+
in: path
|
|
138
|
+
required: true
|
|
139
|
+
schema:
|
|
140
|
+
type: string
|
|
141
|
+
responses:
|
|
142
|
+
'200':
|
|
143
|
+
description: Success
|
|
144
|
+
content:
|
|
145
|
+
application/json:
|
|
146
|
+
schema:
|
|
147
|
+
$ref: '#/components/schemas/clusterJarConfig'
|
|
148
|
+
'400':
|
|
149
|
+
$ref: '#/components/responses/400'
|
|
150
|
+
'401':
|
|
151
|
+
$ref: '#/components/responses/401'
|
|
152
|
+
'403':
|
|
153
|
+
$ref: '#/components/responses/403'
|
|
154
|
+
'404':
|
|
155
|
+
$ref: '#/components/responses/404'
|
|
156
|
+
'409':
|
|
157
|
+
$ref: '#/components/responses/409'
|
|
158
|
+
'500':
|
|
159
|
+
$ref: '#/components/responses/500'
|
|
160
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars:
|
|
161
|
+
get:
|
|
162
|
+
operationId: listClusterJars
|
|
163
|
+
summary: List external JAR versions with metadata and per-instance synchronization state
|
|
164
|
+
tags:
|
|
165
|
+
- clusterJar
|
|
166
|
+
- shared
|
|
167
|
+
parameters:
|
|
168
|
+
- name: engineName
|
|
169
|
+
in: path
|
|
170
|
+
required: true
|
|
171
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
172
|
+
schema:
|
|
173
|
+
type: string
|
|
174
|
+
- name: orgName
|
|
175
|
+
in: path
|
|
176
|
+
required: true
|
|
177
|
+
schema:
|
|
178
|
+
type: string
|
|
179
|
+
- name: clusterName
|
|
180
|
+
in: path
|
|
181
|
+
required: true
|
|
182
|
+
schema:
|
|
183
|
+
type: string
|
|
184
|
+
responses:
|
|
185
|
+
'200':
|
|
186
|
+
description: Success
|
|
187
|
+
content:
|
|
188
|
+
application/json:
|
|
189
|
+
schema:
|
|
190
|
+
$ref: '#/components/schemas/clusterJarList'
|
|
191
|
+
'400':
|
|
192
|
+
$ref: '#/components/responses/400'
|
|
193
|
+
'401':
|
|
194
|
+
$ref: '#/components/responses/401'
|
|
195
|
+
'403':
|
|
196
|
+
$ref: '#/components/responses/403'
|
|
197
|
+
'404':
|
|
198
|
+
$ref: '#/components/responses/404'
|
|
199
|
+
'409':
|
|
200
|
+
$ref: '#/components/responses/409'
|
|
201
|
+
'500':
|
|
202
|
+
$ref: '#/components/responses/500'
|
|
203
|
+
post:
|
|
204
|
+
operationId: uploadClusterJar
|
|
205
|
+
summary: Upload an immutable JAR version
|
|
206
|
+
tags:
|
|
207
|
+
- clusterJar
|
|
208
|
+
- shared
|
|
209
|
+
parameters:
|
|
210
|
+
- name: engineName
|
|
211
|
+
in: path
|
|
212
|
+
required: true
|
|
213
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
214
|
+
schema:
|
|
215
|
+
type: string
|
|
216
|
+
- name: orgName
|
|
217
|
+
in: path
|
|
218
|
+
required: true
|
|
219
|
+
schema:
|
|
220
|
+
type: string
|
|
221
|
+
- name: clusterName
|
|
222
|
+
in: path
|
|
223
|
+
required: true
|
|
224
|
+
schema:
|
|
225
|
+
type: string
|
|
226
|
+
- name: Idempotency-Key
|
|
227
|
+
in: header
|
|
228
|
+
required: true
|
|
229
|
+
schema:
|
|
230
|
+
type: string
|
|
231
|
+
minLength: 1
|
|
232
|
+
maxLength: 128
|
|
233
|
+
responses:
|
|
234
|
+
'201':
|
|
235
|
+
description: Success
|
|
236
|
+
content:
|
|
237
|
+
application/json:
|
|
238
|
+
schema:
|
|
239
|
+
$ref: '#/components/schemas/clusterJarPackage'
|
|
240
|
+
'400':
|
|
241
|
+
$ref: '#/components/responses/400'
|
|
242
|
+
'401':
|
|
243
|
+
$ref: '#/components/responses/401'
|
|
244
|
+
'403':
|
|
245
|
+
$ref: '#/components/responses/403'
|
|
246
|
+
'404':
|
|
247
|
+
$ref: '#/components/responses/404'
|
|
248
|
+
'409':
|
|
249
|
+
$ref: '#/components/responses/409'
|
|
250
|
+
'413':
|
|
251
|
+
$ref: '#/components/responses/413'
|
|
252
|
+
'500':
|
|
253
|
+
$ref: '#/components/responses/500'
|
|
254
|
+
requestBody:
|
|
255
|
+
required: true
|
|
256
|
+
content:
|
|
257
|
+
multipart/form-data:
|
|
258
|
+
schema:
|
|
259
|
+
type: object
|
|
260
|
+
properties:
|
|
261
|
+
name:
|
|
262
|
+
type: string
|
|
263
|
+
minLength: 1
|
|
264
|
+
maxLength: 128
|
|
265
|
+
kind:
|
|
266
|
+
$ref: '#/components/schemas/clusterJarKind'
|
|
267
|
+
file:
|
|
268
|
+
type: string
|
|
269
|
+
format: binary
|
|
270
|
+
required:
|
|
271
|
+
- name
|
|
272
|
+
- kind
|
|
273
|
+
- file
|
|
274
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}:
|
|
275
|
+
delete:
|
|
276
|
+
operationId: deleteClusterJar
|
|
277
|
+
summary: Delete an unpublished JAR version
|
|
278
|
+
tags:
|
|
279
|
+
- clusterJar
|
|
280
|
+
- shared
|
|
281
|
+
parameters:
|
|
282
|
+
- name: engineName
|
|
283
|
+
in: path
|
|
284
|
+
required: true
|
|
285
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
286
|
+
schema:
|
|
287
|
+
type: string
|
|
288
|
+
- name: orgName
|
|
289
|
+
in: path
|
|
290
|
+
required: true
|
|
291
|
+
schema:
|
|
292
|
+
type: string
|
|
293
|
+
- name: clusterName
|
|
294
|
+
in: path
|
|
295
|
+
required: true
|
|
296
|
+
schema:
|
|
297
|
+
type: string
|
|
298
|
+
- name: jarId
|
|
299
|
+
in: path
|
|
300
|
+
required: true
|
|
301
|
+
schema:
|
|
302
|
+
type: string
|
|
303
|
+
responses:
|
|
304
|
+
'204':
|
|
305
|
+
description: Success
|
|
306
|
+
'400':
|
|
307
|
+
$ref: '#/components/responses/400'
|
|
308
|
+
'401':
|
|
309
|
+
$ref: '#/components/responses/401'
|
|
310
|
+
'403':
|
|
311
|
+
$ref: '#/components/responses/403'
|
|
312
|
+
'404':
|
|
313
|
+
$ref: '#/components/responses/404'
|
|
314
|
+
'409':
|
|
315
|
+
$ref: '#/components/responses/409'
|
|
316
|
+
'500':
|
|
317
|
+
$ref: '#/components/responses/500'
|
|
318
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download:
|
|
319
|
+
get:
|
|
320
|
+
operationId: downloadClusterJar
|
|
321
|
+
summary: Download the original JAR
|
|
322
|
+
tags:
|
|
323
|
+
- clusterJar
|
|
324
|
+
- shared
|
|
325
|
+
parameters:
|
|
326
|
+
- name: engineName
|
|
327
|
+
in: path
|
|
328
|
+
required: true
|
|
329
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
330
|
+
schema:
|
|
331
|
+
type: string
|
|
332
|
+
- name: orgName
|
|
333
|
+
in: path
|
|
334
|
+
required: true
|
|
335
|
+
schema:
|
|
336
|
+
type: string
|
|
337
|
+
- name: clusterName
|
|
338
|
+
in: path
|
|
339
|
+
required: true
|
|
340
|
+
schema:
|
|
341
|
+
type: string
|
|
342
|
+
- name: jarId
|
|
343
|
+
in: path
|
|
344
|
+
required: true
|
|
345
|
+
schema:
|
|
346
|
+
type: string
|
|
347
|
+
responses:
|
|
348
|
+
'200':
|
|
349
|
+
description: Success
|
|
350
|
+
content:
|
|
351
|
+
application/java-archive:
|
|
352
|
+
schema:
|
|
353
|
+
type: string
|
|
354
|
+
format: binary
|
|
355
|
+
'400':
|
|
356
|
+
$ref: '#/components/responses/400'
|
|
357
|
+
'401':
|
|
358
|
+
$ref: '#/components/responses/401'
|
|
359
|
+
'403':
|
|
360
|
+
$ref: '#/components/responses/403'
|
|
361
|
+
'404':
|
|
362
|
+
$ref: '#/components/responses/404'
|
|
363
|
+
'409':
|
|
364
|
+
$ref: '#/components/responses/409'
|
|
365
|
+
'500':
|
|
366
|
+
$ref: '#/components/responses/500'
|
|
367
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute:
|
|
368
|
+
post:
|
|
369
|
+
operationId: distributeClusterJar
|
|
370
|
+
summary: Publish a JAR with optimistic manifest version checking
|
|
371
|
+
tags:
|
|
372
|
+
- clusterJar
|
|
373
|
+
- shared
|
|
374
|
+
parameters:
|
|
375
|
+
- name: engineName
|
|
376
|
+
in: path
|
|
377
|
+
required: true
|
|
378
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
379
|
+
schema:
|
|
380
|
+
type: string
|
|
381
|
+
- name: orgName
|
|
382
|
+
in: path
|
|
383
|
+
required: true
|
|
384
|
+
schema:
|
|
385
|
+
type: string
|
|
386
|
+
- name: clusterName
|
|
387
|
+
in: path
|
|
388
|
+
required: true
|
|
389
|
+
schema:
|
|
390
|
+
type: string
|
|
391
|
+
- name: jarId
|
|
392
|
+
in: path
|
|
393
|
+
required: true
|
|
394
|
+
schema:
|
|
395
|
+
type: string
|
|
396
|
+
responses:
|
|
397
|
+
'202':
|
|
398
|
+
description: Success
|
|
399
|
+
content:
|
|
400
|
+
application/json:
|
|
401
|
+
schema:
|
|
402
|
+
$ref: '#/components/schemas/clusterJarTask'
|
|
403
|
+
'400':
|
|
404
|
+
$ref: '#/components/responses/400'
|
|
405
|
+
'401':
|
|
406
|
+
$ref: '#/components/responses/401'
|
|
407
|
+
'403':
|
|
408
|
+
$ref: '#/components/responses/403'
|
|
409
|
+
'404':
|
|
410
|
+
$ref: '#/components/responses/404'
|
|
411
|
+
'409':
|
|
412
|
+
$ref: '#/components/responses/409'
|
|
413
|
+
'500':
|
|
414
|
+
$ref: '#/components/responses/500'
|
|
415
|
+
requestBody:
|
|
416
|
+
required: true
|
|
417
|
+
content:
|
|
418
|
+
application/json:
|
|
419
|
+
schema:
|
|
420
|
+
$ref: '#/components/schemas/clusterJarPublish'
|
|
421
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry:
|
|
422
|
+
post:
|
|
423
|
+
operationId: retryClusterJar
|
|
424
|
+
summary: Retry synchronization of published JARs
|
|
425
|
+
tags:
|
|
426
|
+
- clusterJar
|
|
427
|
+
- shared
|
|
428
|
+
parameters:
|
|
429
|
+
- name: engineName
|
|
430
|
+
in: path
|
|
431
|
+
required: true
|
|
432
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
433
|
+
schema:
|
|
434
|
+
type: string
|
|
435
|
+
- name: orgName
|
|
436
|
+
in: path
|
|
437
|
+
required: true
|
|
438
|
+
schema:
|
|
439
|
+
type: string
|
|
440
|
+
- name: clusterName
|
|
441
|
+
in: path
|
|
442
|
+
required: true
|
|
443
|
+
schema:
|
|
444
|
+
type: string
|
|
445
|
+
- name: jarId
|
|
446
|
+
in: path
|
|
447
|
+
required: true
|
|
448
|
+
schema:
|
|
449
|
+
type: string
|
|
450
|
+
responses:
|
|
451
|
+
'202':
|
|
452
|
+
description: Success
|
|
453
|
+
content:
|
|
454
|
+
application/json:
|
|
455
|
+
schema:
|
|
456
|
+
$ref: '#/components/schemas/clusterJarTask'
|
|
457
|
+
'400':
|
|
458
|
+
$ref: '#/components/responses/400'
|
|
459
|
+
'401':
|
|
460
|
+
$ref: '#/components/responses/401'
|
|
461
|
+
'403':
|
|
462
|
+
$ref: '#/components/responses/403'
|
|
463
|
+
'404':
|
|
464
|
+
$ref: '#/components/responses/404'
|
|
465
|
+
'409':
|
|
466
|
+
$ref: '#/components/responses/409'
|
|
467
|
+
'500':
|
|
468
|
+
$ref: '#/components/responses/500'
|
|
469
|
+
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive:
|
|
470
|
+
post:
|
|
471
|
+
operationId: archiveClusterJar
|
|
472
|
+
summary: Archive a JAR while retaining published files and startup synchronization
|
|
473
|
+
tags:
|
|
474
|
+
- clusterJar
|
|
475
|
+
- shared
|
|
476
|
+
parameters:
|
|
477
|
+
- name: engineName
|
|
478
|
+
in: path
|
|
479
|
+
required: true
|
|
480
|
+
description: Doris or SelectDB engine of the target cluster.
|
|
481
|
+
schema:
|
|
482
|
+
type: string
|
|
483
|
+
- name: orgName
|
|
484
|
+
in: path
|
|
485
|
+
required: true
|
|
486
|
+
schema:
|
|
487
|
+
type: string
|
|
488
|
+
- name: clusterName
|
|
489
|
+
in: path
|
|
490
|
+
required: true
|
|
491
|
+
schema:
|
|
492
|
+
type: string
|
|
493
|
+
- name: jarId
|
|
494
|
+
in: path
|
|
495
|
+
required: true
|
|
496
|
+
schema:
|
|
497
|
+
type: string
|
|
498
|
+
responses:
|
|
499
|
+
'204':
|
|
500
|
+
description: Success
|
|
501
|
+
'400':
|
|
502
|
+
$ref: '#/components/responses/400'
|
|
503
|
+
'401':
|
|
504
|
+
$ref: '#/components/responses/401'
|
|
505
|
+
'403':
|
|
506
|
+
$ref: '#/components/responses/403'
|
|
507
|
+
'404':
|
|
508
|
+
$ref: '#/components/responses/404'
|
|
509
|
+
'409':
|
|
510
|
+
$ref: '#/components/responses/409'
|
|
511
|
+
'500':
|
|
512
|
+
$ref: '#/components/responses/500'
|
|
117
513
|
/api/v1/user:
|
|
118
514
|
get:
|
|
119
515
|
description: Get authenticated login user info
|
|
@@ -17769,6 +18165,568 @@ paths:
|
|
|
17769
18165
|
- database
|
|
17770
18166
|
- rdbms
|
|
17771
18167
|
- shared
|
|
18168
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
18169
|
+
get:
|
|
18170
|
+
description: Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
18171
|
+
summary: listSeaweedFSAccounts
|
|
18172
|
+
operationId: listSeaweedFSAccounts
|
|
18173
|
+
parameters:
|
|
18174
|
+
- description: name of the organization
|
|
18175
|
+
in: path
|
|
18176
|
+
name: orgName
|
|
18177
|
+
required: true
|
|
18178
|
+
schema:
|
|
18179
|
+
type: string
|
|
18180
|
+
- description: name of the cluster
|
|
18181
|
+
in: path
|
|
18182
|
+
name: clusterName
|
|
18183
|
+
required: true
|
|
18184
|
+
schema:
|
|
18185
|
+
type: string
|
|
18186
|
+
responses:
|
|
18187
|
+
'200':
|
|
18188
|
+
content:
|
|
18189
|
+
application/json:
|
|
18190
|
+
schema:
|
|
18191
|
+
$ref: '#/components/schemas/accountList'
|
|
18192
|
+
description: Success
|
|
18193
|
+
'400':
|
|
18194
|
+
$ref: '#/components/responses/400'
|
|
18195
|
+
'401':
|
|
18196
|
+
$ref: '#/components/responses/401'
|
|
18197
|
+
'403':
|
|
18198
|
+
$ref: '#/components/responses/403'
|
|
18199
|
+
'404':
|
|
18200
|
+
$ref: '#/components/responses/404'
|
|
18201
|
+
'409':
|
|
18202
|
+
$ref: '#/components/responses/409'
|
|
18203
|
+
'503':
|
|
18204
|
+
$ref: '#/components/responses/503'
|
|
18205
|
+
tags:
|
|
18206
|
+
- account
|
|
18207
|
+
- seaweedfs
|
|
18208
|
+
- shared
|
|
18209
|
+
x-codegen-request-body-name: body
|
|
18210
|
+
post:
|
|
18211
|
+
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.
|
|
18212
|
+
summary: createSeaweedFSAccount
|
|
18213
|
+
operationId: createSeaweedFSAccount
|
|
18214
|
+
parameters:
|
|
18215
|
+
- description: name of the organization
|
|
18216
|
+
in: path
|
|
18217
|
+
name: orgName
|
|
18218
|
+
required: true
|
|
18219
|
+
schema:
|
|
18220
|
+
type: string
|
|
18221
|
+
- description: name of the cluster
|
|
18222
|
+
in: path
|
|
18223
|
+
name: clusterName
|
|
18224
|
+
required: true
|
|
18225
|
+
schema:
|
|
18226
|
+
type: string
|
|
18227
|
+
requestBody:
|
|
18228
|
+
content:
|
|
18229
|
+
application/json:
|
|
18230
|
+
schema:
|
|
18231
|
+
$ref: '#/components/schemas/account'
|
|
18232
|
+
required: true
|
|
18233
|
+
responses:
|
|
18234
|
+
'201':
|
|
18235
|
+
description: Identity and initial credential created
|
|
18236
|
+
content:
|
|
18237
|
+
application/json:
|
|
18238
|
+
schema:
|
|
18239
|
+
$ref: '#/components/schemas/account'
|
|
18240
|
+
'400':
|
|
18241
|
+
$ref: '#/components/responses/400'
|
|
18242
|
+
'401':
|
|
18243
|
+
$ref: '#/components/responses/401'
|
|
18244
|
+
'403':
|
|
18245
|
+
$ref: '#/components/responses/403'
|
|
18246
|
+
'404':
|
|
18247
|
+
$ref: '#/components/responses/404'
|
|
18248
|
+
'409':
|
|
18249
|
+
$ref: '#/components/responses/409'
|
|
18250
|
+
'503':
|
|
18251
|
+
$ref: '#/components/responses/503'
|
|
18252
|
+
tags:
|
|
18253
|
+
- account
|
|
18254
|
+
- seaweedfs
|
|
18255
|
+
- shared
|
|
18256
|
+
x-codegen-request-body-name: body
|
|
18257
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
18258
|
+
delete:
|
|
18259
|
+
description: delete an account in cluster
|
|
18260
|
+
summary: deleteSeaweedFSAccount
|
|
18261
|
+
operationId: deleteSeaweedFSAccount
|
|
18262
|
+
parameters:
|
|
18263
|
+
- description: name of the organization
|
|
18264
|
+
in: path
|
|
18265
|
+
name: orgName
|
|
18266
|
+
required: true
|
|
18267
|
+
schema:
|
|
18268
|
+
type: string
|
|
18269
|
+
- description: name of the cluster
|
|
18270
|
+
in: path
|
|
18271
|
+
name: clusterName
|
|
18272
|
+
required: true
|
|
18273
|
+
schema:
|
|
18274
|
+
type: string
|
|
18275
|
+
- description: name of the account
|
|
18276
|
+
in: path
|
|
18277
|
+
name: accountName
|
|
18278
|
+
required: true
|
|
18279
|
+
schema:
|
|
18280
|
+
type: string
|
|
18281
|
+
responses:
|
|
18282
|
+
'204':
|
|
18283
|
+
content: {}
|
|
18284
|
+
description: Identity deleted
|
|
18285
|
+
'400':
|
|
18286
|
+
$ref: '#/components/responses/400'
|
|
18287
|
+
'401':
|
|
18288
|
+
$ref: '#/components/responses/401'
|
|
18289
|
+
'403':
|
|
18290
|
+
$ref: '#/components/responses/403'
|
|
18291
|
+
'404':
|
|
18292
|
+
$ref: '#/components/responses/404'
|
|
18293
|
+
'409':
|
|
18294
|
+
$ref: '#/components/responses/409'
|
|
18295
|
+
'503':
|
|
18296
|
+
$ref: '#/components/responses/503'
|
|
18297
|
+
tags:
|
|
18298
|
+
- account
|
|
18299
|
+
- seaweedfs
|
|
18300
|
+
- shared
|
|
18301
|
+
patch:
|
|
18302
|
+
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.
|
|
18303
|
+
summary: updateSeaweedFSAccount
|
|
18304
|
+
operationId: updateSeaweedFSAccount
|
|
18305
|
+
parameters:
|
|
18306
|
+
- description: name of the organization
|
|
18307
|
+
in: path
|
|
18308
|
+
name: orgName
|
|
18309
|
+
required: true
|
|
18310
|
+
schema:
|
|
18311
|
+
type: string
|
|
18312
|
+
- description: name of the cluster
|
|
18313
|
+
in: path
|
|
18314
|
+
name: clusterName
|
|
18315
|
+
required: true
|
|
18316
|
+
schema:
|
|
18317
|
+
type: string
|
|
18318
|
+
- description: name of the account
|
|
18319
|
+
in: path
|
|
18320
|
+
name: accountName
|
|
18321
|
+
required: true
|
|
18322
|
+
schema:
|
|
18323
|
+
type: string
|
|
18324
|
+
requestBody:
|
|
18325
|
+
content:
|
|
18326
|
+
application/json:
|
|
18327
|
+
schema:
|
|
18328
|
+
$ref: '#/components/schemas/account'
|
|
18329
|
+
required: true
|
|
18330
|
+
responses:
|
|
18331
|
+
'200':
|
|
18332
|
+
description: Selected credential updated
|
|
18333
|
+
content:
|
|
18334
|
+
application/json:
|
|
18335
|
+
schema:
|
|
18336
|
+
$ref: '#/components/schemas/account'
|
|
18337
|
+
'400':
|
|
18338
|
+
$ref: '#/components/responses/400'
|
|
18339
|
+
'401':
|
|
18340
|
+
$ref: '#/components/responses/401'
|
|
18341
|
+
'403':
|
|
18342
|
+
$ref: '#/components/responses/403'
|
|
18343
|
+
'404':
|
|
18344
|
+
$ref: '#/components/responses/404'
|
|
18345
|
+
'409':
|
|
18346
|
+
$ref: '#/components/responses/409'
|
|
18347
|
+
'503':
|
|
18348
|
+
$ref: '#/components/responses/503'
|
|
18349
|
+
tags:
|
|
18350
|
+
- account
|
|
18351
|
+
- seaweedfs
|
|
18352
|
+
- shared
|
|
18353
|
+
x-codegen-request-body-name: body
|
|
18354
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password:
|
|
18355
|
+
get:
|
|
18356
|
+
description: get root account password
|
|
18357
|
+
summary: getRootSeaweedFSAccountPassword
|
|
18358
|
+
operationId: getRootSeaweedFSAccountPassword
|
|
18359
|
+
parameters:
|
|
18360
|
+
- description: name of the Org
|
|
18361
|
+
in: path
|
|
18362
|
+
name: orgName
|
|
18363
|
+
required: true
|
|
18364
|
+
schema:
|
|
18365
|
+
type: string
|
|
18366
|
+
- description: name of the Cluster
|
|
18367
|
+
in: path
|
|
18368
|
+
name: clusterName
|
|
18369
|
+
required: true
|
|
18370
|
+
schema:
|
|
18371
|
+
type: string
|
|
18372
|
+
- description: name of the account
|
|
18373
|
+
in: query
|
|
18374
|
+
name: accountName
|
|
18375
|
+
required: true
|
|
18376
|
+
schema:
|
|
18377
|
+
type: string
|
|
18378
|
+
- description: name of the component
|
|
18379
|
+
in: query
|
|
18380
|
+
name: component
|
|
18381
|
+
required: false
|
|
18382
|
+
schema:
|
|
18383
|
+
type: string
|
|
18384
|
+
responses:
|
|
18385
|
+
'200':
|
|
18386
|
+
description: get root account password success
|
|
18387
|
+
content:
|
|
18388
|
+
application/json:
|
|
18389
|
+
schema:
|
|
18390
|
+
type: string
|
|
18391
|
+
'401':
|
|
18392
|
+
$ref: '#/components/responses/401'
|
|
18393
|
+
'403':
|
|
18394
|
+
$ref: '#/components/responses/403'
|
|
18395
|
+
'404':
|
|
18396
|
+
$ref: '#/components/responses/404'
|
|
18397
|
+
'409':
|
|
18398
|
+
$ref: '#/components/responses/409'
|
|
18399
|
+
'500':
|
|
18400
|
+
$ref: '#/components/responses/500'
|
|
18401
|
+
tags:
|
|
18402
|
+
- account
|
|
18403
|
+
- seaweedfs
|
|
18404
|
+
- shared
|
|
18405
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges:
|
|
18406
|
+
patch:
|
|
18407
|
+
description: Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
18408
|
+
summary: updateSeaweedFSAccountPrivileges
|
|
18409
|
+
operationId: updateSeaweedFSAccountPrivileges
|
|
18410
|
+
parameters:
|
|
18411
|
+
- description: name of the Org
|
|
18412
|
+
in: path
|
|
18413
|
+
name: orgName
|
|
18414
|
+
required: true
|
|
18415
|
+
schema:
|
|
18416
|
+
type: string
|
|
18417
|
+
- description: name of the Cluster
|
|
18418
|
+
in: path
|
|
18419
|
+
name: clusterName
|
|
18420
|
+
required: true
|
|
18421
|
+
schema:
|
|
18422
|
+
type: string
|
|
18423
|
+
- description: name of the account
|
|
18424
|
+
in: path
|
|
18425
|
+
name: accountName
|
|
18426
|
+
required: true
|
|
18427
|
+
schema:
|
|
18428
|
+
type: string
|
|
18429
|
+
requestBody:
|
|
18430
|
+
content:
|
|
18431
|
+
application/json:
|
|
18432
|
+
schema:
|
|
18433
|
+
$ref: '#/components/schemas/privilegeList'
|
|
18434
|
+
required: true
|
|
18435
|
+
responses:
|
|
18436
|
+
'400':
|
|
18437
|
+
$ref: '#/components/responses/400'
|
|
18438
|
+
tags:
|
|
18439
|
+
- account
|
|
18440
|
+
- seaweedfs
|
|
18441
|
+
- shared
|
|
18442
|
+
x-codegen-request-body-name: body
|
|
18443
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies:
|
|
18444
|
+
get:
|
|
18445
|
+
summary: listSeaweedFSPolicies
|
|
18446
|
+
operationId: listSeaweedFSPolicies
|
|
18447
|
+
tags:
|
|
18448
|
+
- account
|
|
18449
|
+
- seaweedfs
|
|
18450
|
+
- shared
|
|
18451
|
+
parameters:
|
|
18452
|
+
- in: path
|
|
18453
|
+
name: orgName
|
|
18454
|
+
required: true
|
|
18455
|
+
schema:
|
|
18456
|
+
type: string
|
|
18457
|
+
- in: path
|
|
18458
|
+
name: clusterName
|
|
18459
|
+
required: true
|
|
18460
|
+
schema:
|
|
18461
|
+
type: string
|
|
18462
|
+
responses:
|
|
18463
|
+
'200':
|
|
18464
|
+
description: Successful response
|
|
18465
|
+
content:
|
|
18466
|
+
application/json:
|
|
18467
|
+
schema:
|
|
18468
|
+
type: object
|
|
18469
|
+
required:
|
|
18470
|
+
- items
|
|
18471
|
+
properties:
|
|
18472
|
+
items:
|
|
18473
|
+
type: array
|
|
18474
|
+
items:
|
|
18475
|
+
type: object
|
|
18476
|
+
required:
|
|
18477
|
+
- name
|
|
18478
|
+
- document
|
|
18479
|
+
properties:
|
|
18480
|
+
name:
|
|
18481
|
+
type: string
|
|
18482
|
+
document:
|
|
18483
|
+
type: object
|
|
18484
|
+
additionalProperties: true
|
|
18485
|
+
'400':
|
|
18486
|
+
$ref: '#/components/responses/400'
|
|
18487
|
+
'401':
|
|
18488
|
+
$ref: '#/components/responses/401'
|
|
18489
|
+
'403':
|
|
18490
|
+
$ref: '#/components/responses/403'
|
|
18491
|
+
'404':
|
|
18492
|
+
$ref: '#/components/responses/404'
|
|
18493
|
+
'409':
|
|
18494
|
+
$ref: '#/components/responses/409'
|
|
18495
|
+
'503':
|
|
18496
|
+
$ref: '#/components/responses/503'
|
|
18497
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
|
|
18498
|
+
put:
|
|
18499
|
+
summary: putSeaweedFSPolicy
|
|
18500
|
+
operationId: putSeaweedFSPolicy
|
|
18501
|
+
tags:
|
|
18502
|
+
- account
|
|
18503
|
+
- seaweedfs
|
|
18504
|
+
- shared
|
|
18505
|
+
parameters:
|
|
18506
|
+
- in: path
|
|
18507
|
+
name: orgName
|
|
18508
|
+
required: true
|
|
18509
|
+
schema:
|
|
18510
|
+
type: string
|
|
18511
|
+
- in: path
|
|
18512
|
+
name: clusterName
|
|
18513
|
+
required: true
|
|
18514
|
+
schema:
|
|
18515
|
+
type: string
|
|
18516
|
+
- in: path
|
|
18517
|
+
name: policyName
|
|
18518
|
+
required: true
|
|
18519
|
+
schema:
|
|
18520
|
+
type: string
|
|
18521
|
+
responses:
|
|
18522
|
+
'204':
|
|
18523
|
+
description: Successful response
|
|
18524
|
+
'400':
|
|
18525
|
+
$ref: '#/components/responses/400'
|
|
18526
|
+
'401':
|
|
18527
|
+
$ref: '#/components/responses/401'
|
|
18528
|
+
'403':
|
|
18529
|
+
$ref: '#/components/responses/403'
|
|
18530
|
+
'404':
|
|
18531
|
+
$ref: '#/components/responses/404'
|
|
18532
|
+
'409':
|
|
18533
|
+
$ref: '#/components/responses/409'
|
|
18534
|
+
'503':
|
|
18535
|
+
$ref: '#/components/responses/503'
|
|
18536
|
+
requestBody:
|
|
18537
|
+
required: true
|
|
18538
|
+
content:
|
|
18539
|
+
application/json:
|
|
18540
|
+
schema:
|
|
18541
|
+
type: object
|
|
18542
|
+
additionalProperties: true
|
|
18543
|
+
description: Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
18544
|
+
delete:
|
|
18545
|
+
summary: deleteSeaweedFSPolicy
|
|
18546
|
+
operationId: deleteSeaweedFSPolicy
|
|
18547
|
+
tags:
|
|
18548
|
+
- account
|
|
18549
|
+
- seaweedfs
|
|
18550
|
+
- shared
|
|
18551
|
+
parameters:
|
|
18552
|
+
- in: path
|
|
18553
|
+
name: orgName
|
|
18554
|
+
required: true
|
|
18555
|
+
schema:
|
|
18556
|
+
type: string
|
|
18557
|
+
- in: path
|
|
18558
|
+
name: clusterName
|
|
18559
|
+
required: true
|
|
18560
|
+
schema:
|
|
18561
|
+
type: string
|
|
18562
|
+
- in: path
|
|
18563
|
+
name: policyName
|
|
18564
|
+
required: true
|
|
18565
|
+
schema:
|
|
18566
|
+
type: string
|
|
18567
|
+
responses:
|
|
18568
|
+
'204':
|
|
18569
|
+
description: Successful response
|
|
18570
|
+
'400':
|
|
18571
|
+
$ref: '#/components/responses/400'
|
|
18572
|
+
'401':
|
|
18573
|
+
$ref: '#/components/responses/401'
|
|
18574
|
+
'403':
|
|
18575
|
+
$ref: '#/components/responses/403'
|
|
18576
|
+
'404':
|
|
18577
|
+
$ref: '#/components/responses/404'
|
|
18578
|
+
'409':
|
|
18579
|
+
$ref: '#/components/responses/409'
|
|
18580
|
+
'503':
|
|
18581
|
+
$ref: '#/components/responses/503'
|
|
18582
|
+
description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
18583
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
|
|
18584
|
+
put:
|
|
18585
|
+
summary: bindSeaweedFSPolicies
|
|
18586
|
+
operationId: bindSeaweedFSPolicies
|
|
18587
|
+
tags:
|
|
18588
|
+
- account
|
|
18589
|
+
- seaweedfs
|
|
18590
|
+
- shared
|
|
18591
|
+
parameters:
|
|
18592
|
+
- in: path
|
|
18593
|
+
name: orgName
|
|
18594
|
+
required: true
|
|
18595
|
+
schema:
|
|
18596
|
+
type: string
|
|
18597
|
+
- in: path
|
|
18598
|
+
name: clusterName
|
|
18599
|
+
required: true
|
|
18600
|
+
schema:
|
|
18601
|
+
type: string
|
|
18602
|
+
- in: path
|
|
18603
|
+
name: accountName
|
|
18604
|
+
required: true
|
|
18605
|
+
schema:
|
|
18606
|
+
type: string
|
|
18607
|
+
responses:
|
|
18608
|
+
'204':
|
|
18609
|
+
description: Successful response
|
|
18610
|
+
'400':
|
|
18611
|
+
$ref: '#/components/responses/400'
|
|
18612
|
+
'401':
|
|
18613
|
+
$ref: '#/components/responses/401'
|
|
18614
|
+
'403':
|
|
18615
|
+
$ref: '#/components/responses/403'
|
|
18616
|
+
'404':
|
|
18617
|
+
$ref: '#/components/responses/404'
|
|
18618
|
+
'409':
|
|
18619
|
+
$ref: '#/components/responses/409'
|
|
18620
|
+
'503':
|
|
18621
|
+
$ref: '#/components/responses/503'
|
|
18622
|
+
requestBody:
|
|
18623
|
+
required: true
|
|
18624
|
+
content:
|
|
18625
|
+
application/json:
|
|
18626
|
+
schema:
|
|
18627
|
+
type: object
|
|
18628
|
+
required:
|
|
18629
|
+
- policies
|
|
18630
|
+
properties:
|
|
18631
|
+
policies:
|
|
18632
|
+
type: array
|
|
18633
|
+
items:
|
|
18634
|
+
type: string
|
|
18635
|
+
description: Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
18636
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys:
|
|
18637
|
+
post:
|
|
18638
|
+
summary: createSeaweedFSAccessKey
|
|
18639
|
+
operationId: createSeaweedFSAccessKey
|
|
18640
|
+
tags:
|
|
18641
|
+
- account
|
|
18642
|
+
- seaweedfs
|
|
18643
|
+
- shared
|
|
18644
|
+
parameters:
|
|
18645
|
+
- in: path
|
|
18646
|
+
name: orgName
|
|
18647
|
+
required: true
|
|
18648
|
+
schema:
|
|
18649
|
+
type: string
|
|
18650
|
+
- in: path
|
|
18651
|
+
name: clusterName
|
|
18652
|
+
required: true
|
|
18653
|
+
schema:
|
|
18654
|
+
type: string
|
|
18655
|
+
- in: path
|
|
18656
|
+
name: accountName
|
|
18657
|
+
required: true
|
|
18658
|
+
schema:
|
|
18659
|
+
type: string
|
|
18660
|
+
responses:
|
|
18661
|
+
'201':
|
|
18662
|
+
description: Successful response
|
|
18663
|
+
content:
|
|
18664
|
+
application/json:
|
|
18665
|
+
schema:
|
|
18666
|
+
$ref: '#/components/schemas/account'
|
|
18667
|
+
'400':
|
|
18668
|
+
$ref: '#/components/responses/400'
|
|
18669
|
+
'401':
|
|
18670
|
+
$ref: '#/components/responses/401'
|
|
18671
|
+
'403':
|
|
18672
|
+
$ref: '#/components/responses/403'
|
|
18673
|
+
'404':
|
|
18674
|
+
$ref: '#/components/responses/404'
|
|
18675
|
+
'409':
|
|
18676
|
+
$ref: '#/components/responses/409'
|
|
18677
|
+
'503':
|
|
18678
|
+
$ref: '#/components/responses/503'
|
|
18679
|
+
requestBody:
|
|
18680
|
+
required: true
|
|
18681
|
+
content:
|
|
18682
|
+
application/json:
|
|
18683
|
+
schema:
|
|
18684
|
+
$ref: '#/components/schemas/account'
|
|
18685
|
+
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.
|
|
18686
|
+
/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}:
|
|
18687
|
+
delete:
|
|
18688
|
+
summary: deleteSeaweedFSAccessKey
|
|
18689
|
+
operationId: deleteSeaweedFSAccessKey
|
|
18690
|
+
tags:
|
|
18691
|
+
- account
|
|
18692
|
+
- seaweedfs
|
|
18693
|
+
- shared
|
|
18694
|
+
parameters:
|
|
18695
|
+
- in: path
|
|
18696
|
+
name: orgName
|
|
18697
|
+
required: true
|
|
18698
|
+
schema:
|
|
18699
|
+
type: string
|
|
18700
|
+
- in: path
|
|
18701
|
+
name: clusterName
|
|
18702
|
+
required: true
|
|
18703
|
+
schema:
|
|
18704
|
+
type: string
|
|
18705
|
+
- in: path
|
|
18706
|
+
name: accountName
|
|
18707
|
+
required: true
|
|
18708
|
+
schema:
|
|
18709
|
+
type: string
|
|
18710
|
+
- in: path
|
|
18711
|
+
name: accessKey
|
|
18712
|
+
required: true
|
|
18713
|
+
schema:
|
|
18714
|
+
type: string
|
|
18715
|
+
responses:
|
|
18716
|
+
'204':
|
|
18717
|
+
description: Successful response
|
|
18718
|
+
'400':
|
|
18719
|
+
$ref: '#/components/responses/400'
|
|
18720
|
+
'401':
|
|
18721
|
+
$ref: '#/components/responses/401'
|
|
18722
|
+
'403':
|
|
18723
|
+
$ref: '#/components/responses/403'
|
|
18724
|
+
'404':
|
|
18725
|
+
$ref: '#/components/responses/404'
|
|
18726
|
+
'409':
|
|
18727
|
+
$ref: '#/components/responses/409'
|
|
18728
|
+
'503':
|
|
18729
|
+
$ref: '#/components/responses/503'
|
|
17772
18730
|
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
17773
18731
|
get:
|
|
17774
18732
|
description: list accounts in cluster
|
|
@@ -21779,7 +22737,7 @@ paths:
|
|
|
21779
22737
|
description: Inspection tasks created and accepted for asynchronous execution.
|
|
21780
22738
|
content: {}
|
|
21781
22739
|
'400':
|
|
21782
|
-
|
|
22740
|
+
$ref: '#/components/responses/400'
|
|
21783
22741
|
'401':
|
|
21784
22742
|
$ref: '#/components/responses/401'
|
|
21785
22743
|
'403':
|
|
@@ -22257,6 +23215,160 @@ components:
|
|
|
22257
23215
|
curl --digest -u "accessKey:secretKey" https://api.example.com/api/v1/user
|
|
22258
23216
|
```
|
|
22259
23217
|
schemas:
|
|
23218
|
+
clusterJarConfig:
|
|
23219
|
+
type: object
|
|
23220
|
+
properties:
|
|
23221
|
+
supported:
|
|
23222
|
+
type: boolean
|
|
23223
|
+
reason:
|
|
23224
|
+
type: string
|
|
23225
|
+
generation:
|
|
23226
|
+
type: integer
|
|
23227
|
+
format: int64
|
|
23228
|
+
maxFileBytes:
|
|
23229
|
+
type: integer
|
|
23230
|
+
format: int64
|
|
23231
|
+
maxTotalBytes:
|
|
23232
|
+
type: integer
|
|
23233
|
+
format: int64
|
|
23234
|
+
usedBytes:
|
|
23235
|
+
type: integer
|
|
23236
|
+
format: int64
|
|
23237
|
+
taskId:
|
|
23238
|
+
type: string
|
|
23239
|
+
required:
|
|
23240
|
+
- supported
|
|
23241
|
+
- generation
|
|
23242
|
+
- maxFileBytes
|
|
23243
|
+
- maxTotalBytes
|
|
23244
|
+
- usedBytes
|
|
23245
|
+
APIErrorResponse:
|
|
23246
|
+
description: API error response.
|
|
23247
|
+
properties:
|
|
23248
|
+
code:
|
|
23249
|
+
description: The HTTP status code.
|
|
23250
|
+
type: integer
|
|
23251
|
+
reason:
|
|
23252
|
+
description: The reason for the error.
|
|
23253
|
+
type: string
|
|
23254
|
+
message:
|
|
23255
|
+
description: The message for the error.
|
|
23256
|
+
type: string
|
|
23257
|
+
required:
|
|
23258
|
+
- code
|
|
23259
|
+
type: object
|
|
23260
|
+
clusterJarKind:
|
|
23261
|
+
type: string
|
|
23262
|
+
enum:
|
|
23263
|
+
- udf
|
|
23264
|
+
- jdbc
|
|
23265
|
+
clusterJarReplica:
|
|
23266
|
+
type: object
|
|
23267
|
+
properties:
|
|
23268
|
+
component:
|
|
23269
|
+
type: string
|
|
23270
|
+
podName:
|
|
23271
|
+
type: string
|
|
23272
|
+
podUID:
|
|
23273
|
+
type: string
|
|
23274
|
+
status:
|
|
23275
|
+
type: string
|
|
23276
|
+
error:
|
|
23277
|
+
type: string
|
|
23278
|
+
generation:
|
|
23279
|
+
type: integer
|
|
23280
|
+
format: int64
|
|
23281
|
+
updatedAt:
|
|
23282
|
+
type: string
|
|
23283
|
+
format: date-time
|
|
23284
|
+
required:
|
|
23285
|
+
- component
|
|
23286
|
+
- podName
|
|
23287
|
+
- podUID
|
|
23288
|
+
- status
|
|
23289
|
+
- generation
|
|
23290
|
+
clusterJarPackage:
|
|
23291
|
+
type: object
|
|
23292
|
+
properties:
|
|
23293
|
+
id:
|
|
23294
|
+
type: string
|
|
23295
|
+
name:
|
|
23296
|
+
type: string
|
|
23297
|
+
kind:
|
|
23298
|
+
$ref: '#/components/schemas/clusterJarKind'
|
|
23299
|
+
filename:
|
|
23300
|
+
type: string
|
|
23301
|
+
sha256:
|
|
23302
|
+
type: string
|
|
23303
|
+
size:
|
|
23304
|
+
type: integer
|
|
23305
|
+
format: int64
|
|
23306
|
+
uri:
|
|
23307
|
+
type: string
|
|
23308
|
+
published:
|
|
23309
|
+
type: boolean
|
|
23310
|
+
archived:
|
|
23311
|
+
type: boolean
|
|
23312
|
+
status:
|
|
23313
|
+
type: string
|
|
23314
|
+
synced:
|
|
23315
|
+
type: integer
|
|
23316
|
+
format: int64
|
|
23317
|
+
total:
|
|
23318
|
+
type: integer
|
|
23319
|
+
format: int64
|
|
23320
|
+
createdBy:
|
|
23321
|
+
type: string
|
|
23322
|
+
createdAt:
|
|
23323
|
+
type: string
|
|
23324
|
+
format: date-time
|
|
23325
|
+
instances:
|
|
23326
|
+
type: array
|
|
23327
|
+
items:
|
|
23328
|
+
$ref: '#/components/schemas/clusterJarReplica'
|
|
23329
|
+
required:
|
|
23330
|
+
- id
|
|
23331
|
+
- name
|
|
23332
|
+
- kind
|
|
23333
|
+
- filename
|
|
23334
|
+
- sha256
|
|
23335
|
+
- size
|
|
23336
|
+
- uri
|
|
23337
|
+
- published
|
|
23338
|
+
- archived
|
|
23339
|
+
- status
|
|
23340
|
+
- synced
|
|
23341
|
+
- total
|
|
23342
|
+
- createdBy
|
|
23343
|
+
- createdAt
|
|
23344
|
+
- instances
|
|
23345
|
+
clusterJarList:
|
|
23346
|
+
type: object
|
|
23347
|
+
properties:
|
|
23348
|
+
items:
|
|
23349
|
+
type: array
|
|
23350
|
+
items:
|
|
23351
|
+
$ref: '#/components/schemas/clusterJarPackage'
|
|
23352
|
+
generation:
|
|
23353
|
+
type: integer
|
|
23354
|
+
format: int64
|
|
23355
|
+
required:
|
|
23356
|
+
- items
|
|
23357
|
+
- generation
|
|
23358
|
+
clusterJarPublish:
|
|
23359
|
+
type: object
|
|
23360
|
+
properties:
|
|
23361
|
+
generation:
|
|
23362
|
+
type: integer
|
|
23363
|
+
format: int64
|
|
23364
|
+
minimum: 0
|
|
23365
|
+
required:
|
|
23366
|
+
- generation
|
|
23367
|
+
clusterJarTask:
|
|
23368
|
+
type: object
|
|
23369
|
+
properties:
|
|
23370
|
+
taskId:
|
|
23371
|
+
type: string
|
|
22260
23372
|
phoneNumber:
|
|
22261
23373
|
description: The phonenumber for the user.
|
|
22262
23374
|
example: '+8618912345678'
|
|
@@ -22297,21 +23409,6 @@ components:
|
|
|
22297
23409
|
- userName
|
|
22298
23410
|
- createdAt
|
|
22299
23411
|
- updatedAt
|
|
22300
|
-
APIErrorResponse:
|
|
22301
|
-
description: API error response.
|
|
22302
|
-
properties:
|
|
22303
|
-
code:
|
|
22304
|
-
description: The HTTP status code.
|
|
22305
|
-
type: integer
|
|
22306
|
-
reason:
|
|
22307
|
-
description: The reason for the error.
|
|
22308
|
-
type: string
|
|
22309
|
-
message:
|
|
22310
|
-
description: The message for the error.
|
|
22311
|
-
type: string
|
|
22312
|
-
required:
|
|
22313
|
-
- code
|
|
22314
|
-
type: object
|
|
22315
23412
|
userUpdate:
|
|
22316
23413
|
description: User update
|
|
22317
23414
|
properties:
|
|
@@ -41036,6 +42133,12 @@ components:
|
|
|
41036
42133
|
schema:
|
|
41037
42134
|
$ref: '#/components/schemas/APIErrorResponse'
|
|
41038
42135
|
description: Conflict
|
|
42136
|
+
'413':
|
|
42137
|
+
content:
|
|
42138
|
+
application/json:
|
|
42139
|
+
schema:
|
|
42140
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
|
42141
|
+
description: Payload Too Large
|
|
41039
42142
|
'429':
|
|
41040
42143
|
content:
|
|
41041
42144
|
application/json:
|