|
3315 | 3315 | }
|
3316 | 3316 | }
|
3317 | 3317 | },
|
| 3318 | + "/v1/dms/projects/{project_uid}/statistic/cb_instances": { |
| 3319 | + "get": { |
| 3320 | + "tags": [ |
| 3321 | + "dms" |
| 3322 | + ], |
| 3323 | + "summary": "Get cb instance statistic.", |
| 3324 | + "operationId": "GetCBInstanceStatistic", |
| 3325 | + "parameters": [ |
| 3326 | + { |
| 3327 | + "type": "string", |
| 3328 | + "x-go-name": "ProjectUid", |
| 3329 | + "description": "project id", |
| 3330 | + "name": "project_uid", |
| 3331 | + "in": "path", |
| 3332 | + "required": true |
| 3333 | + } |
| 3334 | + ], |
| 3335 | + "responses": { |
| 3336 | + "200": { |
| 3337 | + "description": "GetCBInstanceStatisticReply", |
| 3338 | + "schema": { |
| 3339 | + "$ref": "#/definitions/GetCBInstanceStatisticReply" |
| 3340 | + } |
| 3341 | + }, |
| 3342 | + "default": { |
| 3343 | + "description": "GenericResp", |
| 3344 | + "schema": { |
| 3345 | + "$ref": "#/definitions/GenericResp" |
| 3346 | + } |
| 3347 | + } |
| 3348 | + } |
| 3349 | + } |
| 3350 | + }, |
| 3351 | + "/v1/dms/projects/{project_uid}/statistic/cb_operations": { |
| 3352 | + "get": { |
| 3353 | + "tags": [ |
| 3354 | + "dms" |
| 3355 | + ], |
| 3356 | + "summary": "Get cb operation statistic.", |
| 3357 | + "operationId": "GetCBOperationStatistic", |
| 3358 | + "parameters": [ |
| 3359 | + { |
| 3360 | + "type": "string", |
| 3361 | + "x-go-name": "ProjectUid", |
| 3362 | + "description": "project id", |
| 3363 | + "name": "project_uid", |
| 3364 | + "in": "path", |
| 3365 | + "required": true |
| 3366 | + } |
| 3367 | + ], |
| 3368 | + "responses": { |
| 3369 | + "200": { |
| 3370 | + "description": "GetCBOperationStatisticReply", |
| 3371 | + "schema": { |
| 3372 | + "$ref": "#/definitions/GetCBOperationStatisticReply" |
| 3373 | + } |
| 3374 | + }, |
| 3375 | + "default": { |
| 3376 | + "description": "GenericResp", |
| 3377 | + "schema": { |
| 3378 | + "$ref": "#/definitions/GenericResp" |
| 3379 | + } |
| 3380 | + } |
| 3381 | + } |
| 3382 | + } |
| 3383 | + }, |
3318 | 3384 | "/v1/dms/projects/{project_uid}/unarchive": {
|
3319 | 3385 | "put": {
|
3320 | 3386 | "tags": [
|
|
4738 | 4804 | },
|
4739 | 4805 | "x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
|
4740 | 4806 | },
|
| 4807 | + "CBOperationLogTips": { |
| 4808 | + "type": "object", |
| 4809 | + "properties": { |
| 4810 | + "exec_result": { |
| 4811 | + "type": "array", |
| 4812 | + "items": { |
| 4813 | + "type": "string" |
| 4814 | + }, |
| 4815 | + "x-go-name": "ExecResult" |
| 4816 | + } |
| 4817 | + }, |
| 4818 | + "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
| 4819 | + }, |
4741 | 4820 | "CancelDataExportWorkflowPayload": {
|
4742 | 4821 | "type": "object",
|
4743 | 4822 | "required": [
|
|
4754 | 4833 | },
|
4755 | 4834 | "x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
|
4756 | 4835 | },
|
| 4836 | + "CbDbServiceStatistic": { |
| 4837 | + "type": "object", |
| 4838 | + "properties": { |
| 4839 | + "content": { |
| 4840 | + "type": "array", |
| 4841 | + "items": { |
| 4842 | + "$ref": "#/definitions/CbDbServiceStatisticContent" |
| 4843 | + }, |
| 4844 | + "x-go-name": "Content" |
| 4845 | + }, |
| 4846 | + "count": { |
| 4847 | + "type": "integer", |
| 4848 | + "format": "int64", |
| 4849 | + "x-go-name": "Count" |
| 4850 | + }, |
| 4851 | + "name": { |
| 4852 | + "type": "string", |
| 4853 | + "x-go-name": "Name" |
| 4854 | + } |
| 4855 | + }, |
| 4856 | + "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
| 4857 | + }, |
| 4858 | + "CbDbServiceStatisticContent": { |
| 4859 | + "type": "object", |
| 4860 | + "properties": { |
| 4861 | + "schema": { |
| 4862 | + "type": "string", |
| 4863 | + "x-go-name": "Schema" |
| 4864 | + }, |
| 4865 | + "table": { |
| 4866 | + "type": "string", |
| 4867 | + "x-go-name": "Table" |
| 4868 | + } |
| 4869 | + }, |
| 4870 | + "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
| 4871 | + }, |
| 4872 | + "CbOperationStatistic": { |
| 4873 | + "type": "object", |
| 4874 | + "properties": { |
| 4875 | + "operation_count": { |
| 4876 | + "type": "integer", |
| 4877 | + "format": "int64", |
| 4878 | + "x-go-name": "OperationCount" |
| 4879 | + }, |
| 4880 | + "operation_type": { |
| 4881 | + "type": "string", |
| 4882 | + "x-go-name": "OperationType" |
| 4883 | + } |
| 4884 | + }, |
| 4885 | + "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
| 4886 | + }, |
4757 | 4887 | "CheckDBServiceIsConnectableReply": {
|
4758 | 4888 | "type": "object",
|
4759 | 4889 | "properties": {
|
|
5328 | 5458 | },
|
5329 | 5459 | "x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
|
5330 | 5460 | },
|
| 5461 | + "GetCBInstanceStatisticReply": { |
| 5462 | + "type": "object", |
| 5463 | + "properties": { |
| 5464 | + "code": { |
| 5465 | + "description": "code", |
| 5466 | + "type": "integer", |
| 5467 | + "format": "int64", |
| 5468 | + "x-go-name": "Code" |
| 5469 | + }, |
| 5470 | + "data": { |
| 5471 | + "type": "array", |
| 5472 | + "items": { |
| 5473 | + "$ref": "#/definitions/CbDbServiceStatistic" |
| 5474 | + }, |
| 5475 | + "x-go-name": "Data" |
| 5476 | + }, |
| 5477 | + "message": { |
| 5478 | + "description": "message", |
| 5479 | + "type": "string", |
| 5480 | + "x-go-name": "Message" |
| 5481 | + } |
| 5482 | + }, |
| 5483 | + "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
| 5484 | + }, |
5331 | 5485 | "GetCBOperationLogTipsReply": {
|
5332 | 5486 | "type": "object",
|
5333 | 5487 | "properties": {
|
|
5338 | 5492 | "x-go-name": "Code"
|
5339 | 5493 | },
|
5340 | 5494 | "data": {
|
5341 |
| - "$ref": "#/definitions/cBOperationLogTips" |
| 5495 | + "$ref": "#/definitions/CBOperationLogTips" |
| 5496 | + }, |
| 5497 | + "message": { |
| 5498 | + "description": "message", |
| 5499 | + "type": "string", |
| 5500 | + "x-go-name": "Message" |
| 5501 | + } |
| 5502 | + }, |
| 5503 | + "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
| 5504 | + }, |
| 5505 | + "GetCBOperationStatisticReply": { |
| 5506 | + "type": "object", |
| 5507 | + "properties": { |
| 5508 | + "code": { |
| 5509 | + "description": "code", |
| 5510 | + "type": "integer", |
| 5511 | + "format": "int64", |
| 5512 | + "x-go-name": "Code" |
| 5513 | + }, |
| 5514 | + "data": { |
| 5515 | + "type": "array", |
| 5516 | + "items": { |
| 5517 | + "$ref": "#/definitions/CbOperationStatistic" |
| 5518 | + }, |
| 5519 | + "x-go-name": "Data" |
5342 | 5520 | },
|
5343 | 5521 | "message": {
|
5344 | 5522 | "description": "message",
|
|
9062 | 9240 | }
|
9063 | 9241 | },
|
9064 | 9242 | "x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
|
9065 |
| - }, |
9066 |
| - "cBOperationLogTips": { |
9067 |
| - "type": "object", |
9068 |
| - "properties": { |
9069 |
| - "exec_result": { |
9070 |
| - "type": "array", |
9071 |
| - "items": { |
9072 |
| - "type": "string" |
9073 |
| - }, |
9074 |
| - "x-go-name": "ExecResult" |
9075 |
| - } |
9076 |
| - }, |
9077 |
| - "x-go-package": "github.com/actiontech/dms/api/dms/service/v1" |
9078 | 9243 | }
|
9079 | 9244 | },
|
9080 | 9245 | "responses": {
|
|
0 commit comments