kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260924.255 → 0.0.0-support-instance-template-ops.20260924.259
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
|
|
@@ -4226,13 +4622,20 @@ paths:
|
|
|
4226
4622
|
post:
|
|
4227
4623
|
operationId: createParameterTemplate
|
|
4228
4624
|
summary: Create parameter template
|
|
4625
|
+
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.
|
|
4229
4626
|
parameters:
|
|
4230
|
-
- description:
|
|
4627
|
+
- description: Name of the target organization
|
|
4231
4628
|
in: query
|
|
4232
4629
|
name: orgName
|
|
4233
4630
|
required: true
|
|
4234
4631
|
schema:
|
|
4235
4632
|
type: string
|
|
4633
|
+
- 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.'
|
|
4634
|
+
in: query
|
|
4635
|
+
name: oriOrgName
|
|
4636
|
+
required: false
|
|
4637
|
+
schema:
|
|
4638
|
+
type: string
|
|
4236
4639
|
requestBody:
|
|
4237
4640
|
content:
|
|
4238
4641
|
application/json:
|
|
@@ -4246,12 +4649,16 @@ paths:
|
|
|
4246
4649
|
schema:
|
|
4247
4650
|
$ref: '#/components/schemas/paramTplListItem'
|
|
4248
4651
|
description: create parameter template successfully
|
|
4652
|
+
'400':
|
|
4653
|
+
$ref: '#/components/responses/400'
|
|
4249
4654
|
'401':
|
|
4250
4655
|
$ref: '#/components/responses/401'
|
|
4251
4656
|
'403':
|
|
4252
4657
|
$ref: '#/components/responses/403'
|
|
4253
4658
|
'404':
|
|
4254
4659
|
$ref: '#/components/responses/404'
|
|
4660
|
+
'409':
|
|
4661
|
+
$ref: '#/components/responses/409'
|
|
4255
4662
|
tags:
|
|
4256
4663
|
- parameterTemplate
|
|
4257
4664
|
x-codegen-request-body-name: body
|
|
@@ -9678,6 +10085,58 @@ paths:
|
|
|
9678
10085
|
$ref: '#/components/responses/403'
|
|
9679
10086
|
'404':
|
|
9680
10087
|
$ref: '#/components/responses/404'
|
|
10088
|
+
/admin/v1/environments/{environmentName}/resources/{resourceName}:
|
|
10089
|
+
get:
|
|
10090
|
+
operationId: getEnvironmentResource
|
|
10091
|
+
summary: Get a live Kubernetes resource
|
|
10092
|
+
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.
|
|
10093
|
+
tags:
|
|
10094
|
+
- environment
|
|
10095
|
+
parameters:
|
|
10096
|
+
- in: path
|
|
10097
|
+
name: environmentName
|
|
10098
|
+
required: true
|
|
10099
|
+
schema:
|
|
10100
|
+
type: string
|
|
10101
|
+
- in: path
|
|
10102
|
+
name: resourceName
|
|
10103
|
+
required: true
|
|
10104
|
+
schema:
|
|
10105
|
+
type: string
|
|
10106
|
+
- in: query
|
|
10107
|
+
name: apiVersion
|
|
10108
|
+
description: Kubernetes API version. Currently only v1 with kind PersistentVolumeClaim is allowed.
|
|
10109
|
+
required: true
|
|
10110
|
+
schema:
|
|
10111
|
+
type: string
|
|
10112
|
+
- in: query
|
|
10113
|
+
name: kind
|
|
10114
|
+
description: Kubernetes kind. Currently only PersistentVolumeClaim with apiVersion v1 is allowed.
|
|
10115
|
+
required: true
|
|
10116
|
+
schema:
|
|
10117
|
+
type: string
|
|
10118
|
+
- in: query
|
|
10119
|
+
name: namespace
|
|
10120
|
+
description: Required for namespaced kinds; must be omitted for cluster-scoped kinds.
|
|
10121
|
+
schema:
|
|
10122
|
+
type: string
|
|
10123
|
+
responses:
|
|
10124
|
+
'200':
|
|
10125
|
+
description: The live Kubernetes resource, including metadata, spec and status when present.
|
|
10126
|
+
content:
|
|
10127
|
+
application/json:
|
|
10128
|
+
schema:
|
|
10129
|
+
$ref: '#/components/schemas/jsonBody'
|
|
10130
|
+
'400':
|
|
10131
|
+
$ref: '#/components/responses/400'
|
|
10132
|
+
'401':
|
|
10133
|
+
$ref: '#/components/responses/401'
|
|
10134
|
+
'403':
|
|
10135
|
+
$ref: '#/components/responses/403'
|
|
10136
|
+
'404':
|
|
10137
|
+
$ref: '#/components/responses/404'
|
|
10138
|
+
'500':
|
|
10139
|
+
$ref: '#/components/responses/500'
|
|
9681
10140
|
/admin/v1/environments:
|
|
9682
10141
|
get:
|
|
9683
10142
|
operationId: listEnvironment
|
|
@@ -16161,7 +16620,7 @@ paths:
|
|
|
16161
16620
|
description: Inspection tasks created and accepted for asynchronous execution.
|
|
16162
16621
|
content: {}
|
|
16163
16622
|
'400':
|
|
16164
|
-
|
|
16623
|
+
$ref: '#/components/responses/400'
|
|
16165
16624
|
'401':
|
|
16166
16625
|
$ref: '#/components/responses/401'
|
|
16167
16626
|
'403':
|
|
@@ -22232,6 +22691,568 @@ paths:
|
|
|
22232
22691
|
- database
|
|
22233
22692
|
- rdbms
|
|
22234
22693
|
- shared
|
|
22694
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
22695
|
+
get:
|
|
22696
|
+
description: Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
22697
|
+
summary: listSeaweedFSAccounts
|
|
22698
|
+
operationId: listSeaweedFSAccounts
|
|
22699
|
+
parameters:
|
|
22700
|
+
- description: name of the organization
|
|
22701
|
+
in: path
|
|
22702
|
+
name: orgName
|
|
22703
|
+
required: true
|
|
22704
|
+
schema:
|
|
22705
|
+
type: string
|
|
22706
|
+
- description: name of the cluster
|
|
22707
|
+
in: path
|
|
22708
|
+
name: clusterName
|
|
22709
|
+
required: true
|
|
22710
|
+
schema:
|
|
22711
|
+
type: string
|
|
22712
|
+
responses:
|
|
22713
|
+
'200':
|
|
22714
|
+
content:
|
|
22715
|
+
application/json:
|
|
22716
|
+
schema:
|
|
22717
|
+
$ref: '#/components/schemas/accountList'
|
|
22718
|
+
description: Success
|
|
22719
|
+
'400':
|
|
22720
|
+
$ref: '#/components/responses/400'
|
|
22721
|
+
'401':
|
|
22722
|
+
$ref: '#/components/responses/401'
|
|
22723
|
+
'403':
|
|
22724
|
+
$ref: '#/components/responses/403'
|
|
22725
|
+
'404':
|
|
22726
|
+
$ref: '#/components/responses/404'
|
|
22727
|
+
'409':
|
|
22728
|
+
$ref: '#/components/responses/409'
|
|
22729
|
+
'503':
|
|
22730
|
+
$ref: '#/components/responses/503'
|
|
22731
|
+
tags:
|
|
22732
|
+
- account
|
|
22733
|
+
- seaweedfs
|
|
22734
|
+
- shared
|
|
22735
|
+
x-codegen-request-body-name: body
|
|
22736
|
+
post:
|
|
22737
|
+
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.
|
|
22738
|
+
summary: createSeaweedFSAccount
|
|
22739
|
+
operationId: createSeaweedFSAccount
|
|
22740
|
+
parameters:
|
|
22741
|
+
- description: name of the organization
|
|
22742
|
+
in: path
|
|
22743
|
+
name: orgName
|
|
22744
|
+
required: true
|
|
22745
|
+
schema:
|
|
22746
|
+
type: string
|
|
22747
|
+
- description: name of the cluster
|
|
22748
|
+
in: path
|
|
22749
|
+
name: clusterName
|
|
22750
|
+
required: true
|
|
22751
|
+
schema:
|
|
22752
|
+
type: string
|
|
22753
|
+
requestBody:
|
|
22754
|
+
content:
|
|
22755
|
+
application/json:
|
|
22756
|
+
schema:
|
|
22757
|
+
$ref: '#/components/schemas/account'
|
|
22758
|
+
required: true
|
|
22759
|
+
responses:
|
|
22760
|
+
'201':
|
|
22761
|
+
description: Identity and initial credential created
|
|
22762
|
+
content:
|
|
22763
|
+
application/json:
|
|
22764
|
+
schema:
|
|
22765
|
+
$ref: '#/components/schemas/account'
|
|
22766
|
+
'400':
|
|
22767
|
+
$ref: '#/components/responses/400'
|
|
22768
|
+
'401':
|
|
22769
|
+
$ref: '#/components/responses/401'
|
|
22770
|
+
'403':
|
|
22771
|
+
$ref: '#/components/responses/403'
|
|
22772
|
+
'404':
|
|
22773
|
+
$ref: '#/components/responses/404'
|
|
22774
|
+
'409':
|
|
22775
|
+
$ref: '#/components/responses/409'
|
|
22776
|
+
'503':
|
|
22777
|
+
$ref: '#/components/responses/503'
|
|
22778
|
+
tags:
|
|
22779
|
+
- account
|
|
22780
|
+
- seaweedfs
|
|
22781
|
+
- shared
|
|
22782
|
+
x-codegen-request-body-name: body
|
|
22783
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
22784
|
+
delete:
|
|
22785
|
+
description: delete an account in cluster
|
|
22786
|
+
summary: deleteSeaweedFSAccount
|
|
22787
|
+
operationId: deleteSeaweedFSAccount
|
|
22788
|
+
parameters:
|
|
22789
|
+
- description: name of the organization
|
|
22790
|
+
in: path
|
|
22791
|
+
name: orgName
|
|
22792
|
+
required: true
|
|
22793
|
+
schema:
|
|
22794
|
+
type: string
|
|
22795
|
+
- description: name of the cluster
|
|
22796
|
+
in: path
|
|
22797
|
+
name: clusterName
|
|
22798
|
+
required: true
|
|
22799
|
+
schema:
|
|
22800
|
+
type: string
|
|
22801
|
+
- description: name of the account
|
|
22802
|
+
in: path
|
|
22803
|
+
name: accountName
|
|
22804
|
+
required: true
|
|
22805
|
+
schema:
|
|
22806
|
+
type: string
|
|
22807
|
+
responses:
|
|
22808
|
+
'204':
|
|
22809
|
+
content: {}
|
|
22810
|
+
description: Identity deleted
|
|
22811
|
+
'400':
|
|
22812
|
+
$ref: '#/components/responses/400'
|
|
22813
|
+
'401':
|
|
22814
|
+
$ref: '#/components/responses/401'
|
|
22815
|
+
'403':
|
|
22816
|
+
$ref: '#/components/responses/403'
|
|
22817
|
+
'404':
|
|
22818
|
+
$ref: '#/components/responses/404'
|
|
22819
|
+
'409':
|
|
22820
|
+
$ref: '#/components/responses/409'
|
|
22821
|
+
'503':
|
|
22822
|
+
$ref: '#/components/responses/503'
|
|
22823
|
+
tags:
|
|
22824
|
+
- account
|
|
22825
|
+
- seaweedfs
|
|
22826
|
+
- shared
|
|
22827
|
+
patch:
|
|
22828
|
+
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.
|
|
22829
|
+
summary: updateSeaweedFSAccount
|
|
22830
|
+
operationId: updateSeaweedFSAccount
|
|
22831
|
+
parameters:
|
|
22832
|
+
- description: name of the organization
|
|
22833
|
+
in: path
|
|
22834
|
+
name: orgName
|
|
22835
|
+
required: true
|
|
22836
|
+
schema:
|
|
22837
|
+
type: string
|
|
22838
|
+
- description: name of the cluster
|
|
22839
|
+
in: path
|
|
22840
|
+
name: clusterName
|
|
22841
|
+
required: true
|
|
22842
|
+
schema:
|
|
22843
|
+
type: string
|
|
22844
|
+
- description: name of the account
|
|
22845
|
+
in: path
|
|
22846
|
+
name: accountName
|
|
22847
|
+
required: true
|
|
22848
|
+
schema:
|
|
22849
|
+
type: string
|
|
22850
|
+
requestBody:
|
|
22851
|
+
content:
|
|
22852
|
+
application/json:
|
|
22853
|
+
schema:
|
|
22854
|
+
$ref: '#/components/schemas/account'
|
|
22855
|
+
required: true
|
|
22856
|
+
responses:
|
|
22857
|
+
'200':
|
|
22858
|
+
description: Selected credential updated
|
|
22859
|
+
content:
|
|
22860
|
+
application/json:
|
|
22861
|
+
schema:
|
|
22862
|
+
$ref: '#/components/schemas/account'
|
|
22863
|
+
'400':
|
|
22864
|
+
$ref: '#/components/responses/400'
|
|
22865
|
+
'401':
|
|
22866
|
+
$ref: '#/components/responses/401'
|
|
22867
|
+
'403':
|
|
22868
|
+
$ref: '#/components/responses/403'
|
|
22869
|
+
'404':
|
|
22870
|
+
$ref: '#/components/responses/404'
|
|
22871
|
+
'409':
|
|
22872
|
+
$ref: '#/components/responses/409'
|
|
22873
|
+
'503':
|
|
22874
|
+
$ref: '#/components/responses/503'
|
|
22875
|
+
tags:
|
|
22876
|
+
- account
|
|
22877
|
+
- seaweedfs
|
|
22878
|
+
- shared
|
|
22879
|
+
x-codegen-request-body-name: body
|
|
22880
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password:
|
|
22881
|
+
get:
|
|
22882
|
+
description: get root account password
|
|
22883
|
+
summary: getRootSeaweedFSAccountPassword
|
|
22884
|
+
operationId: getRootSeaweedFSAccountPassword
|
|
22885
|
+
parameters:
|
|
22886
|
+
- description: name of the Org
|
|
22887
|
+
in: path
|
|
22888
|
+
name: orgName
|
|
22889
|
+
required: true
|
|
22890
|
+
schema:
|
|
22891
|
+
type: string
|
|
22892
|
+
- description: name of the Cluster
|
|
22893
|
+
in: path
|
|
22894
|
+
name: clusterName
|
|
22895
|
+
required: true
|
|
22896
|
+
schema:
|
|
22897
|
+
type: string
|
|
22898
|
+
- description: name of the account
|
|
22899
|
+
in: query
|
|
22900
|
+
name: accountName
|
|
22901
|
+
required: true
|
|
22902
|
+
schema:
|
|
22903
|
+
type: string
|
|
22904
|
+
- description: name of the component
|
|
22905
|
+
in: query
|
|
22906
|
+
name: component
|
|
22907
|
+
required: false
|
|
22908
|
+
schema:
|
|
22909
|
+
type: string
|
|
22910
|
+
responses:
|
|
22911
|
+
'200':
|
|
22912
|
+
description: get root account password success
|
|
22913
|
+
content:
|
|
22914
|
+
application/json:
|
|
22915
|
+
schema:
|
|
22916
|
+
type: string
|
|
22917
|
+
'401':
|
|
22918
|
+
$ref: '#/components/responses/401'
|
|
22919
|
+
'403':
|
|
22920
|
+
$ref: '#/components/responses/403'
|
|
22921
|
+
'404':
|
|
22922
|
+
$ref: '#/components/responses/404'
|
|
22923
|
+
'409':
|
|
22924
|
+
$ref: '#/components/responses/409'
|
|
22925
|
+
'500':
|
|
22926
|
+
$ref: '#/components/responses/500'
|
|
22927
|
+
tags:
|
|
22928
|
+
- account
|
|
22929
|
+
- seaweedfs
|
|
22930
|
+
- shared
|
|
22931
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges:
|
|
22932
|
+
patch:
|
|
22933
|
+
description: Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
22934
|
+
summary: updateSeaweedFSAccountPrivileges
|
|
22935
|
+
operationId: updateSeaweedFSAccountPrivileges
|
|
22936
|
+
parameters:
|
|
22937
|
+
- description: name of the Org
|
|
22938
|
+
in: path
|
|
22939
|
+
name: orgName
|
|
22940
|
+
required: true
|
|
22941
|
+
schema:
|
|
22942
|
+
type: string
|
|
22943
|
+
- description: name of the Cluster
|
|
22944
|
+
in: path
|
|
22945
|
+
name: clusterName
|
|
22946
|
+
required: true
|
|
22947
|
+
schema:
|
|
22948
|
+
type: string
|
|
22949
|
+
- description: name of the account
|
|
22950
|
+
in: path
|
|
22951
|
+
name: accountName
|
|
22952
|
+
required: true
|
|
22953
|
+
schema:
|
|
22954
|
+
type: string
|
|
22955
|
+
requestBody:
|
|
22956
|
+
content:
|
|
22957
|
+
application/json:
|
|
22958
|
+
schema:
|
|
22959
|
+
$ref: '#/components/schemas/privilegeList'
|
|
22960
|
+
required: true
|
|
22961
|
+
responses:
|
|
22962
|
+
'400':
|
|
22963
|
+
$ref: '#/components/responses/400'
|
|
22964
|
+
tags:
|
|
22965
|
+
- account
|
|
22966
|
+
- seaweedfs
|
|
22967
|
+
- shared
|
|
22968
|
+
x-codegen-request-body-name: body
|
|
22969
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies:
|
|
22970
|
+
get:
|
|
22971
|
+
summary: listSeaweedFSPolicies
|
|
22972
|
+
operationId: listSeaweedFSPolicies
|
|
22973
|
+
tags:
|
|
22974
|
+
- account
|
|
22975
|
+
- seaweedfs
|
|
22976
|
+
- shared
|
|
22977
|
+
parameters:
|
|
22978
|
+
- in: path
|
|
22979
|
+
name: orgName
|
|
22980
|
+
required: true
|
|
22981
|
+
schema:
|
|
22982
|
+
type: string
|
|
22983
|
+
- in: path
|
|
22984
|
+
name: clusterName
|
|
22985
|
+
required: true
|
|
22986
|
+
schema:
|
|
22987
|
+
type: string
|
|
22988
|
+
responses:
|
|
22989
|
+
'200':
|
|
22990
|
+
description: Successful response
|
|
22991
|
+
content:
|
|
22992
|
+
application/json:
|
|
22993
|
+
schema:
|
|
22994
|
+
type: object
|
|
22995
|
+
required:
|
|
22996
|
+
- items
|
|
22997
|
+
properties:
|
|
22998
|
+
items:
|
|
22999
|
+
type: array
|
|
23000
|
+
items:
|
|
23001
|
+
type: object
|
|
23002
|
+
required:
|
|
23003
|
+
- name
|
|
23004
|
+
- document
|
|
23005
|
+
properties:
|
|
23006
|
+
name:
|
|
23007
|
+
type: string
|
|
23008
|
+
document:
|
|
23009
|
+
type: object
|
|
23010
|
+
additionalProperties: true
|
|
23011
|
+
'400':
|
|
23012
|
+
$ref: '#/components/responses/400'
|
|
23013
|
+
'401':
|
|
23014
|
+
$ref: '#/components/responses/401'
|
|
23015
|
+
'403':
|
|
23016
|
+
$ref: '#/components/responses/403'
|
|
23017
|
+
'404':
|
|
23018
|
+
$ref: '#/components/responses/404'
|
|
23019
|
+
'409':
|
|
23020
|
+
$ref: '#/components/responses/409'
|
|
23021
|
+
'503':
|
|
23022
|
+
$ref: '#/components/responses/503'
|
|
23023
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
|
|
23024
|
+
put:
|
|
23025
|
+
summary: putSeaweedFSPolicy
|
|
23026
|
+
operationId: putSeaweedFSPolicy
|
|
23027
|
+
tags:
|
|
23028
|
+
- account
|
|
23029
|
+
- seaweedfs
|
|
23030
|
+
- shared
|
|
23031
|
+
parameters:
|
|
23032
|
+
- in: path
|
|
23033
|
+
name: orgName
|
|
23034
|
+
required: true
|
|
23035
|
+
schema:
|
|
23036
|
+
type: string
|
|
23037
|
+
- in: path
|
|
23038
|
+
name: clusterName
|
|
23039
|
+
required: true
|
|
23040
|
+
schema:
|
|
23041
|
+
type: string
|
|
23042
|
+
- in: path
|
|
23043
|
+
name: policyName
|
|
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'
|
|
23062
|
+
requestBody:
|
|
23063
|
+
required: true
|
|
23064
|
+
content:
|
|
23065
|
+
application/json:
|
|
23066
|
+
schema:
|
|
23067
|
+
type: object
|
|
23068
|
+
additionalProperties: true
|
|
23069
|
+
description: Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
23070
|
+
delete:
|
|
23071
|
+
summary: deleteSeaweedFSPolicy
|
|
23072
|
+
operationId: deleteSeaweedFSPolicy
|
|
23073
|
+
tags:
|
|
23074
|
+
- account
|
|
23075
|
+
- seaweedfs
|
|
23076
|
+
- shared
|
|
23077
|
+
parameters:
|
|
23078
|
+
- in: path
|
|
23079
|
+
name: orgName
|
|
23080
|
+
required: true
|
|
23081
|
+
schema:
|
|
23082
|
+
type: string
|
|
23083
|
+
- in: path
|
|
23084
|
+
name: clusterName
|
|
23085
|
+
required: true
|
|
23086
|
+
schema:
|
|
23087
|
+
type: string
|
|
23088
|
+
- in: path
|
|
23089
|
+
name: policyName
|
|
23090
|
+
required: true
|
|
23091
|
+
schema:
|
|
23092
|
+
type: string
|
|
23093
|
+
responses:
|
|
23094
|
+
'204':
|
|
23095
|
+
description: Successful response
|
|
23096
|
+
'400':
|
|
23097
|
+
$ref: '#/components/responses/400'
|
|
23098
|
+
'401':
|
|
23099
|
+
$ref: '#/components/responses/401'
|
|
23100
|
+
'403':
|
|
23101
|
+
$ref: '#/components/responses/403'
|
|
23102
|
+
'404':
|
|
23103
|
+
$ref: '#/components/responses/404'
|
|
23104
|
+
'409':
|
|
23105
|
+
$ref: '#/components/responses/409'
|
|
23106
|
+
'503':
|
|
23107
|
+
$ref: '#/components/responses/503'
|
|
23108
|
+
description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
23109
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
|
|
23110
|
+
put:
|
|
23111
|
+
summary: bindSeaweedFSPolicies
|
|
23112
|
+
operationId: bindSeaweedFSPolicies
|
|
23113
|
+
tags:
|
|
23114
|
+
- account
|
|
23115
|
+
- seaweedfs
|
|
23116
|
+
- shared
|
|
23117
|
+
parameters:
|
|
23118
|
+
- in: path
|
|
23119
|
+
name: orgName
|
|
23120
|
+
required: true
|
|
23121
|
+
schema:
|
|
23122
|
+
type: string
|
|
23123
|
+
- in: path
|
|
23124
|
+
name: clusterName
|
|
23125
|
+
required: true
|
|
23126
|
+
schema:
|
|
23127
|
+
type: string
|
|
23128
|
+
- in: path
|
|
23129
|
+
name: accountName
|
|
23130
|
+
required: true
|
|
23131
|
+
schema:
|
|
23132
|
+
type: string
|
|
23133
|
+
responses:
|
|
23134
|
+
'204':
|
|
23135
|
+
description: Successful response
|
|
23136
|
+
'400':
|
|
23137
|
+
$ref: '#/components/responses/400'
|
|
23138
|
+
'401':
|
|
23139
|
+
$ref: '#/components/responses/401'
|
|
23140
|
+
'403':
|
|
23141
|
+
$ref: '#/components/responses/403'
|
|
23142
|
+
'404':
|
|
23143
|
+
$ref: '#/components/responses/404'
|
|
23144
|
+
'409':
|
|
23145
|
+
$ref: '#/components/responses/409'
|
|
23146
|
+
'503':
|
|
23147
|
+
$ref: '#/components/responses/503'
|
|
23148
|
+
requestBody:
|
|
23149
|
+
required: true
|
|
23150
|
+
content:
|
|
23151
|
+
application/json:
|
|
23152
|
+
schema:
|
|
23153
|
+
type: object
|
|
23154
|
+
required:
|
|
23155
|
+
- policies
|
|
23156
|
+
properties:
|
|
23157
|
+
policies:
|
|
23158
|
+
type: array
|
|
23159
|
+
items:
|
|
23160
|
+
type: string
|
|
23161
|
+
description: Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
23162
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys:
|
|
23163
|
+
post:
|
|
23164
|
+
summary: createSeaweedFSAccessKey
|
|
23165
|
+
operationId: createSeaweedFSAccessKey
|
|
23166
|
+
tags:
|
|
23167
|
+
- account
|
|
23168
|
+
- seaweedfs
|
|
23169
|
+
- shared
|
|
23170
|
+
parameters:
|
|
23171
|
+
- in: path
|
|
23172
|
+
name: orgName
|
|
23173
|
+
required: true
|
|
23174
|
+
schema:
|
|
23175
|
+
type: string
|
|
23176
|
+
- in: path
|
|
23177
|
+
name: clusterName
|
|
23178
|
+
required: true
|
|
23179
|
+
schema:
|
|
23180
|
+
type: string
|
|
23181
|
+
- in: path
|
|
23182
|
+
name: accountName
|
|
23183
|
+
required: true
|
|
23184
|
+
schema:
|
|
23185
|
+
type: string
|
|
23186
|
+
responses:
|
|
23187
|
+
'201':
|
|
23188
|
+
description: Successful response
|
|
23189
|
+
content:
|
|
23190
|
+
application/json:
|
|
23191
|
+
schema:
|
|
23192
|
+
$ref: '#/components/schemas/account'
|
|
23193
|
+
'400':
|
|
23194
|
+
$ref: '#/components/responses/400'
|
|
23195
|
+
'401':
|
|
23196
|
+
$ref: '#/components/responses/401'
|
|
23197
|
+
'403':
|
|
23198
|
+
$ref: '#/components/responses/403'
|
|
23199
|
+
'404':
|
|
23200
|
+
$ref: '#/components/responses/404'
|
|
23201
|
+
'409':
|
|
23202
|
+
$ref: '#/components/responses/409'
|
|
23203
|
+
'503':
|
|
23204
|
+
$ref: '#/components/responses/503'
|
|
23205
|
+
requestBody:
|
|
23206
|
+
required: true
|
|
23207
|
+
content:
|
|
23208
|
+
application/json:
|
|
23209
|
+
schema:
|
|
23210
|
+
$ref: '#/components/schemas/account'
|
|
23211
|
+
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.
|
|
23212
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}:
|
|
23213
|
+
delete:
|
|
23214
|
+
summary: deleteSeaweedFSAccessKey
|
|
23215
|
+
operationId: deleteSeaweedFSAccessKey
|
|
23216
|
+
tags:
|
|
23217
|
+
- account
|
|
23218
|
+
- seaweedfs
|
|
23219
|
+
- shared
|
|
23220
|
+
parameters:
|
|
23221
|
+
- in: path
|
|
23222
|
+
name: orgName
|
|
23223
|
+
required: true
|
|
23224
|
+
schema:
|
|
23225
|
+
type: string
|
|
23226
|
+
- in: path
|
|
23227
|
+
name: clusterName
|
|
23228
|
+
required: true
|
|
23229
|
+
schema:
|
|
23230
|
+
type: string
|
|
23231
|
+
- in: path
|
|
23232
|
+
name: accountName
|
|
23233
|
+
required: true
|
|
23234
|
+
schema:
|
|
23235
|
+
type: string
|
|
23236
|
+
- in: path
|
|
23237
|
+
name: accessKey
|
|
23238
|
+
required: true
|
|
23239
|
+
schema:
|
|
23240
|
+
type: string
|
|
23241
|
+
responses:
|
|
23242
|
+
'204':
|
|
23243
|
+
description: Successful response
|
|
23244
|
+
'400':
|
|
23245
|
+
$ref: '#/components/responses/400'
|
|
23246
|
+
'401':
|
|
23247
|
+
$ref: '#/components/responses/401'
|
|
23248
|
+
'403':
|
|
23249
|
+
$ref: '#/components/responses/403'
|
|
23250
|
+
'404':
|
|
23251
|
+
$ref: '#/components/responses/404'
|
|
23252
|
+
'409':
|
|
23253
|
+
$ref: '#/components/responses/409'
|
|
23254
|
+
'503':
|
|
23255
|
+
$ref: '#/components/responses/503'
|
|
22235
23256
|
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
22236
23257
|
get:
|
|
22237
23258
|
description: list accounts in cluster
|
|
@@ -27518,6 +28539,160 @@ components:
|
|
|
27518
28539
|
curl --digest -u "accessKey:secretKey" https://api.example.com/admin/v1/user
|
|
27519
28540
|
```
|
|
27520
28541
|
schemas:
|
|
28542
|
+
clusterJarConfig:
|
|
28543
|
+
type: object
|
|
28544
|
+
properties:
|
|
28545
|
+
supported:
|
|
28546
|
+
type: boolean
|
|
28547
|
+
reason:
|
|
28548
|
+
type: string
|
|
28549
|
+
generation:
|
|
28550
|
+
type: integer
|
|
28551
|
+
format: int64
|
|
28552
|
+
maxFileBytes:
|
|
28553
|
+
type: integer
|
|
28554
|
+
format: int64
|
|
28555
|
+
maxTotalBytes:
|
|
28556
|
+
type: integer
|
|
28557
|
+
format: int64
|
|
28558
|
+
usedBytes:
|
|
28559
|
+
type: integer
|
|
28560
|
+
format: int64
|
|
28561
|
+
taskId:
|
|
28562
|
+
type: string
|
|
28563
|
+
required:
|
|
28564
|
+
- supported
|
|
28565
|
+
- generation
|
|
28566
|
+
- maxFileBytes
|
|
28567
|
+
- maxTotalBytes
|
|
28568
|
+
- usedBytes
|
|
28569
|
+
APIErrorResponse:
|
|
28570
|
+
description: API error response.
|
|
28571
|
+
properties:
|
|
28572
|
+
code:
|
|
28573
|
+
description: The HTTP status code.
|
|
28574
|
+
type: integer
|
|
28575
|
+
reason:
|
|
28576
|
+
description: The reason for the error.
|
|
28577
|
+
type: string
|
|
28578
|
+
message:
|
|
28579
|
+
description: The message for the error.
|
|
28580
|
+
type: string
|
|
28581
|
+
required:
|
|
28582
|
+
- code
|
|
28583
|
+
type: object
|
|
28584
|
+
clusterJarKind:
|
|
28585
|
+
type: string
|
|
28586
|
+
enum:
|
|
28587
|
+
- udf
|
|
28588
|
+
- jdbc
|
|
28589
|
+
clusterJarReplica:
|
|
28590
|
+
type: object
|
|
28591
|
+
properties:
|
|
28592
|
+
component:
|
|
28593
|
+
type: string
|
|
28594
|
+
podName:
|
|
28595
|
+
type: string
|
|
28596
|
+
podUID:
|
|
28597
|
+
type: string
|
|
28598
|
+
status:
|
|
28599
|
+
type: string
|
|
28600
|
+
error:
|
|
28601
|
+
type: string
|
|
28602
|
+
generation:
|
|
28603
|
+
type: integer
|
|
28604
|
+
format: int64
|
|
28605
|
+
updatedAt:
|
|
28606
|
+
type: string
|
|
28607
|
+
format: date-time
|
|
28608
|
+
required:
|
|
28609
|
+
- component
|
|
28610
|
+
- podName
|
|
28611
|
+
- podUID
|
|
28612
|
+
- status
|
|
28613
|
+
- generation
|
|
28614
|
+
clusterJarPackage:
|
|
28615
|
+
type: object
|
|
28616
|
+
properties:
|
|
28617
|
+
id:
|
|
28618
|
+
type: string
|
|
28619
|
+
name:
|
|
28620
|
+
type: string
|
|
28621
|
+
kind:
|
|
28622
|
+
$ref: '#/components/schemas/clusterJarKind'
|
|
28623
|
+
filename:
|
|
28624
|
+
type: string
|
|
28625
|
+
sha256:
|
|
28626
|
+
type: string
|
|
28627
|
+
size:
|
|
28628
|
+
type: integer
|
|
28629
|
+
format: int64
|
|
28630
|
+
uri:
|
|
28631
|
+
type: string
|
|
28632
|
+
published:
|
|
28633
|
+
type: boolean
|
|
28634
|
+
archived:
|
|
28635
|
+
type: boolean
|
|
28636
|
+
status:
|
|
28637
|
+
type: string
|
|
28638
|
+
synced:
|
|
28639
|
+
type: integer
|
|
28640
|
+
format: int64
|
|
28641
|
+
total:
|
|
28642
|
+
type: integer
|
|
28643
|
+
format: int64
|
|
28644
|
+
createdBy:
|
|
28645
|
+
type: string
|
|
28646
|
+
createdAt:
|
|
28647
|
+
type: string
|
|
28648
|
+
format: date-time
|
|
28649
|
+
instances:
|
|
28650
|
+
type: array
|
|
28651
|
+
items:
|
|
28652
|
+
$ref: '#/components/schemas/clusterJarReplica'
|
|
28653
|
+
required:
|
|
28654
|
+
- id
|
|
28655
|
+
- name
|
|
28656
|
+
- kind
|
|
28657
|
+
- filename
|
|
28658
|
+
- sha256
|
|
28659
|
+
- size
|
|
28660
|
+
- uri
|
|
28661
|
+
- published
|
|
28662
|
+
- archived
|
|
28663
|
+
- status
|
|
28664
|
+
- synced
|
|
28665
|
+
- total
|
|
28666
|
+
- createdBy
|
|
28667
|
+
- createdAt
|
|
28668
|
+
- instances
|
|
28669
|
+
clusterJarList:
|
|
28670
|
+
type: object
|
|
28671
|
+
properties:
|
|
28672
|
+
items:
|
|
28673
|
+
type: array
|
|
28674
|
+
items:
|
|
28675
|
+
$ref: '#/components/schemas/clusterJarPackage'
|
|
28676
|
+
generation:
|
|
28677
|
+
type: integer
|
|
28678
|
+
format: int64
|
|
28679
|
+
required:
|
|
28680
|
+
- items
|
|
28681
|
+
- generation
|
|
28682
|
+
clusterJarPublish:
|
|
28683
|
+
type: object
|
|
28684
|
+
properties:
|
|
28685
|
+
generation:
|
|
28686
|
+
type: integer
|
|
28687
|
+
format: int64
|
|
28688
|
+
minimum: 0
|
|
28689
|
+
required:
|
|
28690
|
+
- generation
|
|
28691
|
+
clusterJarTask:
|
|
28692
|
+
type: object
|
|
28693
|
+
properties:
|
|
28694
|
+
taskId:
|
|
28695
|
+
type: string
|
|
27521
28696
|
phoneNumber:
|
|
27522
28697
|
description: The phonenumber for the user.
|
|
27523
28698
|
example: '+8618912345678'
|
|
@@ -27558,21 +28733,6 @@ components:
|
|
|
27558
28733
|
- userName
|
|
27559
28734
|
- createdAt
|
|
27560
28735
|
- updatedAt
|
|
27561
|
-
APIErrorResponse:
|
|
27562
|
-
description: API error response.
|
|
27563
|
-
properties:
|
|
27564
|
-
code:
|
|
27565
|
-
description: The HTTP status code.
|
|
27566
|
-
type: integer
|
|
27567
|
-
reason:
|
|
27568
|
-
description: The reason for the error.
|
|
27569
|
-
type: string
|
|
27570
|
-
message:
|
|
27571
|
-
description: The message for the error.
|
|
27572
|
-
type: string
|
|
27573
|
-
required:
|
|
27574
|
-
- code
|
|
27575
|
-
type: object
|
|
27576
28736
|
userUpdate:
|
|
27577
28737
|
description: User update
|
|
27578
28738
|
properties:
|
|
@@ -34840,6 +36000,11 @@ components:
|
|
|
34840
36000
|
required:
|
|
34841
36001
|
- serviceName
|
|
34842
36002
|
- serviceNamespace
|
|
36003
|
+
jsonBody:
|
|
36004
|
+
description: Represents a JSON body.
|
|
36005
|
+
properties: {}
|
|
36006
|
+
additionalProperties: true
|
|
36007
|
+
type: object
|
|
34843
36008
|
logBackendType:
|
|
34844
36009
|
type: string
|
|
34845
36010
|
description: Log query backend configured for this environment.
|
|
@@ -35875,11 +37040,6 @@ components:
|
|
|
35875
37040
|
- items
|
|
35876
37041
|
- updatedAt
|
|
35877
37042
|
type: object
|
|
35878
|
-
jsonBody:
|
|
35879
|
-
description: Represents a JSON body.
|
|
35880
|
-
properties: {}
|
|
35881
|
-
additionalProperties: true
|
|
35882
|
-
type: object
|
|
35883
37043
|
instanceResourceStatsType:
|
|
35884
37044
|
description: Type of the instance, choose cluster, system, or other
|
|
35885
37045
|
enum:
|
|
@@ -40550,7 +41710,13 @@ components:
|
|
|
40550
41710
|
modifierEmail:
|
|
40551
41711
|
type: string
|
|
40552
41712
|
option:
|
|
40553
|
-
|
|
41713
|
+
description: |
|
|
41714
|
+
Engine option document stored when this history row was written.
|
|
41715
|
+
This is a point-in-time snapshot, not the current engineOption
|
|
41716
|
+
create/update contract. Nested fields such as endpoints.protocol
|
|
41717
|
+
may be absent on older rows.
|
|
41718
|
+
type: object
|
|
41719
|
+
additionalProperties: true
|
|
40554
41720
|
createdAt:
|
|
40555
41721
|
type: string
|
|
40556
41722
|
format: date-time
|
|
@@ -49417,6 +50583,12 @@ components:
|
|
|
49417
50583
|
schema:
|
|
49418
50584
|
$ref: '#/components/schemas/APIErrorResponse'
|
|
49419
50585
|
description: Conflict
|
|
50586
|
+
'413':
|
|
50587
|
+
content:
|
|
50588
|
+
application/json:
|
|
50589
|
+
schema:
|
|
50590
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
|
50591
|
+
description: Payload Too Large
|
|
49420
50592
|
'429':
|
|
49421
50593
|
content:
|
|
49422
50594
|
application/json:
|