kb-cloud-client-typescript 2.4.0-alpha.62 → 2.4.0-alpha.63
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 +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -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/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 +905 -5
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +991 -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/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -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 +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -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/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 +905 -5
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +991 -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/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -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 +4 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +1623 -55
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +1776 -208
- package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/adminapi/models/index.ts +3 -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 +562 -0
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +1623 -55
- package/src/openapi/apis/seaweedfs-api.ts +1644 -0
- package/src/openapi/apis/shared-api.ts +1776 -208
- package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/openapi/models/index.ts +3 -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 +562 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BindSeaweedFSPoliciesRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface BindSeaweedFSPoliciesRequest {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof BindSeaweedFSPoliciesRequest
|
|
27
|
+
*/
|
|
28
|
+
'policies': Array<string>;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -127,6 +127,7 @@ export * from './basic-task';
|
|
|
127
127
|
export * from './bench-option';
|
|
128
128
|
export * from './bill';
|
|
129
129
|
export * from './bill-list';
|
|
130
|
+
export * from './bind-seaweed-fspolicies-request';
|
|
130
131
|
export * from './blue-green-deployment-account-option';
|
|
131
132
|
export * from './blue-green-deployment-engine-option';
|
|
132
133
|
export * from './broker';
|
|
@@ -617,6 +618,8 @@ export * from './license-request';
|
|
|
617
618
|
export * from './list-clickhouse-account-roles200-response';
|
|
618
619
|
export * from './list-clickhouse-account-roles200-response-privileges-inner';
|
|
619
620
|
export * from './list-kubernetes-node-op-type';
|
|
621
|
+
export * from './list-seaweed-fspolicies200-response';
|
|
622
|
+
export * from './list-seaweed-fspolicies200-response-items-inner';
|
|
620
623
|
export * from './llm';
|
|
621
624
|
export * from './llm-list';
|
|
622
625
|
export * from './load-balancer';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ListSeaweedFSPolicies200ResponseItemsInner
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSeaweedFSPolicies200ResponseItemsInner {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ListSeaweedFSPolicies200ResponseItemsInner
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: any; }}
|
|
32
|
+
* @memberof ListSeaweedFSPolicies200ResponseItemsInner
|
|
33
|
+
*/
|
|
34
|
+
'document': { [key: string]: any; };
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ListSeaweedFSPolicies200ResponseItemsInner } from './list-seaweed-fspolicies200-response-items-inner';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ListSeaweedFSPolicies200Response
|
|
24
|
+
*/
|
|
25
|
+
export interface ListSeaweedFSPolicies200Response {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ListSeaweedFSPolicies200ResponseItemsInner>}
|
|
29
|
+
* @memberof ListSeaweedFSPolicies200Response
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<ListSeaweedFSPolicies200ResponseItemsInner>;
|
|
32
|
+
}
|
|
33
|
+
|
package/src/adminapi.yaml
CHANGED
|
@@ -22232,6 +22232,568 @@ paths:
|
|
|
22232
22232
|
- database
|
|
22233
22233
|
- rdbms
|
|
22234
22234
|
- shared
|
|
22235
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
22236
|
+
get:
|
|
22237
|
+
description: Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
22238
|
+
summary: listSeaweedFSAccounts
|
|
22239
|
+
operationId: listSeaweedFSAccounts
|
|
22240
|
+
parameters:
|
|
22241
|
+
- description: name of the organization
|
|
22242
|
+
in: path
|
|
22243
|
+
name: orgName
|
|
22244
|
+
required: true
|
|
22245
|
+
schema:
|
|
22246
|
+
type: string
|
|
22247
|
+
- description: name of the cluster
|
|
22248
|
+
in: path
|
|
22249
|
+
name: clusterName
|
|
22250
|
+
required: true
|
|
22251
|
+
schema:
|
|
22252
|
+
type: string
|
|
22253
|
+
responses:
|
|
22254
|
+
'200':
|
|
22255
|
+
content:
|
|
22256
|
+
application/json:
|
|
22257
|
+
schema:
|
|
22258
|
+
$ref: '#/components/schemas/accountList'
|
|
22259
|
+
description: Success
|
|
22260
|
+
'400':
|
|
22261
|
+
description: Invalid request
|
|
22262
|
+
'401':
|
|
22263
|
+
$ref: '#/components/responses/401'
|
|
22264
|
+
'403':
|
|
22265
|
+
$ref: '#/components/responses/403'
|
|
22266
|
+
'404':
|
|
22267
|
+
$ref: '#/components/responses/404'
|
|
22268
|
+
'409':
|
|
22269
|
+
description: Resource conflict or policy in use
|
|
22270
|
+
'503':
|
|
22271
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22272
|
+
tags:
|
|
22273
|
+
- account
|
|
22274
|
+
- seaweedfs
|
|
22275
|
+
- shared
|
|
22276
|
+
x-codegen-request-body-name: body
|
|
22277
|
+
post:
|
|
22278
|
+
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.
|
|
22279
|
+
summary: createSeaweedFSAccount
|
|
22280
|
+
operationId: createSeaweedFSAccount
|
|
22281
|
+
parameters:
|
|
22282
|
+
- description: name of the organization
|
|
22283
|
+
in: path
|
|
22284
|
+
name: orgName
|
|
22285
|
+
required: true
|
|
22286
|
+
schema:
|
|
22287
|
+
type: string
|
|
22288
|
+
- description: name of the cluster
|
|
22289
|
+
in: path
|
|
22290
|
+
name: clusterName
|
|
22291
|
+
required: true
|
|
22292
|
+
schema:
|
|
22293
|
+
type: string
|
|
22294
|
+
requestBody:
|
|
22295
|
+
content:
|
|
22296
|
+
application/json:
|
|
22297
|
+
schema:
|
|
22298
|
+
$ref: '#/components/schemas/account'
|
|
22299
|
+
required: true
|
|
22300
|
+
responses:
|
|
22301
|
+
'201':
|
|
22302
|
+
description: Identity and initial credential created
|
|
22303
|
+
content:
|
|
22304
|
+
application/json:
|
|
22305
|
+
schema:
|
|
22306
|
+
$ref: '#/components/schemas/account'
|
|
22307
|
+
'400':
|
|
22308
|
+
description: Invalid request
|
|
22309
|
+
'401':
|
|
22310
|
+
$ref: '#/components/responses/401'
|
|
22311
|
+
'403':
|
|
22312
|
+
$ref: '#/components/responses/403'
|
|
22313
|
+
'404':
|
|
22314
|
+
$ref: '#/components/responses/404'
|
|
22315
|
+
'409':
|
|
22316
|
+
description: Resource conflict or policy in use
|
|
22317
|
+
'503':
|
|
22318
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22319
|
+
tags:
|
|
22320
|
+
- account
|
|
22321
|
+
- seaweedfs
|
|
22322
|
+
- shared
|
|
22323
|
+
x-codegen-request-body-name: body
|
|
22324
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
22325
|
+
delete:
|
|
22326
|
+
description: delete an account in cluster
|
|
22327
|
+
summary: deleteSeaweedFSAccount
|
|
22328
|
+
operationId: deleteSeaweedFSAccount
|
|
22329
|
+
parameters:
|
|
22330
|
+
- description: name of the organization
|
|
22331
|
+
in: path
|
|
22332
|
+
name: orgName
|
|
22333
|
+
required: true
|
|
22334
|
+
schema:
|
|
22335
|
+
type: string
|
|
22336
|
+
- description: name of the cluster
|
|
22337
|
+
in: path
|
|
22338
|
+
name: clusterName
|
|
22339
|
+
required: true
|
|
22340
|
+
schema:
|
|
22341
|
+
type: string
|
|
22342
|
+
- description: name of the account
|
|
22343
|
+
in: path
|
|
22344
|
+
name: accountName
|
|
22345
|
+
required: true
|
|
22346
|
+
schema:
|
|
22347
|
+
type: string
|
|
22348
|
+
responses:
|
|
22349
|
+
'204':
|
|
22350
|
+
content: {}
|
|
22351
|
+
description: Identity deleted
|
|
22352
|
+
'400':
|
|
22353
|
+
description: Invalid request
|
|
22354
|
+
'401':
|
|
22355
|
+
$ref: '#/components/responses/401'
|
|
22356
|
+
'403':
|
|
22357
|
+
$ref: '#/components/responses/403'
|
|
22358
|
+
'404':
|
|
22359
|
+
$ref: '#/components/responses/404'
|
|
22360
|
+
'409':
|
|
22361
|
+
description: Resource conflict or policy in use
|
|
22362
|
+
'503':
|
|
22363
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22364
|
+
tags:
|
|
22365
|
+
- account
|
|
22366
|
+
- seaweedfs
|
|
22367
|
+
- shared
|
|
22368
|
+
patch:
|
|
22369
|
+
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.
|
|
22370
|
+
summary: updateSeaweedFSAccount
|
|
22371
|
+
operationId: updateSeaweedFSAccount
|
|
22372
|
+
parameters:
|
|
22373
|
+
- description: name of the organization
|
|
22374
|
+
in: path
|
|
22375
|
+
name: orgName
|
|
22376
|
+
required: true
|
|
22377
|
+
schema:
|
|
22378
|
+
type: string
|
|
22379
|
+
- description: name of the cluster
|
|
22380
|
+
in: path
|
|
22381
|
+
name: clusterName
|
|
22382
|
+
required: true
|
|
22383
|
+
schema:
|
|
22384
|
+
type: string
|
|
22385
|
+
- description: name of the account
|
|
22386
|
+
in: path
|
|
22387
|
+
name: accountName
|
|
22388
|
+
required: true
|
|
22389
|
+
schema:
|
|
22390
|
+
type: string
|
|
22391
|
+
requestBody:
|
|
22392
|
+
content:
|
|
22393
|
+
application/json:
|
|
22394
|
+
schema:
|
|
22395
|
+
$ref: '#/components/schemas/account'
|
|
22396
|
+
required: true
|
|
22397
|
+
responses:
|
|
22398
|
+
'200':
|
|
22399
|
+
description: Selected credential updated
|
|
22400
|
+
content:
|
|
22401
|
+
application/json:
|
|
22402
|
+
schema:
|
|
22403
|
+
$ref: '#/components/schemas/account'
|
|
22404
|
+
'400':
|
|
22405
|
+
description: Invalid request
|
|
22406
|
+
'401':
|
|
22407
|
+
$ref: '#/components/responses/401'
|
|
22408
|
+
'403':
|
|
22409
|
+
$ref: '#/components/responses/403'
|
|
22410
|
+
'404':
|
|
22411
|
+
$ref: '#/components/responses/404'
|
|
22412
|
+
'409':
|
|
22413
|
+
description: Resource conflict or policy in use
|
|
22414
|
+
'503':
|
|
22415
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22416
|
+
tags:
|
|
22417
|
+
- account
|
|
22418
|
+
- seaweedfs
|
|
22419
|
+
- shared
|
|
22420
|
+
x-codegen-request-body-name: body
|
|
22421
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password:
|
|
22422
|
+
get:
|
|
22423
|
+
description: get root account password
|
|
22424
|
+
summary: getRootSeaweedFSAccountPassword
|
|
22425
|
+
operationId: getRootSeaweedFSAccountPassword
|
|
22426
|
+
parameters:
|
|
22427
|
+
- description: name of the Org
|
|
22428
|
+
in: path
|
|
22429
|
+
name: orgName
|
|
22430
|
+
required: true
|
|
22431
|
+
schema:
|
|
22432
|
+
type: string
|
|
22433
|
+
- description: name of the Cluster
|
|
22434
|
+
in: path
|
|
22435
|
+
name: clusterName
|
|
22436
|
+
required: true
|
|
22437
|
+
schema:
|
|
22438
|
+
type: string
|
|
22439
|
+
- description: name of the account
|
|
22440
|
+
in: query
|
|
22441
|
+
name: accountName
|
|
22442
|
+
required: true
|
|
22443
|
+
schema:
|
|
22444
|
+
type: string
|
|
22445
|
+
- description: name of the component
|
|
22446
|
+
in: query
|
|
22447
|
+
name: component
|
|
22448
|
+
required: false
|
|
22449
|
+
schema:
|
|
22450
|
+
type: string
|
|
22451
|
+
responses:
|
|
22452
|
+
'200':
|
|
22453
|
+
description: get root account password success
|
|
22454
|
+
content:
|
|
22455
|
+
application/json:
|
|
22456
|
+
schema:
|
|
22457
|
+
type: string
|
|
22458
|
+
'401':
|
|
22459
|
+
$ref: '#/components/responses/401'
|
|
22460
|
+
'403':
|
|
22461
|
+
$ref: '#/components/responses/403'
|
|
22462
|
+
'404':
|
|
22463
|
+
$ref: '#/components/responses/404'
|
|
22464
|
+
'409':
|
|
22465
|
+
$ref: '#/components/responses/409'
|
|
22466
|
+
'500':
|
|
22467
|
+
$ref: '#/components/responses/500'
|
|
22468
|
+
tags:
|
|
22469
|
+
- account
|
|
22470
|
+
- seaweedfs
|
|
22471
|
+
- shared
|
|
22472
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges:
|
|
22473
|
+
patch:
|
|
22474
|
+
description: Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
22475
|
+
summary: updateSeaweedFSAccountPrivileges
|
|
22476
|
+
operationId: updateSeaweedFSAccountPrivileges
|
|
22477
|
+
parameters:
|
|
22478
|
+
- description: name of the Org
|
|
22479
|
+
in: path
|
|
22480
|
+
name: orgName
|
|
22481
|
+
required: true
|
|
22482
|
+
schema:
|
|
22483
|
+
type: string
|
|
22484
|
+
- description: name of the Cluster
|
|
22485
|
+
in: path
|
|
22486
|
+
name: clusterName
|
|
22487
|
+
required: true
|
|
22488
|
+
schema:
|
|
22489
|
+
type: string
|
|
22490
|
+
- description: name of the account
|
|
22491
|
+
in: path
|
|
22492
|
+
name: accountName
|
|
22493
|
+
required: true
|
|
22494
|
+
schema:
|
|
22495
|
+
type: string
|
|
22496
|
+
requestBody:
|
|
22497
|
+
content:
|
|
22498
|
+
application/json:
|
|
22499
|
+
schema:
|
|
22500
|
+
$ref: '#/components/schemas/privilegeList'
|
|
22501
|
+
required: true
|
|
22502
|
+
responses:
|
|
22503
|
+
'400':
|
|
22504
|
+
description: SeaweedFS uses the named policy binding API
|
|
22505
|
+
tags:
|
|
22506
|
+
- account
|
|
22507
|
+
- seaweedfs
|
|
22508
|
+
- shared
|
|
22509
|
+
x-codegen-request-body-name: body
|
|
22510
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies:
|
|
22511
|
+
get:
|
|
22512
|
+
summary: listSeaweedFSPolicies
|
|
22513
|
+
operationId: listSeaweedFSPolicies
|
|
22514
|
+
tags:
|
|
22515
|
+
- account
|
|
22516
|
+
- seaweedfs
|
|
22517
|
+
- shared
|
|
22518
|
+
parameters:
|
|
22519
|
+
- in: path
|
|
22520
|
+
name: orgName
|
|
22521
|
+
required: true
|
|
22522
|
+
schema:
|
|
22523
|
+
type: string
|
|
22524
|
+
- in: path
|
|
22525
|
+
name: clusterName
|
|
22526
|
+
required: true
|
|
22527
|
+
schema:
|
|
22528
|
+
type: string
|
|
22529
|
+
responses:
|
|
22530
|
+
'200':
|
|
22531
|
+
description: Successful response
|
|
22532
|
+
content:
|
|
22533
|
+
application/json:
|
|
22534
|
+
schema:
|
|
22535
|
+
type: object
|
|
22536
|
+
required:
|
|
22537
|
+
- items
|
|
22538
|
+
properties:
|
|
22539
|
+
items:
|
|
22540
|
+
type: array
|
|
22541
|
+
items:
|
|
22542
|
+
type: object
|
|
22543
|
+
required:
|
|
22544
|
+
- name
|
|
22545
|
+
- document
|
|
22546
|
+
properties:
|
|
22547
|
+
name:
|
|
22548
|
+
type: string
|
|
22549
|
+
document:
|
|
22550
|
+
type: object
|
|
22551
|
+
additionalProperties: true
|
|
22552
|
+
'400':
|
|
22553
|
+
description: Invalid request
|
|
22554
|
+
'401':
|
|
22555
|
+
description: Unauthenticated
|
|
22556
|
+
'403':
|
|
22557
|
+
description: Permission denied or protected identity
|
|
22558
|
+
'404':
|
|
22559
|
+
description: Resource not found
|
|
22560
|
+
'409':
|
|
22561
|
+
description: Resource conflict or policy in use
|
|
22562
|
+
'503':
|
|
22563
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22564
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
|
|
22565
|
+
put:
|
|
22566
|
+
summary: putSeaweedFSPolicy
|
|
22567
|
+
operationId: putSeaweedFSPolicy
|
|
22568
|
+
tags:
|
|
22569
|
+
- account
|
|
22570
|
+
- seaweedfs
|
|
22571
|
+
- shared
|
|
22572
|
+
parameters:
|
|
22573
|
+
- in: path
|
|
22574
|
+
name: orgName
|
|
22575
|
+
required: true
|
|
22576
|
+
schema:
|
|
22577
|
+
type: string
|
|
22578
|
+
- in: path
|
|
22579
|
+
name: clusterName
|
|
22580
|
+
required: true
|
|
22581
|
+
schema:
|
|
22582
|
+
type: string
|
|
22583
|
+
- in: path
|
|
22584
|
+
name: policyName
|
|
22585
|
+
required: true
|
|
22586
|
+
schema:
|
|
22587
|
+
type: string
|
|
22588
|
+
responses:
|
|
22589
|
+
'204':
|
|
22590
|
+
description: Successful response
|
|
22591
|
+
'400':
|
|
22592
|
+
description: Invalid request
|
|
22593
|
+
'401':
|
|
22594
|
+
description: Unauthenticated
|
|
22595
|
+
'403':
|
|
22596
|
+
description: Permission denied or protected identity
|
|
22597
|
+
'404':
|
|
22598
|
+
description: Resource not found
|
|
22599
|
+
'409':
|
|
22600
|
+
description: Resource conflict or policy in use
|
|
22601
|
+
'503':
|
|
22602
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22603
|
+
requestBody:
|
|
22604
|
+
required: true
|
|
22605
|
+
content:
|
|
22606
|
+
application/json:
|
|
22607
|
+
schema:
|
|
22608
|
+
type: object
|
|
22609
|
+
additionalProperties: true
|
|
22610
|
+
description: Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
22611
|
+
delete:
|
|
22612
|
+
summary: deleteSeaweedFSPolicy
|
|
22613
|
+
operationId: deleteSeaweedFSPolicy
|
|
22614
|
+
tags:
|
|
22615
|
+
- account
|
|
22616
|
+
- seaweedfs
|
|
22617
|
+
- shared
|
|
22618
|
+
parameters:
|
|
22619
|
+
- in: path
|
|
22620
|
+
name: orgName
|
|
22621
|
+
required: true
|
|
22622
|
+
schema:
|
|
22623
|
+
type: string
|
|
22624
|
+
- in: path
|
|
22625
|
+
name: clusterName
|
|
22626
|
+
required: true
|
|
22627
|
+
schema:
|
|
22628
|
+
type: string
|
|
22629
|
+
- in: path
|
|
22630
|
+
name: policyName
|
|
22631
|
+
required: true
|
|
22632
|
+
schema:
|
|
22633
|
+
type: string
|
|
22634
|
+
responses:
|
|
22635
|
+
'204':
|
|
22636
|
+
description: Successful response
|
|
22637
|
+
'400':
|
|
22638
|
+
description: Invalid request
|
|
22639
|
+
'401':
|
|
22640
|
+
description: Unauthenticated
|
|
22641
|
+
'403':
|
|
22642
|
+
description: Permission denied or protected identity
|
|
22643
|
+
'404':
|
|
22644
|
+
description: Resource not found
|
|
22645
|
+
'409':
|
|
22646
|
+
description: Resource conflict or policy in use
|
|
22647
|
+
'503':
|
|
22648
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22649
|
+
description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
22650
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
|
|
22651
|
+
put:
|
|
22652
|
+
summary: bindSeaweedFSPolicies
|
|
22653
|
+
operationId: bindSeaweedFSPolicies
|
|
22654
|
+
tags:
|
|
22655
|
+
- account
|
|
22656
|
+
- seaweedfs
|
|
22657
|
+
- shared
|
|
22658
|
+
parameters:
|
|
22659
|
+
- in: path
|
|
22660
|
+
name: orgName
|
|
22661
|
+
required: true
|
|
22662
|
+
schema:
|
|
22663
|
+
type: string
|
|
22664
|
+
- in: path
|
|
22665
|
+
name: clusterName
|
|
22666
|
+
required: true
|
|
22667
|
+
schema:
|
|
22668
|
+
type: string
|
|
22669
|
+
- in: path
|
|
22670
|
+
name: accountName
|
|
22671
|
+
required: true
|
|
22672
|
+
schema:
|
|
22673
|
+
type: string
|
|
22674
|
+
responses:
|
|
22675
|
+
'204':
|
|
22676
|
+
description: Successful response
|
|
22677
|
+
'400':
|
|
22678
|
+
description: Invalid request
|
|
22679
|
+
'401':
|
|
22680
|
+
description: Unauthenticated
|
|
22681
|
+
'403':
|
|
22682
|
+
description: Permission denied or protected identity
|
|
22683
|
+
'404':
|
|
22684
|
+
description: Resource not found
|
|
22685
|
+
'409':
|
|
22686
|
+
description: Resource conflict or policy in use
|
|
22687
|
+
'503':
|
|
22688
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22689
|
+
requestBody:
|
|
22690
|
+
required: true
|
|
22691
|
+
content:
|
|
22692
|
+
application/json:
|
|
22693
|
+
schema:
|
|
22694
|
+
type: object
|
|
22695
|
+
required:
|
|
22696
|
+
- policies
|
|
22697
|
+
properties:
|
|
22698
|
+
policies:
|
|
22699
|
+
type: array
|
|
22700
|
+
items:
|
|
22701
|
+
type: string
|
|
22702
|
+
description: Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
22703
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys:
|
|
22704
|
+
post:
|
|
22705
|
+
summary: createSeaweedFSAccessKey
|
|
22706
|
+
operationId: createSeaweedFSAccessKey
|
|
22707
|
+
tags:
|
|
22708
|
+
- account
|
|
22709
|
+
- seaweedfs
|
|
22710
|
+
- shared
|
|
22711
|
+
parameters:
|
|
22712
|
+
- in: path
|
|
22713
|
+
name: orgName
|
|
22714
|
+
required: true
|
|
22715
|
+
schema:
|
|
22716
|
+
type: string
|
|
22717
|
+
- in: path
|
|
22718
|
+
name: clusterName
|
|
22719
|
+
required: true
|
|
22720
|
+
schema:
|
|
22721
|
+
type: string
|
|
22722
|
+
- in: path
|
|
22723
|
+
name: accountName
|
|
22724
|
+
required: true
|
|
22725
|
+
schema:
|
|
22726
|
+
type: string
|
|
22727
|
+
responses:
|
|
22728
|
+
'201':
|
|
22729
|
+
description: Successful response
|
|
22730
|
+
content:
|
|
22731
|
+
application/json:
|
|
22732
|
+
schema:
|
|
22733
|
+
$ref: '#/components/schemas/account'
|
|
22734
|
+
'400':
|
|
22735
|
+
description: Invalid request
|
|
22736
|
+
'401':
|
|
22737
|
+
description: Unauthenticated
|
|
22738
|
+
'403':
|
|
22739
|
+
description: Permission denied or protected identity
|
|
22740
|
+
'404':
|
|
22741
|
+
description: Resource not found
|
|
22742
|
+
'409':
|
|
22743
|
+
description: Resource conflict or policy in use
|
|
22744
|
+
'503':
|
|
22745
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22746
|
+
requestBody:
|
|
22747
|
+
required: true
|
|
22748
|
+
content:
|
|
22749
|
+
application/json:
|
|
22750
|
+
schema:
|
|
22751
|
+
$ref: '#/components/schemas/account'
|
|
22752
|
+
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.
|
|
22753
|
+
/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}:
|
|
22754
|
+
delete:
|
|
22755
|
+
summary: deleteSeaweedFSAccessKey
|
|
22756
|
+
operationId: deleteSeaweedFSAccessKey
|
|
22757
|
+
tags:
|
|
22758
|
+
- account
|
|
22759
|
+
- seaweedfs
|
|
22760
|
+
- shared
|
|
22761
|
+
parameters:
|
|
22762
|
+
- in: path
|
|
22763
|
+
name: orgName
|
|
22764
|
+
required: true
|
|
22765
|
+
schema:
|
|
22766
|
+
type: string
|
|
22767
|
+
- in: path
|
|
22768
|
+
name: clusterName
|
|
22769
|
+
required: true
|
|
22770
|
+
schema:
|
|
22771
|
+
type: string
|
|
22772
|
+
- in: path
|
|
22773
|
+
name: accountName
|
|
22774
|
+
required: true
|
|
22775
|
+
schema:
|
|
22776
|
+
type: string
|
|
22777
|
+
- in: path
|
|
22778
|
+
name: accessKey
|
|
22779
|
+
required: true
|
|
22780
|
+
schema:
|
|
22781
|
+
type: string
|
|
22782
|
+
responses:
|
|
22783
|
+
'204':
|
|
22784
|
+
description: Successful response
|
|
22785
|
+
'400':
|
|
22786
|
+
description: Invalid request
|
|
22787
|
+
'401':
|
|
22788
|
+
description: Unauthenticated
|
|
22789
|
+
'403':
|
|
22790
|
+
description: Permission denied or protected identity
|
|
22791
|
+
'404':
|
|
22792
|
+
description: Resource not found
|
|
22793
|
+
'409':
|
|
22794
|
+
description: Resource conflict or policy in use
|
|
22795
|
+
'503':
|
|
22796
|
+
description: IAM unavailable; mutation outcome may be unknown
|
|
22235
22797
|
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
22236
22798
|
get:
|
|
22237
22799
|
description: list accounts in cluster
|