tccli 3.0.1273.1__py2.py3-none-any.whl → 3.0.1275.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.
Files changed (63) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -9
  3. tccli/services/asr/v20190614/api.json +1 -1
  4. tccli/services/captcha/v20190722/api.json +116 -116
  5. tccli/services/captcha/v20190722/examples.json +1 -1
  6. tccli/services/cdwch/v20200915/api.json +61 -11
  7. tccli/services/cdwdoris/v20211228/api.json +19 -0
  8. tccli/services/clb/v20180317/api.json +41 -4
  9. tccli/services/cloudstudio/v20230508/api.json +1 -1
  10. tccli/services/dlc/v20210125/api.json +17 -15
  11. tccli/services/dlc/v20210125/examples.json +5 -5
  12. tccli/services/dts/v20211206/api.json +2 -2
  13. tccli/services/emr/v20190103/api.json +1 -1
  14. tccli/services/es/v20180416/api.json +2 -2
  15. tccli/services/es/v20180416/examples.json +4 -4
  16. tccli/services/faceid/v20180301/api.json +14 -14
  17. tccli/services/faceid/v20180301/examples.json +8 -2
  18. tccli/services/hunyuan/v20230901/api.json +2 -2
  19. tccli/services/live/v20180801/api.json +233 -242
  20. tccli/services/lke/v20231130/api.json +73 -2
  21. tccli/services/lke/v20231130/examples.json +1 -1
  22. tccli/services/lkeap/v20240522/api.json +3 -3
  23. tccli/services/lowcode/lowcode_client.py +477 -0
  24. tccli/services/lowcode/v20210108/api.json +1764 -155
  25. tccli/services/lowcode/v20210108/examples.json +75 -9
  26. tccli/services/monitor/monitor_client.py +53 -0
  27. tccli/services/monitor/v20180724/api.json +188 -0
  28. tccli/services/monitor/v20180724/examples.json +8 -0
  29. tccli/services/ocr/v20181119/api.json +17 -7
  30. tccli/services/ocr/v20181119/examples.json +4 -4
  31. tccli/services/organization/v20210331/api.json +19 -0
  32. tccli/services/rce/v20201103/api.json +26 -26
  33. tccli/services/redis/v20180412/api.json +110 -110
  34. tccli/services/ssl/v20191205/api.json +9 -9
  35. tccli/services/tcbr/v20220217/api.json +18 -0
  36. tccli/services/tdid/v20210519/api.json +95 -26
  37. tccli/services/tdid/v20210519/examples.json +15 -3
  38. tccli/services/tke/v20180525/api.json +152 -147
  39. tccli/services/tke/v20180525/examples.json +2 -2
  40. tccli/services/tke/v20220501/api.json +8 -8
  41. tccli/services/tsf/v20180326/api.json +88 -88
  42. tccli/services/tsf/v20180326/examples.json +2 -2
  43. tccli/services/vpc/v20170312/api.json +2 -2
  44. tccli/services/waf/v20180125/api.json +1 -1
  45. tccli/services/weilingwith/v20230427/api.json +21 -21
  46. tccli/services/weilingwith/v20230427/examples.json +3 -3
  47. {tccli-3.0.1273.1.dist-info → tccli-3.0.1275.1.dist-info}/METADATA +2 -2
  48. {tccli-3.0.1273.1.dist-info → tccli-3.0.1275.1.dist-info}/RECORD +51 -63
  49. tccli/services/lp/__init__.py +0 -4
  50. tccli/services/lp/lp_client.py +0 -207
  51. tccli/services/lp/v20200224/api.json +0 -311
  52. tccli/services/lp/v20200224/examples.json +0 -13
  53. tccli/services/rkp/__init__.py +0 -4
  54. tccli/services/rkp/rkp_client.py +0 -313
  55. tccli/services/rkp/v20191209/api.json +0 -564
  56. tccli/services/rkp/v20191209/examples.json +0 -29
  57. tccli/services/rp/__init__.py +0 -4
  58. tccli/services/rp/rp_client.py +0 -207
  59. tccli/services/rp/v20200224/api.json +0 -290
  60. tccli/services/rp/v20200224/examples.json +0 -13
  61. {tccli-3.0.1273.1.dist-info → tccli-3.0.1275.1.dist-info}/WHEEL +0 -0
  62. {tccli-3.0.1273.1.dist-info → tccli-3.0.1275.1.dist-info}/entry_points.txt +0 -0
  63. {tccli-3.0.1273.1.dist-info → tccli-3.0.1275.1.dist-info}/license_files/LICENSE +0 -0
