tccli 3.0.1272.1__py2.py3-none-any.whl → 3.0.1274.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/batch/v20170312/api.json +57 -57
- tccli/services/captcha/v20190722/api.json +116 -116
- tccli/services/captcha/v20190722/examples.json +1 -1
- tccli/services/ccc/v20200210/api.json +3 -3
- tccli/services/cdwch/v20200915/api.json +61 -11
- tccli/services/clb/clb_client.py +265 -0
- tccli/services/clb/v20180317/api.json +289 -0
- tccli/services/clb/v20180317/examples.json +40 -0
- tccli/services/cvm/v20170312/api.json +57 -57
- tccli/services/cwp/v20180228/api.json +4 -4
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +1 -1
- tccli/services/faceid/v20180301/api.json +11 -11
- tccli/services/faceid/v20180301/examples.json +8 -2
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/lke/v20231130/api.json +73 -2
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +3 -3
- tccli/services/lowcode/lowcode_client.py +477 -0
- tccli/services/lowcode/v20210108/api.json +1764 -155
- tccli/services/lowcode/v20210108/examples.json +75 -9
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +189 -1
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/rce/v20201103/api.json +103 -103
- tccli/services/redis/v20180412/api.json +110 -110
- tccli/services/ssl/v20191205/api.json +46 -46
- tccli/services/ssl/v20191205/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +20 -20
- tccli/services/tdid/v20210519/api.json +95 -26
- tccli/services/tdid/v20210519/examples.json +15 -3
- tccli/services/tione/v20211111/api.json +3 -3
- tccli/services/tione/v20211111/examples.json +4 -4
- tccli/services/tsf/v20180326/api.json +88 -88
- tccli/services/tsf/v20180326/examples.json +2 -2
- tccli/services/waf/v20180125/api.json +1 -1
- tccli/services/weilingwith/v20230427/api.json +115 -115
- tccli/services/weilingwith/v20230427/examples.json +21 -21
- {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/RECORD +44 -44
- {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/license_files/LICENSE +0 -0
@@ -106,7 +106,7 @@
|
|
106
106
|
"status": "online"
|
107
107
|
},
|
108
108
|
"UpdateCredentialState": {
|
109
|
-
"document": "
|
109
|
+
"document": "1. 首次更新凭证状态基于不同场景参数有所差异,分以下两种场景:\n(1) 颁发凭证的DID是本腾讯云账号创建\n(2) 颁发凭证的DID是非本腾讯云账号创建(此调用方式也适用于场景1)\n2. 首次更新过凭证状态后,凭证状态已绑定该账号的链上用户,后续更新凭证状态只需参数CredentialStatus即可, OperateCredential和OriginCredential参数均不需要",
|
110
110
|
"input": "UpdateCredentialStateRequest",
|
111
111
|
"name": "更新凭证的链上状态",
|
112
112
|
"output": "UpdateCredentialStateResponse",
|
@@ -225,7 +225,7 @@
|
|
225
225
|
{
|
226
226
|
"disabled": false,
|
227
227
|
"document": "凭证文本内容,FunctionArg和CredentialText任选其一",
|
228
|
-
"example": "{\"cptId\":1
|
228
|
+
"example": "{\"cptId\":1}",
|
229
229
|
"member": "string",
|
230
230
|
"name": "CredentialData",
|
231
231
|
"required": false,
|
@@ -248,6 +248,15 @@
|
|
248
248
|
"name": "DAPId",
|
249
249
|
"required": false,
|
250
250
|
"type": "int"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"disabled": false,
|
254
|
+
"document": "用户应用ID",
|
255
|
+
"example": "1",
|
256
|
+
"member": "uint64",
|
257
|
+
"name": "UAPId",
|
258
|
+
"required": false,
|
259
|
+
"type": "int"
|
251
260
|
}
|
252
261
|
],
|
253
262
|
"type": "object"
|
@@ -258,7 +267,7 @@
|
|
258
267
|
{
|
259
268
|
"disabled": false,
|
260
269
|
"document": "凭证字符串",
|
261
|
-
"example": "{\"
|
270
|
+
"example": "{\"type\":[\"VerifiableCredential\"]}",
|
262
271
|
"member": "string",
|
263
272
|
"name": "CredentialData",
|
264
273
|
"output_required": true,
|
@@ -286,6 +295,15 @@
|
|
286
295
|
"required": false,
|
287
296
|
"type": "int"
|
288
297
|
},
|
298
|
+
{
|
299
|
+
"disabled": false,
|
300
|
+
"document": "用户应用id",
|
301
|
+
"example": "1",
|
302
|
+
"member": "uint64",
|
303
|
+
"name": "UAPId",
|
304
|
+
"required": false,
|
305
|
+
"type": "int"
|
306
|
+
},
|
289
307
|
{
|
290
308
|
"disabled": false,
|
291
309
|
"document": "凭证列表",
|
@@ -349,7 +367,7 @@
|
|
349
367
|
{
|
350
368
|
"disabled": false,
|
351
369
|
"document": "可验证表达内容",
|
352
|
-
"example": "{\"context\":[\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\"],\"holder\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827\",\"proof\":{
|
370
|
+
"example": "{\"context\":[\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\"],\"holder\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827\",\"proof\":{}}",
|
353
371
|
"member": "string",
|
354
372
|
"name": "PresentationData",
|
355
373
|
"output_required": false,
|
@@ -626,6 +644,39 @@
|
|
626
644
|
],
|
627
645
|
"usage": "both"
|
628
646
|
},
|
647
|
+
"CredentialStatusInfo": {
|
648
|
+
"document": "设置凭证状态信息",
|
649
|
+
"members": [
|
650
|
+
{
|
651
|
+
"disabled": false,
|
652
|
+
"document": "凭证唯一id",
|
653
|
+
"example": "8818fdd61eb84e4a745a3b04c96e5237",
|
654
|
+
"member": "string",
|
655
|
+
"name": "Id",
|
656
|
+
"required": false,
|
657
|
+
"type": "string"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"disabled": false,
|
661
|
+
"document": "凭证状态(0:吊销;1:有效)",
|
662
|
+
"example": "1",
|
663
|
+
"member": "string",
|
664
|
+
"name": "Issuer",
|
665
|
+
"required": false,
|
666
|
+
"type": "string"
|
667
|
+
},
|
668
|
+
{
|
669
|
+
"disabled": false,
|
670
|
+
"document": "凭证颁发者Did",
|
671
|
+
"example": "did:tdid:w1:0x833e89118443c623a8ab063d9ef08268268fe3a4",
|
672
|
+
"member": "uint64",
|
673
|
+
"name": "Status",
|
674
|
+
"required": false,
|
675
|
+
"type": "int"
|
676
|
+
}
|
677
|
+
],
|
678
|
+
"usage": "in"
|
679
|
+
},
|
629
680
|
"DeactivateTDidRequest": {
|
630
681
|
"document": "DeactivateTDid请求参数结构体",
|
631
682
|
"members": [
|
@@ -734,23 +785,23 @@
|
|
734
785
|
"members": [
|
735
786
|
{
|
736
787
|
"disabled": false,
|
737
|
-
"document": "用户参与应用的统计指标
|
788
|
+
"document": "用户参与应用的统计指标 ",
|
738
789
|
"example": "{\"DidCnt\":676,\"VCCnt\":942,\"CPTCnt\":2,\"VerifyCnt\":1288,\"AuthCnt\":2}",
|
739
790
|
"member": "ResourceCounterData",
|
740
791
|
"name": "AppCounter",
|
741
792
|
"output_required": false,
|
742
793
|
"type": "object",
|
743
|
-
"value_allowed_null":
|
794
|
+
"value_allowed_null": false
|
744
795
|
},
|
745
796
|
{
|
746
797
|
"disabled": false,
|
747
|
-
"document": "
|
798
|
+
"document": "用户创建资源的统计指标",
|
748
799
|
"example": "{\"DidCnt\":341,\"VCCnt\":484,\"CPTCnt\":2,\"VerifyCnt\":648,\"AuthCnt\":2}",
|
749
800
|
"member": "ResourceCounterData",
|
750
801
|
"name": "UserCounter",
|
751
802
|
"output_required": false,
|
752
803
|
"type": "object",
|
753
|
-
"value_allowed_null":
|
804
|
+
"value_allowed_null": false
|
754
805
|
},
|
755
806
|
{
|
756
807
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -790,13 +841,13 @@
|
|
790
841
|
"members": [
|
791
842
|
{
|
792
843
|
"disabled": false,
|
793
|
-
"document": "
|
844
|
+
"document": "凭证状态信息",
|
794
845
|
"example": "无",
|
795
846
|
"member": "CredentialState",
|
796
847
|
"name": "CredentialState",
|
797
848
|
"output_required": false,
|
798
849
|
"type": "object",
|
799
|
-
"value_allowed_null":
|
850
|
+
"value_allowed_null": false
|
800
851
|
},
|
801
852
|
{
|
802
853
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -903,13 +954,13 @@
|
|
903
954
|
"members": [
|
904
955
|
{
|
905
956
|
"disabled": false,
|
906
|
-
"document": "DID
|
957
|
+
"document": "DID标识",
|
907
958
|
"example": "did:tdid:w1:0xadjadjiwdiqe2131",
|
908
959
|
"member": "string",
|
909
960
|
"name": "Did",
|
910
961
|
"output_required": false,
|
911
962
|
"type": "string",
|
912
|
-
"value_allowed_null":
|
963
|
+
"value_allowed_null": false
|
913
964
|
},
|
914
965
|
{
|
915
966
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -1213,53 +1264,53 @@
|
|
1213
1264
|
"members": [
|
1214
1265
|
{
|
1215
1266
|
"disabled": false,
|
1216
|
-
"document": "DID
|
1267
|
+
"document": "DID总数",
|
1217
1268
|
"example": "10",
|
1218
1269
|
"member": "uint64",
|
1219
1270
|
"name": "DidCnt",
|
1220
1271
|
"output_required": true,
|
1221
1272
|
"type": "int",
|
1222
|
-
"value_allowed_null":
|
1273
|
+
"value_allowed_null": false
|
1223
1274
|
},
|
1224
1275
|
{
|
1225
1276
|
"disabled": false,
|
1226
|
-
"document": "VC
|
1277
|
+
"document": "VC总数",
|
1227
1278
|
"example": "3",
|
1228
1279
|
"member": "uint64",
|
1229
1280
|
"name": "VCCnt",
|
1230
1281
|
"output_required": true,
|
1231
1282
|
"type": "int",
|
1232
|
-
"value_allowed_null":
|
1283
|
+
"value_allowed_null": false
|
1233
1284
|
},
|
1234
1285
|
{
|
1235
1286
|
"disabled": false,
|
1236
|
-
"document": "CPT
|
1287
|
+
"document": "CPT总数",
|
1237
1288
|
"example": "2",
|
1238
1289
|
"member": "uint64",
|
1239
1290
|
"name": "CPTCnt",
|
1240
1291
|
"output_required": true,
|
1241
1292
|
"type": "int",
|
1242
|
-
"value_allowed_null":
|
1293
|
+
"value_allowed_null": false
|
1243
1294
|
},
|
1244
1295
|
{
|
1245
1296
|
"disabled": false,
|
1246
|
-
"document": " VC验证总数
|
1297
|
+
"document": " VC验证总数 ",
|
1247
1298
|
"example": "2",
|
1248
1299
|
"member": "uint64",
|
1249
1300
|
"name": "VerifyCnt",
|
1250
1301
|
"output_required": true,
|
1251
1302
|
"type": "int",
|
1252
|
-
"value_allowed_null":
|
1303
|
+
"value_allowed_null": false
|
1253
1304
|
},
|
1254
1305
|
{
|
1255
1306
|
"disabled": false,
|
1256
|
-
"document": "
|
1307
|
+
"document": "权威机构数量",
|
1257
1308
|
"example": "1",
|
1258
1309
|
"member": "uint64",
|
1259
1310
|
"name": "AuthCnt",
|
1260
1311
|
"output_required": false,
|
1261
1312
|
"type": "int",
|
1262
|
-
"value_allowed_null":
|
1313
|
+
"value_allowed_null": false
|
1263
1314
|
}
|
1264
1315
|
],
|
1265
1316
|
"usage": "out"
|
@@ -1342,12 +1393,30 @@
|
|
1342
1393
|
},
|
1343
1394
|
{
|
1344
1395
|
"disabled": false,
|
1345
|
-
"document": "更新VC状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential,
|
1346
|
-
"example": "
|
1396
|
+
"document": "更新VC状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,如设置为1分钟内",
|
1397
|
+
"example": "无",
|
1347
1398
|
"member": "string",
|
1348
1399
|
"name": "OperateCredential",
|
1349
1400
|
"required": false,
|
1350
1401
|
"type": "string"
|
1402
|
+
},
|
1403
|
+
{
|
1404
|
+
"disabled": false,
|
1405
|
+
"document": "待更新凭证状态的原始凭证内容",
|
1406
|
+
"example": "无",
|
1407
|
+
"member": "string",
|
1408
|
+
"name": "OriginCredential",
|
1409
|
+
"required": false,
|
1410
|
+
"type": "string"
|
1411
|
+
},
|
1412
|
+
{
|
1413
|
+
"disabled": false,
|
1414
|
+
"document": "凭证状态信息",
|
1415
|
+
"example": "无",
|
1416
|
+
"member": "CredentialStatusInfo",
|
1417
|
+
"name": "CredentialStatus",
|
1418
|
+
"required": false,
|
1419
|
+
"type": "object"
|
1351
1420
|
}
|
1352
1421
|
],
|
1353
1422
|
"type": "object"
|
@@ -1357,13 +1426,13 @@
|
|
1357
1426
|
"members": [
|
1358
1427
|
{
|
1359
1428
|
"disabled": false,
|
1360
|
-
"document": "
|
1429
|
+
"document": "更新是否成功",
|
1361
1430
|
"example": "true",
|
1362
1431
|
"member": "bool",
|
1363
1432
|
"name": "Result",
|
1364
1433
|
"output_required": false,
|
1365
1434
|
"type": "bool",
|
1366
|
-
"value_allowed_null":
|
1435
|
+
"value_allowed_null": false
|
1367
1436
|
},
|
1368
1437
|
{
|
1369
1438
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -122,10 +122,22 @@
|
|
122
122
|
],
|
123
123
|
"UpdateCredentialState": [
|
124
124
|
{
|
125
|
-
"document": "
|
126
|
-
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCredentialState\n<公共请求参数>\n\n{\n \"DAPId\":
|
125
|
+
"document": "用于颁发凭证的DID标识是本腾讯云账号创建的场景\n由于凭证颁发凭证的DID是本账号创建默认拥有设置凭证状态权限,因此不需操作鉴权的临时凭证\nOperateCredential不需设置,CredentialStatus为凭证状态信息,OriginCredential携带原始凭证的内容",
|
126
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCredentialState\n<公共请求参数>\n\n{\n \"DAPId\": 51,\n \"CredentialStatus\": {\n \"Id\": \"617481bf42ad384b3324551cb2f454be\",\n \"Issuer\": \"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149\",\n \"Status\": 1\n },\n \"OriginCredential\": \"{\\\"cptId\\\":1,\\\"issuer\\\":\\\"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149\\\",\\\"expirationDate\\\":\\\"2124-06-29T15:25:00+08:00\\\",\\\"issuanceDate\\\":\\\"2023-11-08T10:06:05+08:00\\\",\\\"context\\\":\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\\"id\\\":\\\"617481bf42ad384b3324551cb2f454be\\\",\\\"type\\\":[\\\"VerifiableCredential\\\"],\\\"credentialSubject\\\":{\\\"action\\\":\\\"deactiveDid\\\",\\\"age\\\":17},\\\"proof\\\":{\\\"created\\\":\\\"2023-11-08T10:06:05+08:00\\\",\\\"creator\\\":\\\"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149#keys-0\\\",\\\"signatureValue\\\":\\\"MEUCIQDUHK3znfKQA4XqiyRMgM0C6m/TbaAhzbA5PG3Mi8kFOwIgVnZWkCNrLiPC62ZUDzHfwd5aqh2nQPHpc7hLlRIflyg=\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"metaDigest\\\":\\\"3aba1bf7555b79e5217a87e39b5122e3e62d5c486878e6a24f629aed207561cb\\\",\\\"vcDigest\\\":\\\"9e71e2b5587517769b126a2877f8b6071cf3aa2389bd57618ba97f07a763984c\\\",\\\"privacy\\\":\\\"Public\\\",\\\"salt\\\":{\\\"action\\\":\\\"hFify\\\",\\\"age\\\":\\\"bEQqg\\\"}}}\"\n}",
|
127
127
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f5e12d37-100a-4b82-b522-7b76c519ed70\",\n \"Result\": true\n }\n}",
|
128
|
-
"title": "
|
128
|
+
"title": "无需凭证鉴权首次更新凭证链上状态"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"document": "用于颁发凭证的DID标识是非本腾讯云账号创建的场景\n由于凭证颁发凭证的DID为非本账号创建,默认无设置凭证状态的权限,因此需要临时凭证进行操作鉴权\nOriginCredentialt和CredentialStatus不需设置,OperateCredential携带建操作鉴权临时凭证,凭证通过IssueCredential接口颁发,凭证参数说明如下:\n1. 凭证模板 id (cpt)固定为 1\n2. claim需三个字段:\n(1) action: 固定为updateCredentialState \n(2) originCredential: 携带待更新状态的凭证原始内容\n(3) credentialStatus: 凭证状态结构的json字符串,包括3个字段:\nId: 凭证 id,对应凭证的 id 字段 \nissuer: 凭证颁发者 Did \nStatus: 凭证状态(0:吊销;1:有效) \n3. ExpirationDate过期时间根据操作凭证创建时间和调用更新凭证状态接口的时间差来设置,通常状态实时更新,过期时间在1分钟内即可",
|
132
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCredentialState\n<公共请求参数>\n\n{\n \"DAPId\": 5,\n \"OperateCredential\": \"{\\n\\t\\\"cptId\\\": 1,\\n\\t\\\"issuer\\\": \\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb\\\",\\n\\t\\\"expirationDate\\\": \\\"2023-12-01T10:00:00+08:00\\\",\\n\\t\\\"issuanceDate\\\": \\\"2023-09-19T20:13:36+08:00\\\",\\n\\t\\\"context\\\": \\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\n\\t\\\"id\\\": \\\"fw1652844bee8e5ecf1b404242b83f1b\\\",\\n\\t\\\"type\\\": [\\\"VerifiableCredential\\\"],\\n\\t\\\"credentialSubject\\\": {\\n\\t\\t\\\"CredentialStatus\\\": {\\n\\t\\t\\t\\\"id\\\": \\\"8818fdd61eb84e4a745a3b04c96e5237\\\",\\n\\t\\t\\t\\\"issuer\\\": \\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb\\\",\\n\\t\\t\\t\\\"status\\\": 1\\n\\t\\t},\\n\\t\\t\\\"action\\\": \\\"updateCredentialState\\\",\\n\\t\\t\\\"originCredential\\\": \\\"{\\\\\\\"cptId\\\\\\\":1,\\\\\\\"issuer\\\\\\\":\\\\\\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb\\\\\\\",\\\\\\\"expirationDate\\\\\\\":\\\\\\\"2023-12-01T10:00:00+08:00\\\\\\\",\\\\\\\"issuanceDate\\\\\\\":\\\\\\\"2023-09-19T20:04:20+08:00\\\\\\\",\\\\\\\"context\\\\\\\":\\\\\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\\\\\",\\\\\\\"id\\\\\\\":\\\\\\\"8818fdd61eb84e4a745a3b04c96e5237\\\\\\\",\\\\\\\"type\\\\\\\":[\\\\\\\"VerifiableCredential\\\\\\\"],\\\\\\\"credentialSubject\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"updateCredentialState\\\\\\\"},\\\\\\\"proof\\\\\\\":{\\\\\\\"created\\\\\\\":\\\\\\\"2023-09-19T20:04:20+08:00\\\\\\\",\\\\\\\"creator\\\\\\\":\\\\\\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb#keys-0\\\\\\\",\\\\\\\"signatureValue\\\\\\\":\\\\\\\"MEUCIQDUneIwlLbh5AFjQt9HJhIZAQshT45/Em8hVOUjHcdu0QIgL3rg3A99qGGNszstF+GTV5IU4vT9OnI1lqM3f0w1JmI=\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"Secp256r1\\\\\\\",\\\\\\\"metaDigest\\\\\\\":\\\\\\\"6a216f84cb9w1b6170cb017cccd6w1d0b81aad200d5691914d6045471d0dd1ad\\\\\\\",\\\\\\\"vcDigest\\\\\\\":\\\\\\\"c7e13w1bcfa879c922f9141d085facc0ce1973e8d27d48238130739c1a332dcf\\\\\\\",\\\\\\\"privacy\\\\\\\":\\\\\\\"Public\\\\\\\",\\\\\\\"salt\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"HZdDU\\\\\\\"}}}\\\"\\n\\t},\\n\\t\\\"proof\\\": {\\n\\t\\t\\\"created\\\": \\\"2023-09-19T20:13:36+08:00\\\",\\n\\t\\t\\\"creator\\\": \\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb#keys-0\\\",\\n\\t\\t\\\"signatureValue\\\": \\\"MEUCIDkLg6EqmwvEHYLtjumpeqKz/hIi6EROMDXPPpNIxORHAiEA8T0LMI59tkBTz+llu/GkjToj5M8k5SwXFoU3fnjQ3mo=\\\",\\n\\t\\t\\\"type\\\": \\\"Secp256r1\\\",\\n\\t\\t\\\"metaDigest\\\": \\\"46894b7f54365d685ba587608d2b74f800404ebb76f5c32dd90bc3916e844ae2\\\",\\n\\t\\t\\\"vcDigest\\\": \\\"d086ba831ab3185971c168w125bf2bd487d7eced3ede8d623b30cfe9da03bcaf\\\",\\n\\t\\t\\\"privacy\\\": \\\"Public\\\",\\n\\t\\t\\\"salt\\\": {\\n\\t\\t\\t\\\"CredentialStatus\\\": {\\n\\t\\t\\t\\t\\\"id\\\": \\\"4dPOH\\\",\\n\\t\\t\\t\\t\\\"issuer\\\": \\\"OJH5M\\\",\\n\\t\\t\\t\\t\\\"status\\\": \\\"lm2W4\\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\\"action\\\": \\\"r95wA\\\",\\n\\t\\t\\t\\\"orignCredential\\\": \\\"b3H4j\\\"\\n\\t\\t}\\n\\t}\\n}\"\n}",
|
133
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f5e12d37-100a-4b82-b522-7b76c519ed70\",\n \"Result\": true\n }\n}",
|
134
|
+
"title": "需要凭证鉴权首次更新凭证链上状态"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"document": "首次更新过凭证状态后,凭证状态已绑定该账号的链上用户,所以后续更新凭证状态只需参数CredentialStatus即可, OperateCredential和OriginCredential参数均不需要",
|
138
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCredentialState\n<公共请求参数>\n\n{\n \"DAPId\": 51,\n \"CredentialStatus\": {\n \"Id\": \"617481bf42ad384b3324551cb2f454be\",\n \"Issuer\": \"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149\",\n \"Status\": 0\n }\n}",
|
139
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f5e12d37-100a-4b82-b522-7b76c519ed70\",\n \"Result\": true\n }\n}",
|
140
|
+
"title": "凭证状态已上链再次更新状态的场景(非首次更新凭证状态)"
|
129
141
|
}
|
130
142
|
],
|
131
143
|
"VerifyCredentials": [
|
@@ -1343,7 +1343,7 @@
|
|
1343
1343
|
{
|
1344
1344
|
"disabled": false,
|
1345
1345
|
"document": "镜像信息",
|
1346
|
-
"example": "{\"ImageType\":\"SYSTEM\",\"ImageId\":\"35551e3c-b0e3
|
1346
|
+
"example": "{\"ImageType\":\"SYSTEM\",\"ImageId\":\"35551e3c-b0e3\",\"ImageUrl\":\"tione.tencentcloudcr.com/qcloud/llm-train:1.8.0\",\"RegistryRegion\":\"\",\"RegistryId\":\"\",\"ImageName\":\"tilearn-llm0.9\"}",
|
1347
1347
|
"member": "ImageInfo",
|
1348
1348
|
"name": "ImageInfo",
|
1349
1349
|
"required": false,
|
@@ -6771,7 +6771,7 @@
|
|
6771
6771
|
{
|
6772
6772
|
"disabled": false,
|
6773
6773
|
"document": "数据配置\n注意:此字段可能返回 null,表示取不到有效值。",
|
6774
|
-
"example": "[{\"MappingPath\":\"/home/tione/notebook\",\"DataSourceType\":\"CFS\",\"WeDataHDFSSource\":{\"Id\":0,\"Path\":\"\"},\"CFSSource\":{\"Id\":\"cfs-14cpoxo5\",\"Path\":\"/\"}
|
6774
|
+
"example": "[{\"MappingPath\":\"/home/tione/notebook\",\"DataSourceType\":\"CFS\",\"WeDataHDFSSource\":{\"Id\":0,\"Path\":\"\"},\"CFSSource\":{\"Id\":\"cfs-14cpoxo5\",\"Path\":\"/\"}}]",
|
6775
6775
|
"member": "DataConfig",
|
6776
6776
|
"name": "DataConfigs",
|
6777
6777
|
"output_required": true,
|
@@ -6801,7 +6801,7 @@
|
|
6801
6801
|
{
|
6802
6802
|
"disabled": false,
|
6803
6803
|
"document": "镜像信息",
|
6804
|
-
"example": "{\"ImageType\":\"SYSTEM\",\"ImageUrl\":\"tione.tencentcloudcr.com/qcloud-ti-platform/llm-train:24.03-gpu-py310-cu124-tilearn-llm-v1.8.0\",\"
|
6804
|
+
"example": "{\"ImageType\":\"SYSTEM\",\"ImageUrl\":\"tione.tencentcloudcr.com/qcloud-ti-platform/llm-train:24.03-gpu-py310-cu124-tilearn-llm-v1.8.0\",\"ImageName\":\"tilearn-\",\"ImageId\":\"35551e3c-b0e310a5613cd3\"}",
|
6805
6805
|
"member": "ImageInfo",
|
6806
6806
|
"name": "ImageInfo",
|
6807
6807
|
"output_required": true,
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateNotebook": [
|
28
28
|
{
|
29
29
|
"document": "创建Notebook",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNotebook\n<公共请求参数>\n\n{\n \"Name\": \"notebook-test\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ResourceConf\": {\n \"Cpu\": 2000,\n \"Memory\": 4096,\n \"Gpu\": 1,\n \"GpuType\": \"V100\",\n \"InstanceType\": \"TI.GN10.2XLARGE40.POST\"\n },\n \"ResourceGroupId\": \"trsg-dwpqnjmk\",\n \"VpcId\": \"vpc-4kq8vlym\",\n \"SubnetId\": \"subnet-58zkmdob\",\n \"VolumeSourceType\": \"CFS\",\n \"VolumeSizeInGB\": 1,\n \"VolumeSourceCFS\": {\n \"Id\": \"cfs-9su5kqtv\",\n \"Path\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNotebook\n<公共请求参数>\n\n{\n \"Name\": \"notebook-test\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ResourceConf\": {\n \"Cpu\": 2000,\n \"Memory\": 4096,\n \"Gpu\": 1,\n \"GpuType\": \"V100\",\n \"InstanceType\": \"TI.GN10.2XLARGE40.POST\"\n },\n \"ResourceGroupId\": \"trsg-dwpqnjmk\",\n \"VpcId\": \"vpc-4kq8vlym\",\n \"SubnetId\": \"subnet-58zkmdob\",\n \"VolumeSourceType\": \"CFS\",\n \"VolumeSizeInGB\": 1,\n \"VolumeSourceCFS\": {\n \"Id\": \"cfs-9su5kqtv\",\n \"Path\": \"/tione\"\n },\n \"LogEnable\": true,\n \"LogConfig\": {\n \"LogsetId\": \"4dd0a097-f629-4afc-9b99-888ef99a178f\",\n \"TopicId\": \"ea8048db-8f97-4abb-9668-f3532b9b61f8\"\n },\n \"RootAccess\": true,\n \"LifecycleScriptId\": \"ls-1007228485705742720\",\n \"DefaultCodeRepoId\": \"cr-1000669213287070080\",\n \"AdditionalCodeRepoIds\": [\n \"cr-1000669213287070081\"\n ],\n \"AutoStopping\": true,\n \"AutomaticStopTime\": 1,\n \"Tags\": [\n {\n \"TagKey\": \"test-key\",\n \"TagValue\": \"test-value\"\n }\n ],\n \"DirectInternetAccess\": true,\n \"DataConfigs\": [\n {\n \"MappingPath\": \"/home/tione/notebook\",\n \"DataSourceType\": \"CLOUD_PREMIUM\",\n \"CBSSource\": {\n \"VolumeSizeInGB\": 50\n }\n }\n ],\n \"ImageInfo\": {\n \"ImageType\": \"SYSTEM\",\n \"ImageUrl\": \"tione.tencentcloudcr.com/qcloud-ti-platform/llm-train:24.03-gpu-py310-cu124-tilearn-llm-v1.8.0\",\n \"ImageName\": \"tilearn-llm0.9-torch2.3-py3.10-cuda12.4-gpu\"\n },\n \"ImageType\": \"SYSTEM\"\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"Id\": \"nb-1188508294472113920\",\n \"RequestId\": \"ecc8d2f6-9772-40df-856f-f6e48c6a7008\"\n }\n}",
|
32
32
|
"title": "创建Notebook"
|
33
33
|
}
|
@@ -107,8 +107,8 @@
|
|
107
107
|
"DescribeBillingResourceGroups": [
|
108
108
|
{
|
109
109
|
"document": "",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingResourceGroups\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"
|
111
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ResourceGroupSet\": [\n {\n \"ResourceGroupId\": \"
|
110
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingResourceGroups\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"AvailableSort\",\n \"Values\": [\n \"true\"\n ],\n \"Negative\": true,\n \"Fuzzy\": true\n }\n ],\n \"TagFilters\": [\n {\n \"TagKey\": \"tag-a\",\n \"TagValues\": [\n \"tag-a\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchWord\": \"hello-world\",\n \"DontShowInstanceSet\": true\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ResourceGroupSet\": [\n {\n \"ResourceGroupId\": \"rsg-8c92bd27\",\n \"ResourceGroupName\": \"test-rsg-a\",\n \"FreeInstance\": 1,\n \"TotalInstance\": 1,\n \"UsedResource\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuDetailSet\": [\n {\n \"Name\": \"A100\",\n \"Value\": 1\n }\n ]\n },\n \"TotalResource\": {\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Gpu\": 1,\n \"GpuDetailSet\": [\n {\n \"Name\": \"A100\",\n \"Value\": 1\n }\n ]\n },\n \"InstanceSet\": [],\n \"TagSet\": [\n {\n \"TagKey\": \"tag-a\",\n \"TagValue\": \"tag-b\"\n }\n ]\n }\n ],\n \"RequestId\": \"a8410ded-4a5f-6ad1-6537-6a3462568017\"\n }\n}",
|
112
112
|
"title": "查询资源组详情"
|
113
113
|
}
|
114
114
|
],
|
@@ -220,7 +220,7 @@
|
|
220
220
|
{
|
221
221
|
"document": "",
|
222
222
|
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNotebook\n<公共请求参数>\n\n{\n \"Id\": \"nb-1188508294472113920\"\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"ecc8d2f6-9772-40df-856f-f6e48c6a7008\",\n \"NotebookDetail\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"AutomaticStopTime\": 0,\n \"EndTime\": \"2024-11-14T17:22:16+08\",\n \"ChargeStatus\": \"BILLING\",\n \"Status\": \"Stopped\",\n \"UpdateTime\": \"2024-11-14T17:17:51+08\",\n \"DataSource\": \"CFS\",\n \"Message\": \"test\",\n \"VolumeSourceCFS\": {\n \"Id\": \"cfs-9su5kqtv\",\n \"Path\": \"
|
223
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ecc8d2f6-9772-40df-856f-f6e48c6a7008\",\n \"NotebookDetail\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"AutomaticStopTime\": 0,\n \"EndTime\": \"2024-11-14T17:22:16+08\",\n \"ChargeStatus\": \"BILLING\",\n \"Status\": \"Stopped\",\n \"UpdateTime\": \"2024-11-14T17:17:51+08\",\n \"DataSource\": \"CFS\",\n \"Message\": \"test\",\n \"VolumeSourceCFS\": {\n \"Id\": \"cfs-9su5kqtv\",\n \"Path\": \"/tione\",\n \"Protocol\": \"NFS\",\n \"MountType\": \"STORAGE\"\n },\n \"VolumeSourceType\": \"CFS\",\n \"ImageInfo\": {\n \"ImageType\": \"SYSTEM\",\n \"ImageUrl\": \"tione.tencentcloudcr.com/qcloud-ti-platform/llm-train:24.03-gpu-py310-cu124-tilearn-llm-v1.8.0\",\n \"ImageName\": \"tilearn-llm0.9-torch2.3-py3.10-cuda12.4-gpu\",\n \"RegistryId\": \"\",\n \"RegistryRegion\": \"\"\n },\n \"ImageType\": \"SYSTEM\",\n \"DataConfigs\": [\n {\n \"MappingPath\": \"/home/tione/notebook\",\n \"DataSourceType\": \"CFS\",\n \"DataSourceUsage\": \"test\",\n \"HDFSSource\": {\n \"Id\": \"hd-sds\",\n \"Path\": \"/date\"\n },\n \"CFSTurboSource\": {\n \"Id\": \"cfs-14csdso5\",\n \"Path\": \"/tione\"\n },\n \"CFSSource\": {\n \"Id\": \"cfs-14cpoxo5\",\n \"Protocol\": \"NFS\",\n \"MountType\": \"STORAGE\",\n \"Path\": \"/tione\"\n },\n \"COSSource\": {\n \"Bucket\": \"harry-1318247806\",\n \"Region\": \"ap-shanghai\",\n \"Paths\": [\n \"/test\"\n ]\n },\n \"GooseFSSource\": {\n \"Id\": \"\",\n \"Type\": \"\",\n \"Path\": \"\",\n \"NameSpace\": \"\"\n },\n \"LocalDiskSource\": {\n \"InstanceId\": \"\"\n },\n \"CBSSource\": {\n \"VolumeSizeInGB\": 0\n },\n \"DataSetSource\": {\n \"Id\": \"\"\n }\n }\n ],\n \"VpcId\": \"vpc-hb7u9q6e\",\n \"Tags\": [\n {\n \"TagKey\": \"test-key\",\n \"TagValue\": \"test-value\"\n }\n ],\n \"Id\": \"nb-1188508294472113920\",\n \"ResourceGroupId\": \"trsg-dwpqnjmk\",\n \"SubnetId\": \"subnet-58zkmdob\",\n \"LifecycleScriptId\": \"ls-1007228485705742720\",\n \"RootAccess\": true,\n \"Name\": \"notebook-test\",\n \"DefaultCodeRepoId\": \"cr-1000669213287070080\",\n \"ResourceConf\": {\n \"Gpu\": 1,\n \"Cpu\": 2018,\n \"GpuType\": \"V100\",\n \"InstanceType\": \"TI.S.MEDIUM.POST\",\n \"Memory\": 4000\n },\n \"AutoStopping\": true,\n \"ResourceGroupName\": \"resource-test\",\n \"LogEnable\": true,\n \"BillingInfos\": [\n \"info\"\n ],\n \"InstanceTypeAlias\": \"2C4G\",\n \"AdditionalCodeRepoIds\": [\n \"cr-1000669213287070080\"\n ],\n \"DirectInternetAccess\": true,\n \"CreateTime\": \"2024-11-11T10:50:44+08\",\n \"JobCreateTime\": \"2024-11-14T16:58:00+08\",\n \"RuntimeInSeconds\": 100,\n \"VolumeSizeInGB\": 100,\n \"StartTime\": \"2024-11-14T19:50:10+08\",\n \"PodName\": \"nb-1188501796310898048-912gqy8i0xvk\",\n \"FailureReason\": \"no-msg\",\n \"SubUin\": \"100032979603\",\n \"LogConfig\": {\n \"TopicId\": \"ea8048db-8f97-4abb-9668-f3532b9b61f8\",\n \"LogsetId\": \"4dd0a097-f629-4afc-9b99-888ef99a178f\"\n }\n }\n }\n}",
|
224
224
|
"title": "Notebook详情"
|
225
225
|
}
|
226
226
|
],
|