tccli 3.0.1374.1__py2.py3-none-any.whl → 3.0.1375.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/cbs/v20170312/api.json +11 -2
- tccli/services/ccc/v20200210/api.json +17 -8
- tccli/services/csip/v20221121/api.json +1 -1
- tccli/services/cwp/v20180228/api.json +5 -5
- tccli/services/dlc/dlc_client.py +399 -28
- tccli/services/dlc/v20210125/api.json +557 -0
- tccli/services/dlc/v20210125/examples.json +56 -0
- tccli/services/es/v20180416/api.json +49 -0
- tccli/services/ess/v20201111/api.json +18 -0
- tccli/services/essbasic/v20210526/api.json +38 -0
- tccli/services/ioa/v20220601/api.json +48 -29
- tccli/services/mps/v20190612/api.json +34 -6
- tccli/services/postgres/v20170312/api.json +1 -1
- tccli/services/rce/v20201103/api.json +1 -1
- tccli/services/tbaas/v20180416/api.json +30 -30
- tccli/services/tbaas/v20180416/examples.json +4 -4
- tccli/services/tcaplusdb/v20190823/api.json +926 -900
- tccli/services/tcaplusdb/v20190823/examples.json +56 -56
- tccli/services/tcss/v20201101/api.json +4 -4
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +35 -11
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/trocket/v20230308/api.json +2 -2
- tccli/services/tse/v20201207/api.json +9 -0
- tccli/services/tsf/v20180326/api.json +48 -48
- tccli/services/vod/v20180717/api.json +11 -11
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/RECORD +32 -32
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/license_files/LICENSE +0 -0
@@ -4,28 +4,28 @@
|
|
4
4
|
{
|
5
5
|
"document": "清除表",
|
6
6
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=ClearTables\r\n&ClusterId=5674209986\r\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\r\n&SelectedTables.0.TableGroupId=101\r\n&SelectedTables.0.TableName=tb_example\r\n&<公共请求参数>",
|
7
|
-
"output": "{\n \"Response\": {\n \"
|
7
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"abc8989\",\n \"TaskId\": \"768786\",\n \"TableName\": \"abc\",\n \"TableType\": \"1\",\n \"TableIdlType\": \"1\",\n \"TableGroupId\": \"2321\",\n \"TaskIds\": [\n \"abc\"\n ],\n \"ApplicationId\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
8
8
|
"title": "清除表"
|
9
9
|
},
|
10
10
|
{
|
11
11
|
"document": "clearTable-test",
|
12
12
|
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClearTables\n<公共请求参数>\n\n{\n \"ClusterId\": \"19090249266\",\n \"SelectedTables\": [\n {\n \"TableGroupId\": \"1\",\n \"TableName\": \"auto_proto2_gene_0_27110510\",\n \"TableIdlType\": \"TDR\",\n \"TableType\": \"GENERIC\"\n }\n ]\n}",
|
13
|
-
"output": "{\n \"Response\": {\n \"
|
13
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"abc\",\n \"TaskId\": \"abc\",\n \"TableName\": \"abc\",\n \"TableType\": \"abc\",\n \"TableIdlType\": \"abc\",\n \"TableGroupId\": \"abc\",\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n },\n \"TaskIds\": [\n \"abc\"\n ],\n \"ApplicationId\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
14
14
|
"title": "clearTable"
|
15
15
|
}
|
16
16
|
],
|
17
17
|
"CompareIdlFiles": [
|
18
18
|
{
|
19
19
|
"document": "上传并校验修改表格结构文件",
|
20
|
-
"input": "
|
21
|
-
"output": "{\n \"Response\": {\n \"IdlFiles\": [\n {\n \"
|
20
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=CompareIdlFiles\r\n&ClusterId=5674209986\r\n&NewIdlFiles.0.FileName=tb_example_modify\r\n&NewIdlFiles.0.FileType=PROTO\r\n&NewIdlFiles.0.FileExtType=proto\r\n&NewIdlFiles.0.FileSize=287\r\n&NewIdlFiles.0.FileContent=syntax%3d%22proto2%22%3bpackage+myTcaplusTable%3bimport+%22tcaplusservice.optionv1.proto%22%3bmessage+tb_example%7boption(tcaplusservice.tcaplus_primary_key)%3d%22uin%2cname%22%3brequired+int64+uin+%3d+1%3brequired+string+name+%3d+2%3brequired+int32+gamesvrid+%3d+3%3boptional+string+logintime+%3d+4%3boptional+int32+add_v1+%3d+5%3b%7d\r\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\r\n&SelectedTables.0.TableGroupId=101\r\n&SelectedTables.0.TableName=tb_example\r\n&SelectedTables.0.TableIdlType=PROTO\r\n&<公共请求参数>",
|
21
|
+
"output": "{\n \"Response\": {\n \"IdlFiles\": [\n {\n \"FileName\": \"filename\",\n \"FileType\": \"PROTO\",\n \"FileExtType\": \"proto\",\n \"FileSize\": 0,\n \"FileId\": 0,\n \"FileContent\": \"content\"\n }\n ],\n \"TotalCount\": 1,\n \"TableInfos\": [\n {\n \"TableIdlType\": \"PROTO\",\n \"TableInstanceId\": \"tcaplus-12132\",\n \"TableName\": \"name\",\n \"TableType\": \"proto\",\n \"KeyFields\": \"keyfield\",\n \"OldKeyFields\": \"oldkey\",\n \"ValueFields\": \"value\",\n \"OldValueFields\": \"oldvalue\",\n \"TableGroupId\": \"\",\n \"SumKeyFieldSize\": 120,\n \"SumValueFieldSize\": 3320,\n \"IndexKeySet\": \"indexkeyset\",\n \"ShardingKeySet\": \"shardingkey\",\n \"TdrVersion\": 0,\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"ListElementNum\": 0,\n \"SortFieldNum\": 0,\n \"SortRule\": 0\n }\n ],\n \"RequestId\": \"435341\"\n }\n}",
|
22
22
|
"title": "上传并校验修改表格结构文件"
|
23
23
|
}
|
24
24
|
],
|
25
25
|
"CreateBackup": [
|
26
26
|
{
|
27
27
|
"document": "创建备份",
|
28
|
-
"input": "https://tcaplusdb.tencentcloudapi.com/?Action=CreateBackup\n&ClusterId=22762983670\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\n&SelectedTables.0.TableGroupId=101\n&SelectedTables.0.TableName=tb_example\n&Remark=
|
28
|
+
"input": "https://tcaplusdb.tencentcloudapi.com/?Action=CreateBackup\n&ClusterId=22762983670\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\n&SelectedTables.0.TableGroupId=101\n&SelectedTables.0.TableName=tb_example\n&Remark=remark\n&<公共请求参数>",
|
29
29
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c3446e81-4d07-4a80-a07f-f34f94b598bc\",\n \"TaskIds\": [\n \"22762983670-1\"\n ],\n \"ApplicationIds\": [\n \"34324234\"\n ]\n }\n}",
|
30
30
|
"title": "创建备份"
|
31
31
|
}
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"CreateSnapshots": [
|
42
42
|
{
|
43
43
|
"document": "",
|
44
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
44
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"1454345\",\n \"SelectedTables\": [\n {\n \"SnapshotName\": \"666\",\n \"TableGroupId\": \"1\",\n \"SnapshotTime\": \"2020-09-22 00:00:00\",\n \"TableName\": \"cl_generic\",\n \"SnapshotDeadTime\": \"2020-09-22 00:00:00\"\n }\n ]\n}",
|
45
45
|
"output": "{\n \"Response\": {\n \"RequestId\": \"17af6a7a-1fcc-4c1d-a4a2-caab4d9e75cc\",\n \"TableResults\": [\n {\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"SnapshotCreateTime\": \"2021-03-19 11:40:40\",\n \"SnapshotDeadTime\": \"2021-03-20 11:40:30\",\n \"SnapshotName\": \"666\",\n \"SnapshotSize\": 0,\n \"SnapshotStatus\": 0,\n \"SnapshotTime\": \"2021-03-12 11:40:32\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"cl_generic\",\n \"TaskId\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
46
46
|
"title": "创建快照"
|
47
47
|
}
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"CreateTableGroup": [
|
50
50
|
{
|
51
51
|
"document": "在集群下创建TcaplusDB表格组",
|
52
|
-
"input": "
|
52
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=CreateTableGroup\r\n&ClusterId=6179109757\r\n&TableGroupName=tdr区1\r\n&<公共请求参数>",
|
53
53
|
"output": "{\n \"Response\": {\n \"TableGroupId\": \"1\",\n \"RequestId\": \"d87c0378-47af-4d59-920d-82fd2a778e6c\"\n }\n}",
|
54
54
|
"title": "创建表格组"
|
55
55
|
}
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"CreateTables": [
|
58
58
|
{
|
59
59
|
"document": "批量创建表",
|
60
|
-
"input": "https://tcaplus.tencentcloudapi.com/?Action=CreateTables\
|
60
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=CreateTables\n&ClusterId=22762983670\n&IdlFiles.0.FileName=table_test_2_modify\n&IdlFiles.0.FileSize=673\n&IdlFiles.0.FileExtType=proto\n&IdlFiles.0.FileId=46\n&IdlFiles.0.FileType=PROTO\n&SelectedTables.0.TableIdlType=PROTO\n&SelectedTables.0.ReservedReadQps=80\n&SelectedTables.0.ReservedWriteQps=26\n&SelectedTables.0.ReservedVolume=1\n&SelectedTables.0.TableGroupId=2\n&SelectedTables.0.TableName=PLAYERONLINECNT\n&SelectedTables.0.TableType=GENERIC\n&SelectedTables.0.Memo=memo\n&<公共请求参数>",
|
61
61
|
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableIdlType\": \"TDR\",\n \"TableInstanceId\": \"tcaplus-c6187008\",\n \"TableName\": \"PLAYERONLINECNT\",\n \"TableGroupId\": \"2\",\n \"TaskId\": \"22762983670-144\",\n \"TableType\": \"GENERIC\"\n }\n ],\n \"RequestId\": \"8cEcE3E8-2fE2-6d4b-5E34-Fdc01E35f2C6\"\n }\n}",
|
62
62
|
"title": "批量创建表"
|
63
63
|
}
|
@@ -65,15 +65,15 @@
|
|
65
65
|
"DeleteBackupRecords": [
|
66
66
|
{
|
67
67
|
"document": "删除备份记录",
|
68
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackupRecords\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
69
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
68
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackupRecords\n<公共请求参数>\n\n{\n \"ClusterId\": \"12345\",\n \"BackupRecords\": [\n {\n \"BackupBatchTime\": \"1731661134\",\n \"AppId\": 1,\n \"TableName\": \"test\",\n \"ZoneId\": 1,\n \"BackupType\": \"1\",\n \"FileTag\": \"1\",\n \"ShardCount\": 1,\n \"BackupExpireTime\": \"1731661134\",\n \"BackupSuccRate\": \"1\",\n \"BackupFileSize\": 1\n }\n ]\n}",
|
69
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1232222\",\n \"TaskId\": \"12321\"\n }\n}",
|
70
70
|
"title": "删除备份记录"
|
71
71
|
}
|
72
72
|
],
|
73
73
|
"DeleteCluster": [
|
74
74
|
{
|
75
75
|
"document": "指定集群ID删除TcaplusDB集群。",
|
76
|
-
"input": "
|
76
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DeleteCluster\r\n&ClusterId=6179109757\r\n&<公共请求参数>",
|
77
77
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abd7111a-62d4-4bbb-a781-3646040e9530\",\n \"TaskId\": \"6179109757-1210\"\n }\n}",
|
78
78
|
"title": "删除集群"
|
79
79
|
}
|
@@ -81,15 +81,15 @@
|
|
81
81
|
"DeleteIdlFiles": [
|
82
82
|
{
|
83
83
|
"document": "删除目标idl文件",
|
84
|
-
"input": "
|
85
|
-
"output": "{\n \"Response\": {\n \"IdlFileInfos\": [\n {\n \"
|
84
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DeleteIdlFiles\r\n&ClusterId=6084038577\r\n&IdlFiles.0.FileName=tb_example\r\n&IdlFiles.0.FileType=PROTO\r\n&IdlFiles.0.FileExtType=proto\r\n&IdlFiles.0.FileSize=266\r\n&IdlFiles.0.FileId=849\r\n&<公共请求参数>",
|
85
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"IdlFileInfos\": [\n {\n \"FileName\": \"filename\",\n \"FileType\": \"proto\",\n \"FileExtType\": \"proto\",\n \"FileSize\": 12230,\n \"FileId\": 1,\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n }\n }\n ],\n \"RequestId\": \"16454\"\n }\n}",
|
86
86
|
"title": "删除目标idl文件"
|
87
87
|
}
|
88
88
|
],
|
89
89
|
"DeleteSnapshots": [
|
90
90
|
{
|
91
91
|
"document": "删除快照数据",
|
92
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
92
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"165765\",\n \"SelectedTables\": [\n {\n \"SnapshotName\": \"666\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"cl_generic\",\n \"SnapshotDeadTime\": \"2020-09-22 00:00:00\"\n }\n ]\n}",
|
93
93
|
"output": "{\n \"Response\": {\n \"RequestId\": \"17af6a7a-1fcc-4c1d-a4a2-caab4d9e75cc\",\n \"TableResults\": [\n {\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"SnapshotCreateTime\": \"2021-03-19 11:40:40\",\n \"SnapshotDeadTime\": \"2021-03-20 11:40:30\",\n \"SnapshotName\": \"666\",\n \"SnapshotSize\": 0,\n \"SnapshotStatus\": 0,\n \"SnapshotTime\": \"2021-03-12 11:40:32\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"cl_generic\",\n \"TaskId\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
94
94
|
"title": "删除快照"
|
95
95
|
}
|
@@ -105,7 +105,7 @@
|
|
105
105
|
"DeleteTableGroup": [
|
106
106
|
{
|
107
107
|
"document": "根据集群ID和表格组ID参数删除表格组",
|
108
|
-
"input": "
|
108
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DeleteTableGroup\r\n&ClusterId=6179109757\r\n&TableGroupId=1\r\n&<公共请求参数>",
|
109
109
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1d7ba682-570c-4589-9624-7b463cd5d852\",\n \"TaskId\": \"6179109757-1208\"\n }\n}",
|
110
110
|
"title": "删除表格组"
|
111
111
|
}
|
@@ -114,7 +114,7 @@
|
|
114
114
|
{
|
115
115
|
"document": "删除表格分布式索引",
|
116
116
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DeleteTableIndex\r\n&ClusterId=5674209986\r\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\r\n&SelectedTables.0.TableGroupId=101\r\n&SelectedTables.0.TableName=tb_example\r\n&<公共请求参数>",
|
117
|
-
"output": "{\n \"Response\": {\n \"
|
117
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"abc\",\n \"TaskId\": \"abc\",\n \"TableName\": \"abc\",\n \"TableType\": \"1\",\n \"TableIdlType\": \"1\",\n \"TableGroupId\": \"342324\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"234232\"\n ],\n \"ApplicationId\": \"2342\"\n }\n ],\n \"RequestId\": \"23424211\"\n }\n}",
|
118
118
|
"title": "删除表格分布式索引"
|
119
119
|
}
|
120
120
|
],
|
@@ -122,14 +122,14 @@
|
|
122
122
|
{
|
123
123
|
"document": "删除表",
|
124
124
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DeleteTables\r\n&ClusterId=5674209986\r\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\r\n&SelectedTables.0.TableGroupId=101\r\n&SelectedTables.0.TableName=tb_example\r\n&<公共请求参数>",
|
125
|
-
"output": "{\n \"Response\": {\n \"
|
125
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"56755\",\n \"TaskId\": \"5675\",\n \"TableName\": \"abc\",\n \"TableType\": \"1\",\n \"TableIdlType\": \"1\",\n \"TableGroupId\": \"23121\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"657567\"\n ],\n \"ApplicationId\": \"57657\"\n }\n ],\n \"RequestId\": \"576567\"\n }\n}",
|
126
126
|
"title": "删除表"
|
127
127
|
}
|
128
128
|
],
|
129
129
|
"DescribeApplications": [
|
130
130
|
{
|
131
131
|
"document": "",
|
132
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplications\n<公共请求参数>\n\n{\n \"TableGroupId\": \"
|
132
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplications\n<公共请求参数>\n\n{\n \"TableGroupId\": \"89879\",\n \"ClusterId\": \"789789\",\n \"Applicant\": \"23\",\n \"TableName\": \"testname\",\n \"Limit\": 1,\n \"Offset\": 1,\n \"CensorStatus\": 0,\n \"ApplyType\": 0\n}",
|
133
133
|
"output": "{\n \"Response\": {\n \"Applications\": [\n {\n \"Applicant\": \"100000012683\",\n \"ApplicationId\": \"4-169\",\n \"ApplicationStatus\": 2,\n \"ApplicationType\": 2,\n \"CanCensor\": true,\n \"CanWithdrawal\": false,\n \"ClusterId\": \"4\",\n \"ClusterName\": \"xml_1_ly\",\n \"CreatedTime\": \"2021-02-25 11:58:37\",\n \"ExecuteStatus\": \"-1\",\n \"ExecuteUser\": \"222\",\n \"TableGroupId\": \"1\",\n \"TableGroupName\": \"zone_1_1\",\n \"TableInstanceId\": \"null\",\n \"TableName\": \"add_table10\",\n \"TaskId\": \"0\",\n \"UpdateTime\": \"2021-02-25 11:58:37\"\n }\n ],\n \"RequestId\": \"fdsfdsfdsfdsf\",\n \"TotalCount\": 92\n }\n}",
|
134
134
|
"title": "获取审批申请"
|
135
135
|
}
|
@@ -137,8 +137,8 @@
|
|
137
137
|
"DescribeBackupRecords": [
|
138
138
|
{
|
139
139
|
"document": "",
|
140
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupRecords\n<公共请求参数>\n\n{\n \"
|
141
|
-
"output": "{\n \"Response\": {\n \"
|
140
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupRecords\n<公共请求参数>\n\n{\n \"ClusterId\": \"1345225\",\n \"Limit\": 0,\n \"Offset\": 0,\n \"TableGroupId\": \"2313\",\n \"TableName\": \"testname\"\n}",
|
141
|
+
"output": "{\n \"Response\": {\n \"BackupRecords\": [\n {\n \"ZoneId\": 1,\n \"TableName\": \"testname\",\n \"BackupType\": \"1\",\n \"FileTag\": \"2\",\n \"ShardCount\": 1,\n \"BackupBatchTime\": \"17844564\",\n \"BackupFileSize\": 1,\n \"BackupSuccRate\": \"1\",\n \"BackupExpireTime\": \"17844564\",\n \"AppId\": 1\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"213123-2131\"\n }\n}",
|
142
142
|
"title": "获取审批申请"
|
143
143
|
}
|
144
144
|
],
|
@@ -146,7 +146,7 @@
|
|
146
146
|
{
|
147
147
|
"document": "获取集群关联的标签列表",
|
148
148
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeClusterTags\r\n&ClusterIds.0=5674209986\r\n&<公共请求参数>",
|
149
|
-
"output": "{\n \"Response\": {\n \"Rows\": [\n {\n \"ClusterId\": \"
|
149
|
+
"output": "{\n \"Response\": {\n \"Rows\": [\n {\n \"ClusterId\": \"19887328\",\n \"Tags\": [\n {\n \"TagKey\": \"tkey1\",\n \"TagValue\": \"tvalue1\"\n }\n ],\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n }\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"189382-121421\"\n }\n}",
|
150
150
|
"title": "获取集群关联的标签列表"
|
151
151
|
}
|
152
152
|
],
|
@@ -154,20 +154,20 @@
|
|
154
154
|
{
|
155
155
|
"document": "查询用户所属的集群列表",
|
156
156
|
"input": "https://tcaplusdb.tencentcloudapi.com/?Action=DescribeClusters\n&<公共请求参数>",
|
157
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Clusters\": [\n {\n \"ClusterName\": \"
|
157
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Clusters\": [\n {\n \"ClusterName\": \"clustername\",\n \"ClusterId\": \"145462\",\n \"Region\": \"ap-shanghai\",\n \"IdlType\": \"proto\",\n \"NetworkType\": \"proto\",\n \"VpcId\": \"testvpc\",\n \"SubnetId\": \"testsubnetid\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"Password\": \"passd1\",\n \"PasswordStatus\": \"1\",\n \"ApiAccessId\": \"accessid\",\n \"ApiAccessIp\": \"accessip\",\n \"ApiAccessPort\": 0,\n \"OldPasswordExpireTime\": \"17832322\",\n \"ApiAccessIpv6\": \"\",\n \"ClusterType\": 0,\n \"ClusterStatus\": 0,\n \"ReadCapacityUnit\": 1000,\n \"WriteCapacityUnit\": 1000,\n \"DiskVolume\": 10,\n \"ServerList\": [\n {\n \"ServerUid\": \"1\",\n \"MachineType\": \"svr\",\n \"MemoryRate\": 0,\n \"DiskRate\": 0,\n \"ReadNum\": 0,\n \"WriteNum\": 0,\n \"Version\": \"1\"\n }\n ],\n \"ProxyList\": [\n {\n \"ProxyUid\": \"2\",\n \"MachineType\": \"proxy\",\n \"ProcessSpeed\": 0,\n \"AverageProcessDelay\": 0,\n \"SlowProcessSpeed\": 0,\n \"Version\": \"2\"\n }\n ],\n \"Censorship\": 0,\n \"DbaUins\": [\n \"1888232\"\n ],\n \"DataFlowStatus\": 0,\n \"KafkaInfo\": {\n \"Address\": \"address\",\n \"Topic\": \"topic\",\n \"User\": \"usr0\",\n \"Password\": \"usrpasswd\",\n \"Instance\": \"instid\",\n \"IsVpc\": 0\n },\n \"TxhBackupExpireDay\": 1,\n \"UlogBackupExpireDay\": 1,\n \"IsReadOnlyUlogBackupExpireDay\": 1,\n \"RestProxyStatus\": 0\n }\n ],\n \"RequestId\": \"1947843-12321\"\n }\n}",
|
158
158
|
"title": "查询集群列表"
|
159
159
|
}
|
160
160
|
],
|
161
161
|
"DescribeIdlFileInfos": [
|
162
162
|
{
|
163
163
|
"document": "指定集群ID查询描述文件列表",
|
164
|
-
"input": "
|
165
|
-
"output": "{\n \"Response\": {\n \"
|
164
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeIdlFileInfos\r\n&ClusterId=5674209986\r\n&<公共请求参数>",
|
165
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"IdlFileInfos\": [\n {\n \"FileName\": \"filename\",\n \"FileType\": \"tdr\",\n \"FileExtType\": \"tdr\",\n \"FileSize\": 1321230,\n \"FileId\": 1,\n \"FileContent\": \"content\"\n }\n ],\n \"RequestId\": \"1898921-12142\"\n }\n}",
|
166
166
|
"title": "查询描述文件详情"
|
167
167
|
},
|
168
168
|
{
|
169
169
|
"document": "指定集群ID和文件ID查询文件详情",
|
170
|
-
"input": "
|
170
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeIdlFileInfos\r\n&ClusterId=5674209986\r\n&IdlFileIds.0=564\r\n&<公共请求参数>",
|
171
171
|
"output": "{\n \"Response\": {\n \"IdlFileInfos\": [\n {\n \"FileContent\": \"syntax%3D%22proto2%22%3Bpackage%20myTcaplusTable%3Bimport%20%22tcaplusservice.optionv1.proto%22%3Bmessage%20tb_example%7Boption%28tcaplusservice.tcaplus_primary_key%29%3D%22uin%2Cname%22%3Brequired%20int64%20uin%20%3D%201%3Brequired%20string%20name%20%3D%202%3Brequired%20int32%20gamesvrid%20%3D%203%3Boptional%20string%20logintime%20%3D%204%3B%7D\",\n \"FileExtType\": \"proto\",\n \"FileId\": 564,\n \"FileName\": \"tb_example\",\n \"FileSize\": 266,\n \"FileType\": \"PROTO\"\n }\n ],\n \"RequestId\": \"5d592aa1-ee73-4b5e-90bf-062efcc05966\",\n \"TotalCount\": 1\n }\n}",
|
172
172
|
"title": "指定集群ID和文件ID查询文件详情"
|
173
173
|
}
|
@@ -183,7 +183,7 @@
|
|
183
183
|
"DescribeRegions": [
|
184
184
|
{
|
185
185
|
"document": "获取地域列表",
|
186
|
-
"input": "
|
186
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeRegions\r\n&<公共请求参数>",
|
187
187
|
"output": "{\n \"Response\": {\n \"RegionInfos\": [\n {\n \"RegionAbbr\": \"sh\",\n \"RegionId\": 4,\n \"RegionName\": \"Shanghai\",\n \"Ipv6Enable\": \"1\"\n },\n {\n \"RegionAbbr\": \"gz\",\n \"RegionId\": 1,\n \"RegionName\": \"Guangzhou\",\n \"Ipv6Enable\": \"0\"\n },\n {\n \"RegionAbbr\": \"hk\",\n \"RegionId\": 5,\n \"RegionName\": \"Hongkong\",\n \"Ipv6Enable\": \"1\"\n }\n ],\n \"RequestId\": \"b64fa31b-a0ca-4a06-82e9-211d610ba516\",\n \"TotalCount\": 3\n }\n}",
|
188
188
|
"title": "获取地域列表"
|
189
189
|
}
|
@@ -192,7 +192,7 @@
|
|
192
192
|
{
|
193
193
|
"document": "查询表的快照",
|
194
194
|
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"18685341856\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"cl_generic\"\n}",
|
195
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"SnapshotCreateTime\": \"2020-09-22 00:00:00\",\n \"TableGroupId\": \"1\",\n \"SnapshotSize\": 1,\n \"SnapshotName\": \"
|
195
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"SnapshotCreateTime\": \"2020-09-22 00:00:00\",\n \"TableGroupId\": \"1\",\n \"SnapshotSize\": 1,\n \"SnapshotName\": \"snapshotname\",\n \"SnapshotTime\": \"2020-09-22 00:00:00\",\n \"TableName\": \"cl_generic\",\n \"SnapshotStatus\": 1,\n \"TaskId\": \"212311-1214\",\n \"Error\": {\n \"Message\": \"\",\n \"Code\": \"\"\n },\n \"SnapshotDeadTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"213932-1223134\"\n }\n}",
|
196
196
|
"title": "查询快照列表"
|
197
197
|
}
|
198
198
|
],
|
@@ -200,7 +200,7 @@
|
|
200
200
|
{
|
201
201
|
"document": "获取表格组关联的标签列表",
|
202
202
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTableGroupTags\r\n&ClusterId=5674209986\r\n&TableGroupIds.0=1\r\n&<公共请求参数>",
|
203
|
-
"output": "{\n \"Response\": {\n \"Rows\": [\n {\n \"ClusterId\": \"
|
203
|
+
"output": "{\n \"Response\": {\n \"Rows\": [\n {\n \"ClusterId\": \"1989787\",\n \"TableGroupId\": \"18743\",\n \"Tags\": [\n {\n \"TagKey\": \"tkey\",\n \"TagValue\": \"tvalue\"\n }\n ],\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n }\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"198232-12431\"\n }\n}",
|
204
204
|
"title": "获取表格组关联的标签列表"
|
205
205
|
}
|
206
206
|
],
|
@@ -208,7 +208,7 @@
|
|
208
208
|
{
|
209
209
|
"document": "查询表格组列表",
|
210
210
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTableGroups\r\n&ClusterId=6179109757\r\n&<公共请求参数>",
|
211
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TableGroups\": [\n {\n \"TableGroupId\": \"
|
211
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TableGroups\": [\n {\n \"TableGroupId\": \"18322\",\n \"TableGroupName\": \"groupname\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"TableCount\": 1,\n \"TotalSize\": 1,\n \"TxhBackupExpireDay\": 1,\n \"EnableMysql\": 1,\n \"MysqlConnIp\": \"192.1.2.3\",\n \"MysqlConnPort\": 13722\n }\n ],\n \"RequestId\": \"13232-13523\"\n }\n}",
|
212
212
|
"title": "查询表格组列表"
|
213
213
|
}
|
214
214
|
],
|
@@ -216,7 +216,7 @@
|
|
216
216
|
{
|
217
217
|
"document": "获取表格标签",
|
218
218
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTableTags\r\n&ClusterId=5674209986\r\n&SelectedTables.0.TableInstanceId=tcaplus-0xm12ck1\r\n&SelectedTables.0.TableGroupId=1\r\n&SelectedTables.0.TableName=tb_test\r\n&<公共请求参数>",
|
219
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Rows\": [\n {\n \"TableInstanceId\": \"
|
219
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Rows\": [\n {\n \"TableInstanceId\": \"tcaplus-0xm12ck1\",\n \"TableName\": \"tb_test\",\n \"TableGroupId\": \"1\",\n \"Tags\": [\n {\n \"TagKey\": \"tkey\",\n \"TagValue\": \"tvalue\"\n }\n ],\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n }\n }\n ],\n \"RequestId\": \"1921341-214214\"\n }\n}",
|
220
220
|
"title": "获取表格标签"
|
221
221
|
}
|
222
222
|
],
|
@@ -224,7 +224,7 @@
|
|
224
224
|
{
|
225
225
|
"document": "查询表列表",
|
226
226
|
"input": "https://tcaplusdb.tencentcloudapi.com/?Action=DescribeTables\n&ClusterId=5674209986\n&<公共请求参数>",
|
227
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableInfos\": [\n {\n \"TableName\": \"
|
227
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableInfos\": [\n {\n \"TableName\": \"testname\",\n \"TableInstanceId\": \"tcaplus-121312\",\n \"TableType\": \"tdr\",\n \"TableIdlType\": \"tdr\",\n \"ClusterId\": \"121443121\",\n \"ClusterName\": \"clustename\",\n \"TableGroupId\": \"18433\",\n \"TableGroupName\": \"groupname\",\n \"KeyStruct\": \"keystruct\",\n \"ValueStruct\": \"valuestruct\",\n \"ShardingKeySet\": \"shardingkeyset\",\n \"IndexStruct\": \"indexstruct\",\n \"ListElementNum\": 1024,\n \"IdlFiles\": [\n {\n \"FileName\": \"filename\",\n \"FileType\": \"tdr\",\n \"FileExtType\": \"tdr\",\n \"FileSize\": 10240,\n \"FileId\": 1,\n \"FileContent\": \"content\"\n }\n ],\n \"ReservedVolume\": 10,\n \"ReservedReadQps\": 1000,\n \"ReservedWriteQps\": 1000,\n \"TableSize\": 1000,\n \"Status\": \"normal\",\n \"CreatedTime\": \"2020-10-10 10:10:10\",\n \"UpdatedTime\": \"2020-10-10 10:10:10\",\n \"Memo\": \"memo\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"ApiAccessId\": \"accessid\",\n \"SortFieldNum\": 0,\n \"SortRule\": 0,\n \"DbClusterInfoStruct\": \"dbinfostruct\",\n \"TxhBackupExpireDay\": 1,\n \"SyncTableInfo\": {\n \"TargetTableSplitNum\": 1,\n \"TargetTableNamePrefix\": [\n \"tablenameprefix\"\n ],\n \"TargetSyncDBInstanceId\": \"193242\",\n \"TargetDatabaseName\": \"targetname\",\n \"Status\": 0,\n \"ClusterId\": \"193243234\",\n \"TableGroupId\": 1,\n \"TableName\": \"testname\",\n \"TableId\": \"tcaplus-12312\",\n \"KeyFieldMapping\": [\n {\n \"SourceName\": \"sourcename\",\n \"TargetName\": \"targetname\"\n }\n ],\n \"ValueFieldMapping\": [\n {\n \"SourceName\": \"sourcename\",\n \"TargetName\": \"targetname\"\n }\n ]\n }\n }\n ],\n \"RequestId\": \"1932423-121413\"\n }\n}",
|
228
228
|
"title": "查询表列表"
|
229
229
|
}
|
230
230
|
],
|
@@ -232,7 +232,7 @@
|
|
232
232
|
{
|
233
233
|
"document": "查询回收站表格列表",
|
234
234
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTablesInRecycle\r\n&ClusterId=5674209986\r\n&<公共请求参数>",
|
235
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableInfos\": [\n {\n \"TableName\": \"
|
235
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableInfos\": [\n {\n \"TableName\": \"testname\",\n \"TableInstanceId\": \"tcaplus-121312\",\n \"TableType\": \"tdr\",\n \"TableIdlType\": \"tdr\",\n \"ClusterId\": \"121443121\",\n \"ClusterName\": \"clustename\",\n \"TableGroupId\": \"18433\",\n \"TableGroupName\": \"groupname\",\n \"KeyStruct\": \"keystruct\",\n \"ValueStruct\": \"valuestruct\",\n \"ShardingKeySet\": \"shardingkeyset\",\n \"IndexStruct\": \"indexstruct\",\n \"ListElementNum\": 1024,\n \"IdlFiles\": [\n {\n \"FileName\": \"filename\",\n \"FileType\": \"tdr\",\n \"FileExtType\": \"tdr\",\n \"FileSize\": 10240,\n \"FileId\": 1,\n \"FileContent\": \"content\"\n }\n ],\n \"ReservedVolume\": 10,\n \"ReservedReadQps\": 1000,\n \"ReservedWriteQps\": 1000,\n \"TableSize\": 1000,\n \"Status\": \"normal\",\n \"CreatedTime\": \"2020-10-10 10:10:10\",\n \"UpdatedTime\": \"2020-10-10 10:10:10\",\n \"Memo\": \"memo\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"ApiAccessId\": \"accessid\",\n \"SortFieldNum\": 0,\n \"SortRule\": 0,\n \"DbClusterInfoStruct\": \"dbinfostruct\",\n \"TxhBackupExpireDay\": 1,\n \"SyncTableInfo\": {\n \"TargetTableSplitNum\": 1,\n \"TargetTableNamePrefix\": [\n \"tablenameprefix\"\n ],\n \"TargetSyncDBInstanceId\": \"193242\",\n \"TargetDatabaseName\": \"targetname\",\n \"Status\": 0,\n \"ClusterId\": \"193243234\",\n \"TableGroupId\": 1,\n \"TableName\": \"testname\",\n \"TableId\": \"tcaplus-12312\",\n \"KeyFieldMapping\": [\n {\n \"SourceName\": \"sourcename\",\n \"TargetName\": \"targetname\"\n }\n ],\n \"ValueFieldMapping\": [\n {\n \"SourceName\": \"sourcename\",\n \"TargetName\": \"targetname\"\n }\n ]\n }\n }\n ],\n \"RequestId\": \"1932423-121413\"\n }\n}",
|
236
236
|
"title": "查询回收站表格列表"
|
237
237
|
}
|
238
238
|
],
|
@@ -247,7 +247,7 @@
|
|
247
247
|
"DescribeUinInWhitelist": [
|
248
248
|
{
|
249
249
|
"document": "查询本用户是否在白名单中",
|
250
|
-
"input": "
|
250
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeUinInWhitelist\r\n&<公共请求参数>",
|
251
251
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c5401419-d469-4a9b-8317-bf844ceebb09\",\n \"Result\": \"FALSE\"\n }\n}",
|
252
252
|
"title": "查询本用户是否在白名单中"
|
253
253
|
}
|
@@ -271,31 +271,31 @@
|
|
271
271
|
"ImportSnapshots": [
|
272
272
|
{
|
273
273
|
"document": "导入快照数据",
|
274
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
275
|
-
"output": "{\n \"Response\": {\n \"TaskId\": \"
|
274
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"1837232\",\n \"Snapshots\": {\n \"TableGroupId\": \"1\",\n \"TableName\": \"testname\",\n \"SnapshotName\": \"snapshotname\",\n \"SnapshotTime\": \"2020-09-22 00:00:00\",\n \"SnapshotDeadTime\": \"2020-09-22 00:00:00\"\n },\n \"ImportSpecialKey\": \"spkey\",\n \"KeyFile\": {\n \"FileName\": \"filename\",\n \"FileExtType\": \"txt\",\n \"FileContent\": \"content\",\n \"FileSize\": 12130\n },\n \"ImportOriginTable\": \"origintable\",\n \"NewTableGroupId\": \"newtable\",\n \"NewTableName\": \"newname\"\n}",
|
275
|
+
"output": "{\n \"Response\": {\n \"TaskId\": \"35452\",\n \"ApplicationId\": \"134425\",\n \"RequestId\": \"232523-121452\"\n }\n}",
|
276
276
|
"title": "导入快照"
|
277
277
|
}
|
278
278
|
],
|
279
279
|
"MergeTablesData": [
|
280
280
|
{
|
281
281
|
"document": "合并指定表格",
|
282
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MergeTablesData\n<公共请求参数>\n\n{\n \"SelectedTables\": [\n {\n \"MergeTables\": {\n \"SrcTableClusterId\": \"
|
283
|
-
"output": "{\n \"Response\": {\n \"
|
282
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MergeTablesData\n<公共请求参数>\n\n{\n \"SelectedTables\": [\n {\n \"MergeTables\": {\n \"SrcTableClusterId\": \"192342\",\n \"SrcTableGroupId\": \"1\",\n \"SrcTableName\": \"srcname\",\n \"DstTableClusterId\": \"192342\",\n \"DstTableGroupId\": \"2\",\n \"DstTableName\": \"dstname\",\n \"SrcTableInstanceId\": \"tcaplus-13212\",\n \"DstTableInstanceId\": \"tcaplus-19432\"\n },\n \"CheckIndex\": true\n }\n ],\n \"IsOnlyCompare\": true\n}",
|
283
|
+
"output": "{\n \"Response\": {\n \"Results\": [\n {\n \"TaskId\": \"125124\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"Table\": {\n \"SrcTableClusterId\": \"192342\",\n \"SrcTableGroupId\": \"1\",\n \"SrcTableName\": \"srcname\",\n \"DstTableClusterId\": \"192342\",\n \"DstTableGroupId\": \"2\",\n \"DstTableName\": \"dstname\",\n \"SrcTableInstanceId\": \"tcaplus-13212\",\n \"DstTableInstanceId\": \"tcaplus-19432\"\n },\n \"ApplicationId\": \"3232\"\n }\n ],\n \"RequestId\": \"193232-122313\"\n }\n}",
|
284
284
|
"title": "合并指定表格"
|
285
285
|
}
|
286
286
|
],
|
287
287
|
"ModifyCensorship": [
|
288
288
|
{
|
289
289
|
"document": "",
|
290
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCensorship\n<公共请求参数>\n\n{\n \"Uins\": [\n \"
|
291
|
-
"output": "{\n \"Response\": {\n \"Uins\": [\n \"
|
290
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCensorship\n<公共请求参数>\n\n{\n \"Uins\": [\n \"12323\"\n ],\n \"ClusterId\": \"123213\",\n \"Censorship\": 0\n}",
|
291
|
+
"output": "{\n \"Response\": {\n \"Uins\": [\n \"123123\"\n ],\n \"ClusterId\": \"12313\",\n \"RequestId\": \"123123-12313\",\n \"Censorship\": 0\n }\n}",
|
292
292
|
"title": "更新审核状态"
|
293
293
|
}
|
294
294
|
],
|
295
295
|
"ModifyClusterMachine": [
|
296
296
|
{
|
297
297
|
"document": "修改集群Cluster的独占机器",
|
298
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterMachine\n<公共请求参数>\n\n{\n \"
|
298
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterMachine\n<公共请求参数>\n\n{\n \"ClusterId\": \"abc\",\n \"ServerList\": [\n {\n \"MachineType\": \"abc\",\n \"MachineNum\": 0\n }\n ],\n \"ProxyList\": [\n {\n \"MachineType\": \"abc\",\n \"MachineNum\": 0\n }\n ],\n \"ClusterType\": 0\n}",
|
299
299
|
"output": "{\n \"Response\": {\n \"ClusterId\": \"6179109757\",\n \"RequestId\": \"8f1cc454-4a80-4ed3-a6c3-b7df2b0e8ec7\"\n }\n}",
|
300
300
|
"title": "修改集群Cluster的独占机器"
|
301
301
|
}
|
@@ -303,7 +303,7 @@
|
|
303
303
|
"ModifyClusterName": [
|
304
304
|
{
|
305
305
|
"document": "根据ClusterId修改集群名称",
|
306
|
-
"input": "
|
306
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyClusterName\r\n&ClusterId=5674209986\r\n&ClusterName=gz测试PROTO\r\n&<公共请求参数>",
|
307
307
|
"output": "{\n \"Response\": {\n \"RequestId\": \"87562838-1eda-45f3-abda-59a704135fe7\"\n }\n}",
|
308
308
|
"title": "修改集群名称"
|
309
309
|
}
|
@@ -319,7 +319,7 @@
|
|
319
319
|
"ModifyClusterTags": [
|
320
320
|
{
|
321
321
|
"document": "修改集群标签",
|
322
|
-
"input": "
|
322
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyClusterTags\n&ClusterId=5674209986\n&ReplaceTags.0.TagKey=tkey\n&ReplaceTags.0.TagValue=tvalue\n&DeleteTags.0.TagKey=delete1\n&<公共请求参数>",
|
323
323
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abd7111a-62d4-4bbb-a781-3646040e9530\",\n \"TaskId\": \"5674209986-1210\"\n }\n}",
|
324
324
|
"title": "修改集群标签"
|
325
325
|
}
|
@@ -327,7 +327,7 @@
|
|
327
327
|
"ModifySnapshots": [
|
328
328
|
{
|
329
329
|
"document": "",
|
330
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
330
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySnapshots\n<公共请求参数>\n\n{\n \"ClusterId\": \"183242\",\n \"SelectedTables\": [\n {\n \"SnapshotName\": \"666\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"cl_generic\",\n \"SnapshotDeadTime\": \"2020-09-22 00:00:00\"\n }\n ]\n}",
|
331
331
|
"output": "{\n \"Response\": {\n \"RequestId\": \"17af6a7a-1fcc-4c1d-a4a2-caab4d9e75cc\",\n \"TableResults\": [\n {\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"SnapshotCreateTime\": \"2021-03-19 11:40:40\",\n \"SnapshotDeadTime\": \"2021-03-20 11:40:30\",\n \"SnapshotName\": \"666\",\n \"SnapshotSize\": 0,\n \"SnapshotStatus\": 0,\n \"SnapshotTime\": \"2021-03-12 11:40:32\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"cl_generic\",\n \"TaskId\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
332
332
|
"title": "修改快照"
|
333
333
|
}
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"ModifyTableGroupName": [
|
336
336
|
{
|
337
337
|
"document": "修改表格组名称",
|
338
|
-
"input": "
|
338
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyTableGroupName\r\n&ClusterId=6179109757\r\n&TableGroupId=1\r\n&TableGroupName=tdr测试区1\r\n&<公共请求参数>",
|
339
339
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c3d85d90-65a6-46ed-9187-b2a429e18cfc\"\n }\n}",
|
340
340
|
"title": "修改表格组名称"
|
341
341
|
}
|
@@ -343,7 +343,7 @@
|
|
343
343
|
"ModifyTableGroupTags": [
|
344
344
|
{
|
345
345
|
"document": "修改表格组标签",
|
346
|
-
"input": "
|
346
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyTableGroupTags\r\n&ClusterId=5674209986\r\n&TableGroupId=1\r\n&ReplaceTags.0.TagKey=test1\r\n&ReplaceTags.0.TagValue=value1\r\n&DeleteTags.0.TagKey=delete1\r\n&<公共请求参数>",
|
347
347
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abd7111a-62d4-4bbb-a781-3646040e9530\",\n \"TaskId\": \"5674209986-1211\"\n }\n}",
|
348
348
|
"title": "修改表格组标签"
|
349
349
|
}
|
@@ -352,7 +352,7 @@
|
|
352
352
|
{
|
353
353
|
"document": "修改表备注信息",
|
354
354
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyTableMemos\r\n&ClusterId=5674209986\r\n&TableMemos.0.TableInstanceId=tcaplus-1f224454\r\n&TableMemos.0.TableGroupId=101\r\n&TableMemos.0.TableName=tb_example\r\n&TableMemos.0.Memo=pb测试表1xx\r\n&<公共请求参数>",
|
355
|
-
"output": "{\n \"Response\": {\n \"
|
355
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"3753\",\n \"TaskId\": \"34643\",\n \"TableName\": \"tb_example\",\n \"TableType\": \"1\",\n \"TableIdlType\": \"2\",\n \"TableGroupId\": \"`1321\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"35235\"\n ],\n \"ApplicationId\": \"14512\"\n }\n ],\n \"RequestId\": \"164574\"\n }\n}",
|
356
356
|
"title": "修改表备注信息"
|
357
357
|
}
|
358
358
|
],
|
@@ -360,7 +360,7 @@
|
|
360
360
|
{
|
361
361
|
"document": "表格扩缩容",
|
362
362
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyTableQuotas\r\n&ClusterId=5674209986\r\n&TableQuotas.0.TableInstanceId=tcaplus-1f224454\r\n&TableQuotas.0.TableGroupId=101\r\n&TableQuotas.0.TableName=tb_example\r\n&TableQuotas.0.TableIdlType=PROTO\r\n&TableQuotas.0.ReservedVolume=2\r\n&TableQuotas.0.ReservedReadQps=240\r\n&TableQuotas.0.ReservedWriteQps=78\r\n&<公共请求参数>",
|
363
|
-
"output": "{\n \"Response\": {\n \"
|
363
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"tcaplus-1f224454\",\n \"TaskId\": \"12313\",\n \"TableName\": \"tb_example\",\n \"TableType\": \"2\",\n \"TableIdlType\": \"1\",\n \"TableGroupId\": \"3242\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"32525\"\n ],\n \"ApplicationId\": \"32252\"\n }\n ],\n \"RequestId\": \"1252232\"\n }\n}",
|
364
364
|
"title": "表格扩缩容"
|
365
365
|
}
|
366
366
|
],
|
@@ -376,7 +376,7 @@
|
|
376
376
|
{
|
377
377
|
"document": "修改表结构",
|
378
378
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=ModifyTables\r\n&ClusterId=5674209986\r\n&IdlFiles.0.FileName=tb_example_modify\r\n&IdlFiles.0.FileType=PROTO\r\n&IdlFiles.0.FileExtType=proto\r\n&IdlFiles.0.FileSize=292\r\n&IdlFiles.0.FileId=600\r\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\r\n&SelectedTables.0.TableGroupId=101\r\n&SelectedTables.0.TableName=tb_example\r\n&SelectedTables.0.TableIdlType=PROTO\r\n&<公共请求参数>",
|
379
|
-
"output": "{\n \"Response\": {\n \"
|
379
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"123123\",\n \"TaskId\": \"43452\",\n \"TableName\": \"tb_example_modify\",\n \"TableType\": \"1\",\n \"TableIdlType\": \"1\",\n \"TableGroupId\": \"22141\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"321512\"\n ],\n \"ApplicationId\": \"421325\"\n }\n ],\n \"RequestId\": \"1254521\"\n }\n}",
|
380
380
|
"title": "修改表结构"
|
381
381
|
}
|
382
382
|
],
|
@@ -384,7 +384,7 @@
|
|
384
384
|
{
|
385
385
|
"document": "根据指定的表信息,恢复回收站中的表",
|
386
386
|
"input": "https://tcaplus.tencentcloudapi.com/?Action=RecoverRecycleTables\r\n&ClusterId=5674209986\r\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\r\n&SelectedTables.0.TableGroupId=101\r\n&SelectedTables.0.TableName=tb_example\r\n&<公共请求参数>",
|
387
|
-
"output": "{\n \"Response\": {\n \"
|
387
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"tcaplus-1f224454\",\n \"TaskId\": \"124153\",\n \"TableName\": \"abc\",\n \"TableType\": \"abc\",\n \"TableIdlType\": \"2\",\n \"TableGroupId\": \"23153\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"32626\"\n ],\n \"ApplicationId\": \"21252\"\n }\n ],\n \"RequestId\": \"154331\"\n }\n}",
|
388
388
|
"title": "恢复回收站中的表"
|
389
389
|
}
|
390
390
|
],
|
@@ -399,8 +399,8 @@
|
|
399
399
|
"SetBackupExpireRule": [
|
400
400
|
{
|
401
401
|
"document": "新增、删除、修改备份过期策略",
|
402
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetBackupExpireRule\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
403
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
402
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetBackupExpireRule\n<公共请求参数>\n\n{\n \"ClusterId\": \"21312\",\n \"BackupExpireRules\": [\n {\n \"ExpireDay\": 1,\n \"OperType\": 1,\n \"TableGroupId\": \"213213\",\n \"TableName\": \"nametest\",\n \"FileTag\": 1\n }\n ]\n}",
|
403
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"12312-1231\",\n \"TaskId\": \"23132\"\n }\n}",
|
404
404
|
"title": "新增、删除、修改备份过期策略"
|
405
405
|
}
|
406
406
|
],
|
@@ -416,23 +416,23 @@
|
|
416
416
|
{
|
417
417
|
"document": "设置表格分布式索引",
|
418
418
|
"input": "https://tcaplusdb.tencentcloudapi.com/?Action=SetTableIndex\n&ClusterId=5674209986\n&SelectedTables.0.TableInstanceId=tcaplus-1f224454\n&SelectedTables.0.TableGroupId=101\n&SelectedTables.0.TableName=tb_example\n&SelectedTables.0.TableIdlType=PROTO\n&SelectedTables.0.TableType=GENERIC\n&SelectedTables.0.ShardNum=3\n&SelectedTables.0.SelectedFields.0.FieldName=name\n&SelectedTables.0.SelectedFields.0.IsPrimaryKey=Yes\n&SelectedTables.0.SelectedFields.0.FieldType=string\n&SelectedTables.0.SelectedFields.0.FieldSize=64\n&SelectedTables.0.SelectedFields.1.FieldName=id\n&SelectedTables.0.SelectedFields.1.IsPrimaryKey=No\n&SelectedTables.0.SelectedFields.1.FieldType=int32\n&SelectedTables.0.SelectedFields.1.FieldSize=4\n&<公共请求参数>",
|
419
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"
|
419
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableResults\": [\n {\n \"TableInstanceId\": \"tcaplus-12142\",\n \"TaskId\": \"8223\",\n \"TableName\": \"nametable\",\n \"TableType\": \"PROTO\",\n \"TableIdlType\": \"proto\",\n \"TableGroupId\": \"13242\",\n \"Error\": {\n \"Code\": \"\",\n \"Message\": \"\"\n },\n \"TaskIds\": [\n \"43231\"\n ],\n \"ApplicationId\": \"14232\"\n }\n ],\n \"RequestId\": \"32942-131513\"\n }\n}",
|
420
420
|
"title": "设置表格分布式索引"
|
421
421
|
}
|
422
422
|
],
|
423
423
|
"UpdateApply": [
|
424
424
|
{
|
425
425
|
"document": "更新申请单状态",
|
426
|
-
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateApply\n<公共请求参数>\n\n{\n \"ApplyStatus\": [\n {\n \"ApplicationId\": \"
|
427
|
-
"output": "{\n \"Response\": {\n \"ApplyResults\": [\n {\n \"ApplicationId\": \"
|
426
|
+
"input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateApply\n<公共请求参数>\n\n{\n \"ApplyStatus\": [\n {\n \"ApplicationId\": \"121421\",\n \"ApplicationStatus\": 0,\n \"ApplicationType\": 0,\n \"ClusterId\": \"1984343\"\n }\n ]\n}",
|
427
|
+
"output": "{\n \"Response\": {\n \"ApplyResults\": [\n {\n \"ApplicationId\": \"121421\",\n \"ApplicationStatus\": 0,\n \"ApplicationType\": 7,\n \"Error\": {\n \"Code\": \"OperationDenied\",\n \"Message\": \"Application has been processed.\"\n },\n \"TaskId\": \"32425\"\n }\n ],\n \"RequestId\": \"2324324-3534\",\n \"TotalCount\": 0\n }\n}",
|
428
428
|
"title": "更新申请单状态"
|
429
429
|
}
|
430
430
|
],
|
431
431
|
"VerifyIdlFiles": [
|
432
432
|
{
|
433
433
|
"document": "选中已上传的创建表格IDL文件并校验",
|
434
|
-
"input": "
|
435
|
-
"output": "{\n \"Response\": {\n \"IdlFiles\": [\n {\n \"FileContent\":
|
434
|
+
"input": "https://tcaplus.tencentcloudapi.com/?Action=VerifyIdlFiles\r\n&ClusterId=5674209986\r\n&TableGroupId=101\r\n&ExistingIdlFiles.0.FileName=tb_example\r\n&ExistingIdlFiles.0.FileSize=261\r\n&ExistingIdlFiles.0.FileExtType=proto\r\n&ExistingIdlFiles.0.FileId=551\r\n&ExistingIdlFiles.0.FileType=PROTO\r\n&<公共请求参数>",
|
435
|
+
"output": "{\n \"Response\": {\n \"IdlFiles\": [\n {\n \"FileContent\": \"content\",\n \"FileExtType\": \"proto\",\n \"FileId\": 564,\n \"FileName\": \"tb_example\",\n \"FileSize\": 261,\n \"FileType\": \"PROTO\"\n }\n ],\n \"RequestId\": \"70707604-2031-4c7e-a85f-a52daf354eb0\",\n \"TableInfos\": [\n {\n \"IndexKeySet\": \"{\\\"Num\\\":0}\",\n \"KeyFields\": \"{\\\"KeyField\\\":[{\\\"Label\\\":\\\"required\\\",\\\"Name\\\":\\\"uin\\\",\\\"Type\\\":\\\"int64\\\"},{\\\"Crypto\\\":false,\\\"Label\\\":\\\"required\\\",\\\"Name\\\":\\\"name\\\",\\\"Type\\\":\\\"string\\\"}],\\\"Num\\\":2}\",\n \"TableGroupId\": \"212412\",\n \"OldKeyFields\": \"\",\n \"OldValueFields\": \"\",\n \"ShardingKeySet\": \"\",\n \"SumKeyFieldSize\": 1022,\n \"SumValueFieldSize\": 262144,\n \"TableIdlType\": \"PROTO\",\n \"TableInstanceId\": \"\",\n \"TableName\": \"tb_example\",\n \"TableType\": \"GENERIC\",\n \"TdrVersion\": 1,\n \"ListElementNum\": 1024,\n \"SortFieldNum\": 1,\n \"SortRule\": 1,\n \"ValueFields\": \"{\\\"Num\\\":2,\\\"ValueField\\\":[{\\\"Label\\\":\\\"required\\\",\\\"Name\\\":\\\"gamesvrid\\\",\\\"Type\\\":\\\"int32\\\"},{\\\"Crypto\\\":false,\\\"Label\\\":\\\"optional\\\",\\\"Name\\\":\\\"logintime\\\",\\\"Type\\\":\\\"string\\\"}]}\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
436
436
|
"title": "创建表格文件校验"
|
437
437
|
}
|
438
438
|
]
|