@@ -1464,7 +1464,7 @@
1464
1464
  {
1465
1465
  "disabled": false,
1466
1466
  "document": "管理人职位。若没有传ManagerId, 则此字段必传",
1467
- "example": "测试",
1467
+ "example": "研发",
1468
1468
  "member": "string",
1469
1469
  "name": "AdminTitle",
1470
1470
  "required": false,
@@ -1581,7 +1581,7 @@
1581
1581
  {
1582
1582
  "disabled": false,
1583
1583
  "document": "待提交资料的付费证书 ID。\t",
1584
- "example": "",
1584
+ "example": "Lr1eMvQr",
1585
1585
  "member": "string",
1586
1586
  "name": "CertId",
1587
1587
  "required": true,
@@ -1590,7 +1590,7 @@
1590
1590
  {
1591
1591
  "disabled": false,
1592
1592
  "document": "是否删除自动DNS验证值:0,不删除; 1,删除; 默认不删除",
1593
- "example": "",
1593
+ "example": "0",
1594
1594
  "member": "uint64",
1595
1595
  "name": "DeleteDnsAutoRecord",
1596
1596
  "required": false,
@@ -1599,7 +1599,7 @@
1599
1599
  {
1600
1600
  "disabled": false,
1601
1601
  "document": "证书域名验证方式:\nDNS_AUTO: 自动添加域名DNS验证, 需用户域名解析托管在『[云解析DNS](https://console.cloud.tencent.com/cns)』,且与申请证书归属同一个腾讯云账号\nDNS:手动添加域名DNS验证,需用户手动去域名解析服务商添加验证值\nFILE:手动添加域名文件验证。 需要用户手动在域名站点根目录添加指定路径文件进行文件验证, http&https任一通过即可;且域名站点需海外CA机构能访问, 具体访问白名单见控制台页面",
1602
- "example": "",
1602
+ "example": "DNS",
1603
1603
  "member": "string",
1604
1604
  "name": "VerifyType",
1605
1605
  "required": false,
@@ -1614,7 +1614,7 @@
1614
1614
  {
1615
1615
  "disabled": false,
1616
1616
  "document": "CA机构侧订单号。",
1617
- "example": "",
1617
+ "example": "rcMcFK7a_b0iMMEH4",
1618
1618
  "member": "string",
1619
1619
  "name": "OrderId",
1620
1620
  "output_required": true,
@@ -1624,7 +1624,7 @@
1624
1624
  {
1625
1625
  "disabled": false,
1626
1626
  "document": "证书状态:0 = 审核中,1 = 已通过,2 = 审核失败,3 = 已过期,4 = 已添加DNS记录,5 = 企业证书,待提交,6 = 订单取消中,7 = 已取消,8 = 已提交资料, 待上传确认函,9 = 证书吊销中,10 = 已吊销,11 = 重颁发中,12 = 待上传吊销确认函,13 = 免费证书待提交资料。",
1627
- "example": "",
1627
+ "example": "0",
1628
1628
  "member": "uint64",
1629
1629
  "name": "Status",
1630
1630
  "output_required": true,
@@ -1634,7 +1634,7 @@
1634
1634
  {
1635
1635
  "disabled": false,
1636
1636
  "document": "是否预审核",
1637
- "example": "",
1637
+ "example": "0",
1638
1638
  "member": "bool",
1639
1639
  "name": "IsAudited",
1640
1640
  "output_required": true,
@@ -9122,7 +9122,7 @@
9122
9122
  {
9123
9123
  "disabled": false,
9124
9124
  "document": "上传的 CSR 内容。\n若CstType为parse, 则此字段必传。",
9125
- "example": "",
9125
+ "example": "-----BEGIN CERTIFICATE REQUEST-----\\nxxxxxxx\\n-----END CERTIFICATE REQUEST-----",
9126
9126
  "member": "string",
9127
9127
  "name": "CsrContent",
9128
9128
  "required": false,
@@ -9149,7 +9149,7 @@
9149
9149
  {
9150
9150
  "disabled": false,
9151
9151
  "document": "私钥密码, 目前仅使用在生成jks、pfx格式证书时密码; 其他格式私钥证书未加密\t",
9152
- "example": "",
9152
+ "example": "1234aaa5678",
9153
9153
  "member": "string",
9154
9154
  "name": "KeyPassword",
9155
9155
  "required": false,
@@ -641,6 +641,24 @@
641
641
  "name": "PageNum",
642
642
  "required": false,
643
643
  "type": "int"
644
+ },
645
+ {
646
+ "disabled": false,
647
+ "document": "服务名",
648
+ "example": "server-name",
649
+ "member": "string",
650
+ "name": "ServerName",
651
+ "required": false,
652
+ "type": "string"
653
+ },
654
+ {
655
+ "disabled": false,
656
+ "document": "服务类型:function | container",
657
+ "example": "function",
658
+ "member": "string",
659
+ "name": "ServerType",
660
+ "required": false,
661
+ "type": "string"
644
662
  }
645
663
  ],
646
664
  "type": "object"
@@ -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,\"issuer\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827\",\"expirationDate\":\"2124-06-29T15:25:00+08:00\",\"issuanceDate\":\"2024-12-18T10:51:47+08:00\",\"context\":\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\",\"id\":\"6aeea943a851ad83acae1e138c2edc67\",\"type\":[\"VerifiableCredential\"],\"credentialSubject\":{\"action\":\"setAge\",\"age\":17},\"proof\":{\"created\":\"2024-12-18T10:51:47+08:00\",\"creator\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827#keys-0\",\"signatureValue\":\"MEQCIHETsDrIpka838y4NHWU2S07+YwPRb3Mpwq8W5TLDNsNAiBUBFP0mb+eNpc5cTla15MxtIWGk0u8AAiTAHLjYbS2Mg==\",\"type\":\"Secp256r1\",\"metaDigest\":\"79ccefe237c9bf65d804747ca7f20ff9b985242e4e1e8634587bbebe07b51c45\",\"vcDigest\":\"b8e185fdd623d09434460ceaae6dd5563411ed9d8c7ded144248813ba0b4bcfc\",\"privacy\":\"Public\",\"salt\":{\"action\":\"XG9VA\",\"age\":\"yol5B\"}}}",
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": "{\"context\":\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\",\"cptId\":1,\"credentialSubject\":{\"action\":\"setAge\",\"age\":\"0x7a5b0f3813c2bcd4a0b3e2c534aafdb4cf0337af1ad2bc308bd11c6aded91a3c\"},\"expirationDate\":\"2124-06-29T15:25:00+08:00\",\"id\":\"6aeea943a851ad83acae1e138c2edc67\",\"issuanceDate\":\"2024-12-18T10:51:47+08:00\",\"issuer\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827\",\"proof\":{\"created\":\"2024-12-18T10:51:47+08:00\",\"creator\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827#keys-0\",\"metaDigest\":\"79ccefe237c9bf65d804747ca7f20ff9b985242e4e1e8634587bbebe07b51c45\",\"privacy\":\"Public\",\"salt\":{\"action\":\"XG9VA\",\"age\":\"0\"},\"signatureValue\":\"MEQCIHETsDrIpka838y4NHWU2S07+YwPRb3Mpwq8W5TLDNsNAiBUBFP0mb+eNpc5cTla15MxtIWGk0u8AAiTAHLjYbS2Mg==\",\"type\":\"Secp256r1\",\"vcDigest\":\"b8e185fdd623d09434460ceaae6dd5563411ed9d8c7ded144248813ba0b4bcfc\"},\"type\":[\"VerifiableCredential\"]}",
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\":{\"created\":\"2024-12-18T11:12:22+08:00\",\"nonce\":\"RIflyg\",\"signatureValue\":\"eyJjb250ZXh0IjpbImh0dHBzOi8vZ2l0aHViLmNvbS9UZW5jZW50Q2xvdWQtQmxvY2tjaGFpbi9URElEL2Jsb2IvbWFpbi9jb250ZXh0L3YxIl0sImhvbGRlciI6ImRpZDp0ZGlkOmMxMToweGU0ZTA3NjY4OWIxMWRjYWExMTE4YWVmNjU0NzkxY2NhOTVjNzY4MjciLCJ0eXBlIjpbIlZlcmlmaWFibGVQcmVzZW50YXRpb24iXSwidmVyaWZpYWJsZUNyZWRlbnRpYWwiOlt7ImNvbnRleHQiOiJodHRwczovL2dpdGh1Yi5jb20vVGVuY2VudENsb3VkLUJsb2NrY2hhaW4vVERJRC9ibG9iL21haW4vY29udGV4dC92MSIsImNwdElkIjoxLCJjcmVkZW50aWFsU3ViamVjdCI6eyJhY3Rpb24iOiJzZXRBZ2UiLCJhZ2UiOiIweDdhNWIwZjM4MTNjMmJjZDRhMGIzZTJjNTM0YWFmZGI0Y2YwMzM3YWYxYWQyYmMzMDhiZDExYzZhZGVkOTFhM2MifSwiZXhwaXJhdGlvbkRhdGUiOiIyMTI0LTA2LTI5VDE1OjI1OjAwKzA4OjAwIiwiaWQiOiI2YWVlYTk0M2E4NTFhZDgzYWNhZTFlMTM4YzJlZGM2NyIsImlzc3VhbmNlRGF0ZSI6IjIwMjQtMTItMThUMTA6NTE6NDcrMDg6MDAiLCJpc3N1ZXIiOiJkaWQ6dGRpZDpjMTE6MHhlNGUwNzY2ODliMTFkY2FhMTExOGFlZjY1NDc5MWNjYTk1Yzc2ODI3IiwicHJvb2YiOnsiY3JlYXRlZCI6IjIwMjQtMTItMThUMTA6NTE6NDcrMDg6MDAiLCJjcmVhdG9yIjoiZGlkOnRkaWQ6YzExOjB4ZTRlMDc2Njg5YjExZGNhYTExMThhZWY2NTQ3OTFjY2E5NWM3NjgyNyNrZXlzLTAiLCJtZXRhRGlnZXN0IjoiNzljY2VmZTIzN2M5YmY2NWQ4MDQ3NDdjYTdmMjBmZjliOTg1MjQyZTRlMWU4NjM0NTg3YmJlYmUwN2I1MWM0NSIsInByaXZhY3kiOiJQdWJsaWMiLCJzYWx0Ijp7ImFjdGlvbiI6IlhHOVZBIiwiYWdlIjoiMCJ9LCJzaWduYXR1cmVWYWx1ZSI6Ik1FUUNJSEVUc0RySXBrYTgzOHk0TkhXVTJTMDcrWXdQUmIzTXB3cThXNVRMRE5zTkFpQlVCRlAwbWIrZU5wYzVjVGxhMTVNeHRJV0drMHU4QUFpVEFITGpZYlMyTWc9PSIsInR5cGUiOiJTZWNwMjU2cjEiLCJ2Y0RpZ2VzdCI6ImI4ZTE4NWZkZDYyM2QwOTQzNDQ2MGNlYWFlNmRkNTU2MzQxMWVkOWQ4YzdkZWQxNDQyNDg4MTNiYTBiNGJjZmMifSwidHlwZSI6WyJWZXJpZmlhYmxlQ3JlZGVudGlhbCJdfV0sInplcm9Qcm9vZiI6W1tdXX0=\",\"type\":\"Secp256r1\",\"verificationMethod\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827#keys-0\",\"vpDigest\":\"61975d8175b3cf3f7f9f316350d94bcd2e980eb7b2e66ddecc170ab43bbb5183\"},\"type\":[\"VerifiablePresentation\"],\"verifiableCredential\":[{\"context\":\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\",\"cptId\":1,\"credentialSubject\":{\"action\":\"setAge\",\"age\":\"0x7a5b0f3813c2bcd4a0b3e2c534aafdb4cf0337af1ad2bc308bd11c6aded91a3c\"},\"expirationDate\":\"2124-06-29T15:25:00+08:00\",\"id\":\"6aeea943a851ad83acae1e138c2edc67\",\"issuanceDate\":\"2024-12-18T10:51:47+08:00\",\"issuer\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827\",\"proof\":{\"created\":\"2024-12-18T10:51:47+08:00\",\"creator\":\"did:tdid:c11:0xe4e076689b11dcaa1118aef654791cca95c76827#keys-0\",\"metaDigest\":\"79ccefe237c9bf65d804747ca7f20ff9b985242e4e1e8634587bbebe07b51c45\",\"privacy\":\"Public\",\"salt\":{\"action\":\"XG9VA\",\"age\":\"0\"},\"signatureValue\":\"MEQCIHETsDrIpka838y4NHWU2S07+YwPRb3Mpwq8W5TLDNsNAiBUBFP0mb+eNpc5cTla15MxtIWGk0u8AAiTAHLjYbS2Mg==\",\"type\":\"Secp256r1\",\"vcDigest\":\"b8e185fdd623d09434460ceaae6dd5563411ed9d8c7ded144248813ba0b4bcfc\"},\"type\":[\"VerifiableCredential\"]}],\"zeroProof\":[[]]}",
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": "用户参与应用的统计指标 \n注意:此字段可能返回 null,表示取不到有效值。",
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": true
794
+ "value_allowed_null": false
744
795
  },
745
796
  {
746
797
  "disabled": false,
747
- "document": "用户创建资源的统计指标\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
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": "凭证状态信息\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
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标识\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
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总数\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
1273
+ "value_allowed_null": false
1223
1274
  },
1224
1275
  {
1225
1276
  "disabled": false,
1226
- "document": "VC总数\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
1283
+ "value_allowed_null": false
1233
1284
  },
1234
1285
  {
1235
1286
  "disabled": false,
1236
- "document": "CPT总数\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
1293
+ "value_allowed_null": false
1243
1294
  },
1244
1295
  {
1245
1296
  "disabled": false,
1246
- "document": " VC验证总数 \n注意:此字段可能返回 null,表示取不到有效值。",
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": true
1303
+ "value_allowed_null": false
1253
1304
  },
1254
1305
  {
1255
1306
  "disabled": false,
1256
- "document": "权威机构数量\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
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, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内",
1346
- "example": "{\\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\\\"orignCredential\\\": \\\"{\\\\\\\"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}",
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": "更新是否成功\n注意:此字段可能返回 null,表示取不到有效值。",
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": true
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\": 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\\\"orignCredential\\\": \\\"{\\\\\\\"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}",
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": [