tccli 3.0.1235.1__py2.py3-none-any.whl → 3.0.1237.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +15 -15
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/cam/v20190116/api.json +84 -69
- tccli/services/cam/v20190116/examples.json +7 -7
- tccli/services/ccc/v20200210/api.json +9 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +43 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cfg/v20210820/api.json +21 -0
- tccli/services/cloudapp/v20220530/api.json +10 -0
- tccli/services/cloudaudit/v20190319/api.json +43 -36
- tccli/services/cloudaudit/v20190319/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/domain/v20180808/api.json +18 -17
- tccli/services/domain/v20180808/examples.json +22 -22
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +53 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +11 -1
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +129 -4
- tccli/services/iotexplorer/v20190423/examples.json +14 -0
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/live/v20180801/api.json +5 -5
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/v20180724/examples.json +1 -1
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/trocket/v20230308/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +22 -3
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/vrs/v20200824/api.json +71 -8
- tccli/services/vrs/v20200824/examples.json +8 -0
- tccli/services/vrs/vrs_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/RECORD +61 -61
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/license_files/LICENSE +0 -0
@@ -106,9 +106,9 @@
|
|
106
106
|
],
|
107
107
|
"DescribeCurrentOp": [
|
108
108
|
{
|
109
|
-
"document": "",
|
110
|
-
"input": "
|
111
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"CurrentOps\": [\n {\n \"
|
109
|
+
"document": "查询云数据库实例的当前操作",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCurrentOp\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-p8vn****\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"CurrentOps\": [\n {\n \"OpId\": 1804858933,\n \"Ns\": \"db.****\",\n \"Query\": \"\",\n \"Op\": \"command\",\n \"ReplicaSetName\": \"salve-1\",\n \"NodeName\": \"salve-1\",\n \"Operation\": \"****\",\n \"State\": \"Primary\",\n \"MicrosecsRunning\": 30353723,\n \"ExecNode\": \"从节点\"\n }\n ],\n \"RequestId\": \"66956cf3-2d10-4c68-87c0-7bd558deae7e\"\n }\n}",
|
112
112
|
"title": "查询云数据库实例的当前操作"
|
113
113
|
}
|
114
114
|
],
|
@@ -227,8 +227,8 @@
|
|
227
227
|
"FlashBackDBInstance": [
|
228
228
|
{
|
229
229
|
"document": "",
|
230
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlashBackDBInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-igjysqkr\",\n \"TargetFlashbackTime\": \"2023-08-04 14:00:00\",\n \"TargetDatabases\": [\n {\n \"DBName\": \"my_test\",\n \"Collections\": [\n {\n \"CollectionName\": \"my_test1\",\n \"KeyValues\": [\n {\n \"Key\": \"name\",\n \"Value\": \"
|
231
|
-
"output": "{\n \"Response\": {\n \"FlowId\": 1234567,\n \"RequestId\": \"
|
230
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlashBackDBInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-igjysqkr\",\n \"TargetFlashbackTime\": \"2023-08-04 14:00:00\",\n \"TargetDatabases\": [\n {\n \"DBName\": \"my_test\",\n \"Collections\": [\n {\n \"CollectionName\": \"my_test1\",\n \"KeyValues\": [\n {\n \"Key\": \"name\",\n \"Value\": \"name-demo\"\n }\n ],\n \"TargetResultCollectionName\": \"my_test_bak0804143230\",\n \"FilterKey\": \"name\"\n }\n ]\n }\n ],\n \"TargetInstanceId\": \"cmgo-0517****\"\n}",
|
231
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1234567,\n \"RequestId\": \"59b477da-6473-4ea8-85b3-7f4473744****\"\n }\n}",
|
232
232
|
"title": "执行按key回档"
|
233
233
|
}
|
234
234
|
],
|
@@ -132,7 +132,7 @@
|
|
132
132
|
"title": "r. 创建 Graphite 集成"
|
133
133
|
},
|
134
134
|
{
|
135
|
-
"document": "参数说明:\n1. InstanceId 是 Prometheus 实例 ID,必填\n2. Kind 参数固定为 `qcloud-exporter`,必填\n3. Content 参数格式如示例。说明如下:\n3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`\n3.2. kind 是集成类型,必填且这里固定为 `qcloud-exporter`\n3.3. spec.instanceSpec.region 是云产品所在地域,必填,比如采集广州地域的云产品,可以填 `广州` 或 `ap-guangzhou`,该参数最终会转化为指标的 label, 名为 `instance-region`\n3.4. spec.instanceSpec.delaySeconds 表示数据采集延迟,整数,单位是秒,可不填,默认是 0。当值为 0 时,原始数据点的时间戳会被忽略,替换为集成拉取到数据点的时间;当值 >0 时,数据点会保留原始的时间戳,且数据必然会延迟设置的时间\n3.5. spec.instanceSpec.reload_interval_minutes 表示实例刷新间隔,整数,单位是分钟,必填且必须大于等于 10。云产品实例的新增或者云标签的修改,会在刷新实例后反映在指标中,至多需要等待一个实例刷新间隔\n3.6. spec.instanceSpec.useRole 表示是否使用服务角色,布尔类型,必填。当前逻辑一定会使用服务角色,所以必填 `true`\n3.7. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填\n3.8. spec.exporterSpec.[云产品] 表示是否采集对应云产品,布尔类型,`true` 表示采集该云产品。云产品各编码指代含义:`cvm`:云服务器,`cbs`:云硬盘,`lb_public`:负载均衡(公网),`lb_private`:负载均衡(内网),`tgw_set`:负载均衡(独占集群),`cmongo`:数据库MongoDB,`cdb`:数据库MySQL(CDB),`redis`:数据库Redis(CKV版),`redis_mem`:数据库Redis(内存版),`tendis`:Tendis,`xstor`:CTSDB(InfluxDB版),`mariadb`:数据库MariaDB,`postgres`:数据库PostgreSQL,`tdmysql`:TDSQL MySQL版,`cynosdb_mysql`:TDSQL-C MySQL,`sqlserver`:数据库SQL Server,`nat_gateway`:NAT网关,`ckafka`:CKafka,`rocketmq`:RocketMQ(新指标),`lb`:弹性公网IP,`vpngw`:VPN网关,`vpnx`:VPN通道,`vpc_net_detect`:网络探测,`cdn`:CDN,`ov_cdn`:
|
135
|
+
"document": "参数说明:\n1. InstanceId 是 Prometheus 实例 ID,必填\n2. Kind 参数固定为 `qcloud-exporter`,必填\n3. Content 参数格式如示例。说明如下:\n3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`\n3.2. kind 是集成类型,必填且这里固定为 `qcloud-exporter`\n3.3. spec.instanceSpec.region 是云产品所在地域,必填,比如采集广州地域的云产品,可以填 `广州` 或 `ap-guangzhou`,该参数最终会转化为指标的 label, 名为 `instance-region`\n3.4. spec.instanceSpec.delaySeconds 表示数据采集延迟,整数,单位是秒,可不填,默认是 0。当值为 0 时,原始数据点的时间戳会被忽略,替换为集成拉取到数据点的时间;当值 >0 时,数据点会保留原始的时间戳,且数据必然会延迟设置的时间\n3.5. spec.instanceSpec.reload_interval_minutes 表示实例刷新间隔,整数,单位是分钟,必填且必须大于等于 10。云产品实例的新增或者云标签的修改,会在刷新实例后反映在指标中,至多需要等待一个实例刷新间隔\n3.6. spec.instanceSpec.useRole 表示是否使用服务角色,布尔类型,必填。当前逻辑一定会使用服务角色,所以必填 `true`\n3.7. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填\n3.8. spec.exporterSpec.[云产品] 表示是否采集对应云产品,布尔类型,`true` 表示采集该云产品。云产品各编码指代含义:`cvm`:云服务器,`cbs`:云硬盘,`lb_public`:负载均衡(公网),`lb_private`:负载均衡(内网),`tgw_set`:负载均衡(独占集群),`cmongo`:数据库MongoDB,`cdb`:数据库MySQL(CDB),`redis`:数据库Redis(CKV版),`redis_mem`:数据库Redis(内存版),`tendis`:Tendis,`xstor`:CTSDB(InfluxDB版),`mariadb`:数据库MariaDB,`postgres`:数据库PostgreSQL,`tdmysql`:TDSQL MySQL版,`cynosdb_mysql`:TDSQL-C MySQL,`sqlserver`:数据库SQL Server,`nat_gateway`:NAT网关,`ckafka`:CKafka,`rocketmq`:RocketMQ(新指标),`lb`:弹性公网IP,`vpngw`:VPN网关,`vpnx`:VPN通道,`vpc_net_detect`:网络探测,`cdn`:CDN,`ov_cdn`:CDN(海外),`cos`:COS,`dc`:专线接入-物理专线,`dcx`:专线接入-专用通道,`dcg`:专线接入-专线网关,`lighthouse`:轻量应用服务器,`nacos`:Nacos,`zookeeper`:Zookeeper,`ces`:Elasticsearch,`dts`:数据传输服务,`vbc`:云联网,`gaap`:全球应用加速,`waf`:Web应用防火墙,`cfs`:文件存储,`bwp`:共享带宽包,`scf_v2`:云函数(别名),`vod`:云点播(VOD),`cls`:日志服务(CLS)-日志主题,`apigateway`:API 网关,`ti_traintask`:TI-ONE(任务式建模),`ti_notebook`:TI-ONE(Notebook),`ti_model`:TI-ONE(在线服务),`self`:采集器自监控\n2.9. spec.scrapeSpec.relabelConfigs 用于添加 `metricRelabelings` 配置,选填。该配置是 prometheus-operator 的 relabel 配置,部分字段与 prometheus 原生 relabel 配置不同,具体可参考[官方配置说明](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.RelabelConfig)",
|
136
136
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateExporterIntegration\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-1\",\n \"Kind\": \"qcloud-exporter\",\n \"Content\": \"{\\\"name\\\":\\\"test\\\",\\\"kind\\\":\\\"qcloud-exporter\\\",\\\"spec\\\":{\\\"instanceSpec\\\":{\\\"region\\\":\\\"广州\\\",\\\"delaySeconds\\\":0,\\\"reload_interval_minutes\\\":10,\\\"useRole\\\":true,\\\"labels\\\":{\\\"labelKey\\\":\\\"labelValue\\\",\\\"test\\\":\\\"test\\\"}},\\\"exporterSpec\\\":{\\\"cvm\\\":true,\\\"cbs\\\":true},\\\"scrapeSpec\\\":{\\\"relabelConfigs\\\":\\\"metricRelabelings:\\\\n- action: labeldrop\\\\n regex: tmp_test_label\\\\n\\\"}}}\"\n}",
|
137
137
|
"output": "{\n \"Response\": {\n \"Names\": [\n \"test\"\n ],\n \"RequestId\": \"xyz\"\n }\n}",
|
138
138
|
"title": "a. 创建 云监控 集成"
|
@@ -106,7 +106,7 @@
|
|
106
106
|
{
|
107
107
|
"document": "示例",
|
108
108
|
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceCertificate\n<公共请求参数>\n\n{\n \"DeviceCertificateSn\": \"0eef68a582b94254296e54ce754f94d707a59911\",\n \"InstanceId\": \"mqtt-jbgwp4ae\"\n}",
|
109
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CaSn\": \"1b1e3bf3702110125887a3a721a7e66f05522513\",\n \"CertificateSource\": \"API\",\n \"ClientId\": \"
|
109
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CaSn\": \"1b1e3bf3702110125887a3a721a7e66f05522513\",\n \"CertificateSource\": \"API\",\n \"ClientId\": \"client1\",\n \"CreatedTime\": 1724050379000,\n \"DeviceCertificate\": \"-----BEGIN CERTIFICATE-----\\nMIIEQjCCAyqgAwIBAgIUDu9opYK5QlQpblTOdU+U1welmREwDQYJKoZIhvcNAQEL\\n-----END CERTIFICATE-----\\n\",\n \"DeviceCertificateCn\": \"mqtt-test.xxx.tencent.com\",\n \"DeviceCertificateSn\": \"0eef68a582b94254296e54ce754f94d707a59911\",\n \"Format\": \"PEM\",\n \"LastActivationTime\": 1724050378987,\n \"LastInactivationTime\": 0,\n \"NotAfterTime\": 1758185683000,\n \"NotBeforeTime\": 1714985683000,\n \"RequestId\": \"1b5fc3fa-4bbf-421a-aad1-c45d49119a2c\",\n \"Status\": \"ACTIVE\",\n \"UpdateTime\": 1724050379000\n }\n}",
|
110
110
|
"title": "示例"
|
111
111
|
}
|
112
112
|
],
|
@@ -5731,6 +5731,7 @@
|
|
5731
5731
|
"example": "ap-guangzhou",
|
5732
5732
|
"member": "string",
|
5733
5733
|
"name": "Region",
|
5734
|
+
"output_required": true,
|
5734
5735
|
"required": true,
|
5735
5736
|
"type": "string",
|
5736
5737
|
"value_allowed_null": false
|
@@ -5741,6 +5742,7 @@
|
|
5741
5742
|
"example": "1",
|
5742
5743
|
"member": "int64",
|
5743
5744
|
"name": "RegionId",
|
5745
|
+
"output_required": true,
|
5744
5746
|
"required": true,
|
5745
5747
|
"type": "int",
|
5746
5748
|
"value_allowed_null": false
|
@@ -5751,6 +5753,7 @@
|
|
5751
5753
|
"example": "华南地区",
|
5752
5754
|
"member": "string",
|
5753
5755
|
"name": "Area",
|
5756
|
+
"output_required": true,
|
5754
5757
|
"required": false,
|
5755
5758
|
"type": "string",
|
5756
5759
|
"value_allowed_null": false
|
@@ -5761,6 +5764,7 @@
|
|
5761
5764
|
"example": "广州",
|
5762
5765
|
"member": "string",
|
5763
5766
|
"name": "RegionName",
|
5767
|
+
"output_required": true,
|
5764
5768
|
"required": false,
|
5765
5769
|
"type": "string",
|
5766
5770
|
"value_allowed_null": false
|
@@ -5771,6 +5775,7 @@
|
|
5771
5775
|
"example": "1",
|
5772
5776
|
"member": "int64",
|
5773
5777
|
"name": "RegionState",
|
5778
|
+
"output_required": true,
|
5774
5779
|
"required": false,
|
5775
5780
|
"type": "int",
|
5776
5781
|
"value_allowed_null": false
|
@@ -5781,6 +5786,7 @@
|
|
5781
5786
|
"example": "gz",
|
5782
5787
|
"member": "string",
|
5783
5788
|
"name": "RegionShortName",
|
5789
|
+
"output_required": true,
|
5784
5790
|
"required": false,
|
5785
5791
|
"type": "string",
|
5786
5792
|
"value_allowed_null": false
|
@@ -5791,6 +5797,7 @@
|
|
5791
5797
|
"example": "2021-08-20T16:33:00+08:00",
|
5792
5798
|
"member": "datetime_iso",
|
5793
5799
|
"name": "CreatedAt",
|
5800
|
+
"output_required": true,
|
5794
5801
|
"required": false,
|
5795
5802
|
"type": "string",
|
5796
5803
|
"value_allowed_null": false
|
@@ -5801,6 +5808,7 @@
|
|
5801
5808
|
"example": "2021-08-20T16:33:00+08:00",
|
5802
5809
|
"member": "datetime_iso",
|
5803
5810
|
"name": "UpdatedAt",
|
5811
|
+
"output_required": true,
|
5804
5812
|
"required": false,
|
5805
5813
|
"type": "string",
|
5806
5814
|
"value_allowed_null": false
|
@@ -1213,7 +1213,7 @@
|
|
1213
1213
|
},
|
1214
1214
|
{
|
1215
1215
|
"disabled": false,
|
1216
|
-
"document": "国家码或地区名,例如 China,可参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051
|
1216
|
+
"document": "国家码或地区名,例如 China,可参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051)",
|
1217
1217
|
"example": "China",
|
1218
1218
|
"member": "string",
|
1219
1219
|
"name": "IsoName",
|
@@ -198,7 +198,7 @@
|
|
198
198
|
{
|
199
199
|
"document": "",
|
200
200
|
"input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCompanies\n<公共请求参数>\n\n{}",
|
201
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Companies\": [\n {\n \"CompanyId\": 122,\n \"CompanyName\": \"腾讯\",\n \"CompanyCountry\": \"中国\",\n \"CompanyProvince\": \"广东\",\n \"CompanyCity\": \"深圳\",\n \"CompanyAddress\": \"深南大道\",\n \"CompanyPhone\": \"2132323\",\n \"IdType\": \"\",\n \"IdNumber\": \"
|
201
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Companies\": [\n {\n \"CompanyId\": 122,\n \"CompanyName\": \"腾讯\",\n \"CompanyCountry\": \"中国\",\n \"CompanyProvince\": \"广东\",\n \"CompanyCity\": \"深圳\",\n \"CompanyAddress\": \"深南大道\",\n \"CompanyPhone\": \"2132323\",\n \"IdType\": \"\",\n \"IdNumber\": \"\"\n }\n ],\n \"RequestId\": \"5779b652-9c64-45b3-a6f4-641db7376a2e\"\n }\n}",
|
202
202
|
"title": "查询公司列表"
|
203
203
|
}
|
204
204
|
],
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"AssumeRoleWithSAML": [
|
12
12
|
{
|
13
13
|
"document": "SAML 断言申请角色临时访问凭证",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: sts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssumeRoleWithSAML\n<公共请求参数>\n\n{\n \"RoleArn\": \"qcs::cam::uin/798950673:roleName/OneLogin-Role\",\n \"PrincipalArn\": \"qcs::cam::uin/798950673:saml-provider/OneLogin\",\n \"SAMLAssertion\": \"c2FtbCBhc3NlcnRpb24=\",\n \"RoleSessionName\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: sts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssumeRoleWithSAML\n<公共请求参数>\n\n{\n \"RoleArn\": \"qcs::cam::uin/798950673:roleName/OneLogin-Role\",\n \"PrincipalArn\": \"qcs::cam::uin/798950673:saml-provider/OneLogin\",\n \"SAMLAssertion\": \"c2FtbCBhc3NlcnRpb24=\",\n \"RoleSessionName\": \"GetSamlRole\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"Credentials\": {\n \"Token\": \"1siMD***\",\n \"TmpSecretId\": \"AKID***\",\n \"TmpSecretKey\": \"q95K***\"\n },\n \"ExpiredTime\": 1543914376,\n \"Expiration\": \"2018-12-04T09:06:16Z\",\n \"RequestId\": \"4daec797-9cd2-4f09-9e7a-7d4c43b2a74c\"\n }\n}",
|
16
16
|
"title": "SAML 断言申请角色临时访问凭证"
|
17
17
|
}
|
@@ -144,8 +144,7 @@
|
|
144
144
|
"member": "uint64",
|
145
145
|
"name": "CPTId",
|
146
146
|
"required": true,
|
147
|
-
"type": "int"
|
148
|
-
"value_allowed_null": false
|
147
|
+
"type": "int"
|
149
148
|
},
|
150
149
|
{
|
151
150
|
"disabled": false,
|
@@ -154,8 +153,7 @@
|
|
154
153
|
"member": "string",
|
155
154
|
"name": "Issuer",
|
156
155
|
"required": true,
|
157
|
-
"type": "string"
|
158
|
-
"value_allowed_null": false
|
156
|
+
"type": "string"
|
159
157
|
},
|
160
158
|
{
|
161
159
|
"disabled": false,
|
@@ -164,8 +162,7 @@
|
|
164
162
|
"member": "string",
|
165
163
|
"name": "ExpirationDate",
|
166
164
|
"required": true,
|
167
|
-
"type": "string"
|
168
|
-
"value_allowed_null": false
|
165
|
+
"type": "string"
|
169
166
|
},
|
170
167
|
{
|
171
168
|
"disabled": false,
|
@@ -174,8 +171,7 @@
|
|
174
171
|
"member": "string",
|
175
172
|
"name": "ClaimJson",
|
176
173
|
"required": true,
|
177
|
-
"type": "string"
|
178
|
-
"value_allowed_null": false
|
174
|
+
"type": "string"
|
179
175
|
},
|
180
176
|
{
|
181
177
|
"disabled": false,
|
@@ -184,18 +180,16 @@
|
|
184
180
|
"member": "string",
|
185
181
|
"name": "Type",
|
186
182
|
"required": false,
|
187
|
-
"type": "list"
|
188
|
-
"value_allowed_null": false
|
183
|
+
"type": "list"
|
189
184
|
},
|
190
185
|
{
|
191
186
|
"disabled": false,
|
192
187
|
"document": "多方签名的用户did",
|
193
|
-
"example": "[]",
|
188
|
+
"example": "[\"did:tdid:f34:0x996d0259c4c09359b8ef0fb1b530a2aa702cf092\",\"did:tdid:c97:0xc1f030ceeb858887f0cc400030d59534cf8098c8\"]",
|
194
189
|
"member": "string",
|
195
190
|
"name": "Parties",
|
196
191
|
"required": false,
|
197
|
-
"type": "list"
|
198
|
-
"value_allowed_null": false
|
192
|
+
"type": "list"
|
199
193
|
}
|
200
194
|
],
|
201
195
|
"usage": "in"
|
@@ -231,7 +225,7 @@
|
|
231
225
|
{
|
232
226
|
"disabled": false,
|
233
227
|
"document": "凭证文本内容,FunctionArg和CredentialText任选其一",
|
234
|
-
"example": "
|
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\"}}}",
|
235
229
|
"member": "string",
|
236
230
|
"name": "CredentialData",
|
237
231
|
"required": false,
|
@@ -240,7 +234,7 @@
|
|
240
234
|
{
|
241
235
|
"disabled": false,
|
242
236
|
"document": "披露策略文本",
|
243
|
-
"example": "{\"age\":
|
237
|
+
"example": "{\"age\":0}",
|
244
238
|
"member": "string",
|
245
239
|
"name": "PolicyJson",
|
246
240
|
"required": false,
|
@@ -264,7 +258,7 @@
|
|
264
258
|
{
|
265
259
|
"disabled": false,
|
266
260
|
"document": "凭证字符串",
|
267
|
-
"example": "{}",
|
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\"]}",
|
268
262
|
"member": "string",
|
269
263
|
"name": "CredentialData",
|
270
264
|
"output_required": true,
|
@@ -295,7 +289,7 @@
|
|
295
289
|
{
|
296
290
|
"disabled": false,
|
297
291
|
"document": "凭证列表",
|
298
|
-
"example": "[]",
|
292
|
+
"example": "[\"credential1\", \"credential2\"]",
|
299
293
|
"member": "string",
|
300
294
|
"name": "Credentials",
|
301
295
|
"required": false,
|
@@ -313,7 +307,7 @@
|
|
313
307
|
{
|
314
308
|
"disabled": false,
|
315
309
|
"document": "VP随机验证码",
|
316
|
-
"example": "
|
310
|
+
"example": "RIflyg",
|
317
311
|
"member": "string",
|
318
312
|
"name": "VerifyCode",
|
319
313
|
"required": false,
|
@@ -322,7 +316,7 @@
|
|
322
316
|
{
|
323
317
|
"disabled": false,
|
324
318
|
"document": "选择性披露策略",
|
325
|
-
"example": "{}",
|
319
|
+
"example": "{”action\":1}",
|
326
320
|
"member": "string",
|
327
321
|
"name": "PolicyJson",
|
328
322
|
"required": false,
|
@@ -355,7 +349,7 @@
|
|
355
349
|
{
|
356
350
|
"disabled": false,
|
357
351
|
"document": "可验证表达内容",
|
358
|
-
"example": "\"\"",
|
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\":[[]]}",
|
359
353
|
"member": "string",
|
360
354
|
"name": "PresentationData",
|
361
355
|
"output_required": false,
|
@@ -386,7 +380,7 @@
|
|
386
380
|
{
|
387
381
|
"disabled": false,
|
388
382
|
"document": "自定义DID文档json属性",
|
389
|
-
"example": "{}",
|
383
|
+
"example": "{\"name\":\"张三\"}",
|
390
384
|
"member": "string",
|
391
385
|
"name": "CustomAttribute",
|
392
386
|
"required": false,
|
@@ -442,7 +436,7 @@
|
|
442
436
|
{
|
443
437
|
"disabled": false,
|
444
438
|
"document": "pem格式的认证公钥",
|
445
|
-
"example": "
|
439
|
+
"example": "-----BEGIN PUBLIC KEY-----\\r\\nMFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEdPxYz6u53NB5WqgESSaRYwDSPeBUuyke8CTlyWn7/BYpbRKQTzt3b3O+QYeMSJULvclDsj+pFCZPh9lLrBNU6w==\\r\\n-----END PUBLIC KEY-----",
|
446
440
|
"member": "string",
|
447
441
|
"name": "PublicKey",
|
448
442
|
"required": false,
|
@@ -451,7 +445,7 @@
|
|
451
445
|
{
|
452
446
|
"disabled": false,
|
453
447
|
"document": "自定义DID初始化属性json字符串",
|
454
|
-
"example": "{}",
|
448
|
+
"example": "{\"name\":\"李四\"}",
|
455
449
|
"member": "string",
|
456
450
|
"name": "CustomAttribute",
|
457
451
|
"required": false,
|
@@ -702,22 +696,20 @@
|
|
702
696
|
{
|
703
697
|
"disabled": false,
|
704
698
|
"document": "键名",
|
705
|
-
"example": "
|
699
|
+
"example": "name",
|
706
700
|
"member": "string",
|
707
701
|
"name": "Key",
|
708
702
|
"required": true,
|
709
|
-
"type": "string"
|
710
|
-
"value_allowed_null": false
|
703
|
+
"type": "string"
|
711
704
|
},
|
712
705
|
{
|
713
706
|
"disabled": false,
|
714
707
|
"document": "键值",
|
715
|
-
"example": "
|
708
|
+
"example": "李四",
|
716
709
|
"member": "string",
|
717
710
|
"name": "Val",
|
718
711
|
"required": true,
|
719
|
-
"type": "string"
|
720
|
-
"value_allowed_null": false
|
712
|
+
"type": "string"
|
721
713
|
}
|
722
714
|
],
|
723
715
|
"usage": "in"
|
@@ -775,7 +767,7 @@
|
|
775
767
|
{
|
776
768
|
"disabled": false,
|
777
769
|
"document": "凭证唯一Id",
|
778
|
-
"example": "
|
770
|
+
"example": "19d88ecb3f04997ccc64d425259ade0d",
|
779
771
|
"member": "string",
|
780
772
|
"name": "CredentialId",
|
781
773
|
"required": false,
|
@@ -1004,7 +996,7 @@
|
|
1004
996
|
{
|
1005
997
|
"disabled": false,
|
1006
998
|
"document": "DID公钥数组",
|
1007
|
-
"example": "[]",
|
999
|
+
"example": "[\"-----BEGIN PUBLIC KEY-----\\r\\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkb2grT3bobgV6CYqfa91ywqtBHeAR5HnVUQFbSzlG4irxRW7UfN69GISmRKtAWZY9hTD4sBeC0FA/2MSb7Rv7w==\\r\\n-----END PUBLIC KEY-----\"]",
|
1008
1000
|
"member": "string",
|
1009
1001
|
"name": "AuthPublicKeyList",
|
1010
1002
|
"output_required": false,
|
@@ -1099,7 +1091,7 @@
|
|
1099
1091
|
{
|
1100
1092
|
"disabled": false,
|
1101
1093
|
"document": "权威机构名称",
|
1102
|
-
"example": "
|
1094
|
+
"example": "某教育学院",
|
1103
1095
|
"member": "string",
|
1104
1096
|
"name": "Name",
|
1105
1097
|
"required": false,
|
@@ -1114,7 +1106,7 @@
|
|
1114
1106
|
{
|
1115
1107
|
"disabled": false,
|
1116
1108
|
"document": "名称",
|
1117
|
-
"example": "
|
1109
|
+
"example": "某教育学院",
|
1118
1110
|
"member": "string",
|
1119
1111
|
"name": "Name",
|
1120
1112
|
"output_required": false,
|
@@ -1144,7 +1136,7 @@
|
|
1144
1136
|
{
|
1145
1137
|
"disabled": false,
|
1146
1138
|
"document": "机构备注信息",
|
1147
|
-
"example": "
|
1139
|
+
"example": "职业教育",
|
1148
1140
|
"member": "string",
|
1149
1141
|
"name": "Description",
|
1150
1142
|
"output_required": false,
|
@@ -1200,7 +1192,7 @@
|
|
1200
1192
|
{
|
1201
1193
|
"disabled": false,
|
1202
1194
|
"document": "凭证模板内容",
|
1203
|
-
"example": "{}",
|
1195
|
+
"example": "{\\n \"cptType\" : \"original\",\\n \"$schema\" : \"http://json-schema.org/draft-04/schema#\",\\n \"description\" : \"operate temp credential\",\\n \"title\" : \"operation\",\\n \"type\" : \"object\",\\n \"properties\" : {\\n \"action\" : {\\n \"description\" : \"操作类型\",\\n \"type\" : \"string\"\\n }\\n },\\n \"required\" : [ \"action\" ]\\n}",
|
1204
1196
|
"member": "string",
|
1205
1197
|
"name": "CPTJson",
|
1206
1198
|
"output_required": true,
|
@@ -1397,7 +1389,7 @@
|
|
1397
1389
|
{
|
1398
1390
|
"disabled": false,
|
1399
1391
|
"document": "凭证内容",
|
1400
|
-
"example": "{}",
|
1392
|
+
"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\"}}}",
|
1401
1393
|
"member": "string",
|
1402
1394
|
"name": "CredentialData",
|
1403
1395
|
"required": false,
|
@@ -1472,7 +1464,7 @@
|
|
1472
1464
|
{
|
1473
1465
|
"disabled": false,
|
1474
1466
|
"document": "可验证表达内容",
|
1475
|
-
"example": "{}",
|
1467
|
+
"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\":[[]]}",
|
1476
1468
|
"member": "string",
|
1477
1469
|
"name": "PresentationData",
|
1478
1470
|
"required": false,
|
@@ -1515,7 +1507,7 @@
|
|
1515
1507
|
{
|
1516
1508
|
"disabled": false,
|
1517
1509
|
"document": "验证返回码",
|
1518
|
-
"example": "
|
1510
|
+
"example": "1001",
|
1519
1511
|
"member": "uint64",
|
1520
1512
|
"name": "VerifyCode",
|
1521
1513
|
"output_required": false,
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"CreatePresentation": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePresentation\n<公共请求参数>\n\n{\n \"DAPId\": 1,\n \"CredentialList\": [\n {\n \"Credential\": \"{\\\"cptId\\\":1,\\\"issuer\\\":\\\"did:tdid:w1:0x379106c7232aed1a50e8600511655b479c76b149\\\",\\\"expirationDate\\\":\\\"2124-06-29T15:25:00+08:00\\\",\\\"issuanceDate\\\":\\\"2023-11-30T05:19:40+08:00\\\",\\\"context\\\":\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\\"id\\\":\\\"0767cc1f93ad541e195bd9f5f00d665f\\\",\\\"type\\\":[\\\"VerifiableCredential\\\"],\\\"credentialSubject\\\":{\\\"action\\\":\\\"deactiveDid\\\",\\\"age\\\":17},\\\"proof\\\":{\\\"created\\\":\\\"2023-11-30T05:19:40+08:00\\\",\\\"creator\\\":\\\"did:tdid:w1:0x379106c7232aed1a50e8600511655b479c76b149#keys-0\\\",\\\"signatureValue\\\":\\\"MEQCIEWnreXh0siSPnCaAqCldL1E+gTdrT6oSZjbTjAhwn6+AiBXn/ZIirpr69JknKsX3+MWRE7WeIXGdaOIXY10c36hoA==\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"metaDigest\\\":\\\"7d6435235cd5afdb7abd06a979eb2237d103401bdb54fa38ff6b8299c7529b76\\\",\\\"vcDigest\\\":\\\"d014b006648f48e13c1aff9c16a39979e3d17e6f32c816065158d6a92632a132\\\",\\\"privacy\\\":\\\"Public\\\",\\\"salt\\\":{\\\"action\\\":\\\"YuzFn\\\",\\\"age\\\":\\\"0zche\\\"}}}\"\n }\n ],\n \"Did\": \"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\",\n \"VerifyCode\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePresentation\n<公共请求参数>\n\n{\n \"DAPId\": 1,\n \"CredentialList\": [\n {\n \"Credential\": \"{\\\"cptId\\\":1,\\\"issuer\\\":\\\"did:tdid:w1:0x379106c7232aed1a50e8600511655b479c76b149\\\",\\\"expirationDate\\\":\\\"2124-06-29T15:25:00+08:00\\\",\\\"issuanceDate\\\":\\\"2023-11-30T05:19:40+08:00\\\",\\\"context\\\":\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\\"id\\\":\\\"0767cc1f93ad541e195bd9f5f00d665f\\\",\\\"type\\\":[\\\"VerifiableCredential\\\"],\\\"credentialSubject\\\":{\\\"action\\\":\\\"deactiveDid\\\",\\\"age\\\":17},\\\"proof\\\":{\\\"created\\\":\\\"2023-11-30T05:19:40+08:00\\\",\\\"creator\\\":\\\"did:tdid:w1:0x379106c7232aed1a50e8600511655b479c76b149#keys-0\\\",\\\"signatureValue\\\":\\\"MEQCIEWnreXh0siSPnCaAqCldL1E+gTdrT6oSZjbTjAhwn6+AiBXn/ZIirpr69JknKsX3+MWRE7WeIXGdaOIXY10c36hoA==\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"metaDigest\\\":\\\"7d6435235cd5afdb7abd06a979eb2237d103401bdb54fa38ff6b8299c7529b76\\\",\\\"vcDigest\\\":\\\"d014b006648f48e13c1aff9c16a39979e3d17e6f32c816065158d6a92632a132\\\",\\\"privacy\\\":\\\"Public\\\",\\\"salt\\\":{\\\"action\\\":\\\"YuzFn\\\",\\\"age\\\":\\\"0zche\\\"}}}\"\n }\n ],\n \"Did\": \"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\",\n \"VerifyCode\": \"1001\",\n \"PolicyJson\": \"{\\\"1\\\":{\\\"age\\\":0}}\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"PresentationData\": \"{\\\"context\\\":[\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\"],\\\"holder\\\":\\\"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149\\\",\\\"proof\\\":{\\\"created\\\":\\\"2024-01-08T15:17:00+08:00\\\",\\\"nonce\\\":\\\"test\\\",\\\"signatureValue\\\":\\\"eyJjb250ZXh0IjpbImh0dHBzOi8vZ2l0aHViLmNvbS9UZW5jZW50Q2xvdWQtQmxvY2tjaGFpbi9URElEL2Jsb2IvbWFpbi9jb250ZXh0L3YxIl0sImhvbGRlciI6ImRpZDp0ZGlkOmMyOjB4Mzc5MTA2YzcyMzJhZWQxYTUwZTg2MDA1MTE2NTViNDc5Yzc2YjE0OSIsInR5cGUiOlsiVmVyaWZpYWJsZVByZXNlbnRhdGlvbiJdLCJ2ZXJpZmlhYmxlQ3JlZGVudGlhbCI6W3siY29udGV4dCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9UZW5jZW50Q2xvdWQtQmxvY2tjaGFpbi9URElEL2Jsb2IvbWFpbi9jb250ZXh0L3YxIiwiY3B0SWQiOjEsImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImFjdGlvbiI6ImRlYWN0aXZlRGlkIiwiYWdlIjoiMHg5NzUwNWE0ODY0NzM0NzBlNTBkMTM3MzIzMTM3ZGE4NTE3M2Y5OGU4MzQ0MGEzYjhjMWE3M2Q2ZDI0YWRiNmZlIn0sImV4cGlyYXRpb25EYXRlIjoiMjEyNC0wNi0yOVQxNToyNTowMCswODowMCIsImlkIjoiOGNmZTc1ZjFlMjlkOTk4ZWRhZGI5NjFlMTQxMDEyOWUiLCJpc3N1YW5jZURhdGUiOiIyMDI0LTAxLTA4VDEwOjM3OjU0KzA4OjAwIiwiaXNzdWVyIjoiZGlkOnRkaWQ6YzI6MHgzNzkxMDZjNzIzMmFlZDFhNTBlODYwMDUxMTY1NWI0NzljNzZiMTQ5IiwicHJvb2YiOnsiY3JlYXRlZCI6IjIwMjQtMDEtMDhUMTA6Mzc6NTQrMDg6MDAiLCJjcmVhdG9yIjoiZGlkOnRkaWQ6YzI6MHgzNzkxMDZjNzIzMmFlZDFhNTBlODYwMDUxMTY1NWI0NzljNzZiMTQ5I2tleXMtMCIsIm1ldGFEaWdlc3QiOiJiNGE2ODVjMzQ0ZGViMjg1Y2IwMTFiYzhiNmI3Mjg3NzhmYmU0NmNhOWZhYTE4OGNlYTZkYmM5YzM2ZDNiZDFiIiwicHJpdmFjeSI6IlB1YmxpYyIsInNhbHQiOnsiYWN0aW9uIjoieDZQMG4iLCJhZ2UiOiIwIn0sInNpZ25hdHVyZVZhbHVlIjoiTUVVQ0lFWEJkd2tHRi85UXpkdDRPRzlHS2cyRUJEb1hFOTAySGNFdlVndXMvbTZ3QWlFQW1NU3lRS0F1SUZvYmI4cTNDWkJTRmdBczhZL09WdEMwNTN0VVJTRk5SREk9IiwidHlwZSI6IlNlY3AyNTZyMSIsInZjRGlnZXN0IjoiMmRkNWExZGMzMjQ2ODZjOTNhNWIxNTgyMDZkNWZlOGI5MzdhMWZlNjQ3NjA5ODNkNWY1OWIyMzcxY2RlYjA5NSJ9LCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIl19XX0=\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"verificationMethod\\\":\\\"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149#keys-0\\\",\\\"vpDigest\\\":\\\"6728c750e86b1b793878c2a281bbebbe8d08b06a9266c1588ef841c6b3768475\\\"},\\\"type\\\":[\\\"VerifiablePresentation\\\"],\\\"verifiableCredential\\\":[{\\\"context\\\":\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\\"cptId\\\":1,\\\"credentialSubject\\\":{\\\"action\\\":\\\"deactiveDid\\\",\\\"age\\\":\\\"0x97505a486473470e50d137323137da85173f98e83440a3b8c1a73d6d24adb6fe\\\"},\\\"expirationDate\\\":\\\"2124-06-29T15:25:00+08:00\\\",\\\"id\\\":\\\"8cfe75f1e29d998edadb961e1410129e\\\",\\\"issuanceDate\\\":\\\"2024-01-08T10:37:54+08:00\\\",\\\"issuer\\\":\\\"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149\\\",\\\"proof\\\":{\\\"created\\\":\\\"2024-01-08T10:37:54+08:00\\\",\\\"creator\\\":\\\"did:tdid:c2:0x379106c7232aed1a50e8600511655b479c76b149#keys-0\\\",\\\"metaDigest\\\":\\\"b4a685c344deb285cb011bc8b6b728778fbe46ca9faa188cea6dbc9c36d3bd1b\\\",\\\"privacy\\\":\\\"Public\\\",\\\"salt\\\":{\\\"action\\\":\\\"x6P0n\\\",\\\"age\\\":\\\"0\\\"},\\\"signatureValue\\\":\\\"MEUCIEXBdwkGF/9Qzdt4OG9GKg2EBDoXE902HcEvUgus/m6wAiEAmMSyQKAuIFobb8q3CZBSFgAs8Y/OVtC053tURSFNRDI=\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"vcDigest\\\":\\\"2dd5a1dc324686c93a5b158206d5fe8b937a1fe64760983d5f59b2371cdeb095\\\"},\\\"type\\\":[\\\"VerifiableCredential\\\"]}]}\",\n \"RequestId\": \"52163044-3cd1-4ca9-8963-a36ac5554364\"\n }\n}",
|
16
16
|
"title": "创建可验证表达"
|
17
17
|
}
|
@@ -99,8 +99,8 @@
|
|
99
99
|
"QueryAuthorityInfo": [
|
100
100
|
{
|
101
101
|
"document": "查询权威机构信息",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryAuthorityInfo\n<公共请求参数>\n\n{\n \"Did\": \"did:tdid:w1:0xbbf1dee9e082e1a54dd3973beedc59ff7e452862\",\n \"DAPId\": 5,\n \"Name\": \"
|
103
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3d5e7818-5027-44ca-bb03-68a9d5389bca\",\n \"Did\": \"did:tdid:w1:0xbbf1dee9e082e1a54dd3973beedc59ff7e452862\",\n \"Name\": \"
|
102
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryAuthorityInfo\n<公共请求参数>\n\n{\n \"Did\": \"did:tdid:w1:0xbbf1dee9e082e1a54dd3973beedc59ff7e452862\",\n \"DAPId\": 5,\n \"Name\": \"某教育学院\"\n}",
|
103
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3d5e7818-5027-44ca-bb03-68a9d5389bca\",\n \"Did\": \"did:tdid:w1:0xbbf1dee9e082e1a54dd3973beedc59ff7e452862\",\n \"Name\": \"某教育学院\",\n \"Status\": 1,\n \"Description\": \"职业教育\",\n \"RecognizeTime\": \"2023-09-19 11:54:25\"\n }\n}",
|
104
104
|
"title": "查询权威机构信息"
|
105
105
|
}
|
106
106
|
],
|
@@ -115,7 +115,7 @@
|
|
115
115
|
"SetTDidAttribute": [
|
116
116
|
{
|
117
117
|
"document": "设置DID的自定义属性",
|
118
|
-
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetTDidAttribute\n<公共请求参数>\n\n{\n \"Did\": \"did:tdid:w1:0x0d342759f20005df531c50f671d414661e381c01\",\n \"Attributes\": [\n {\n \"Key\": \"
|
118
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetTDidAttribute\n<公共请求参数>\n\n{\n \"Did\": \"did:tdid:w1:0x0d342759f20005df531c50f671d414661e381c01\",\n \"Attributes\": [\n {\n \"Key\": \"name\",\n \"Val\": \"张三\"\n }\n ],\n \"DAPId\": 5\n}",
|
119
119
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0f7de9d2-2a60-46b1-97c3-62331ddf12ec\",\n \"Transaction\": {\n \"TransactionHash\": \"17864b02e92bea49ca4707214f59ac99910fecf8bfa8434380bb62471a09e61a\"\n }\n }\n}",
|
120
120
|
"title": "设置DID的自定义属性"
|
121
121
|
}
|
@@ -139,7 +139,7 @@
|
|
139
139
|
"VerifyPresentation": [
|
140
140
|
{
|
141
141
|
"document": "",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyPresentation\n<公共请求参数>\n\n{\n \"Did\": \"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\",\n \"PresentationData\": \"{\\\"context\\\":[\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\"],\\\"holder\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\\\",\\\"proof\\\":{\\\"created\\\":\\\"2023-09-12T16:14:56+08:00\\\",\\\"nonce\\\":\\\"test\\\",\\\"signatureValue\\\":\\\"MEYCIQC4Wmf0NTlNF9BOjyynLasqWQJF4M34oIiemCa2Jl6+1wIhANqKc4/sWbuQmcpp7ilNrpfZQU4Cj0+VqcQcN+/jZH5u\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"verificationMethod\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8#keys-0\\\"},\\\"type\\\":[\\\"VerifiablePresentation\\\"],\\\"verifiableCredential\\\":[{\\\"context\\\":\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\\"cptId\\\":1,\\\"credentialSubject\\\":{\\\"action\\\":\\\"deactiveDid\\\",\\\"age\\\":\\\"0x7cc931132828080cac176a6bf266077bc963d3a8d4afacb147eb7a5fa9d38176\\\",\\\"ageCommitment\\\":\\\"/nQps1EGGKMJEEIZhlNu9oFZWTSe6bR5e2w71+/JSgE=\\\"},\\\"expirationDate\\\":\\\"2024-06-29T15:25:00+08:00\\\",\\\"id\\\":\\\"0971a8c6a1ff17d9b85abaab5e02c50d\\\",\\\"issuanceDate\\\":\\\"2023-09-12T15:50:52+08:00\\\",\\\"issuer\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\\\",\\\"proof\\\":{\\\"created\\\":\\\"2023-09-12T15:50:52+08:00\\\",\\\"creator\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8#keys-0\\\",\\\"metaDigest\\\":\\\"da11a3571b4920ebdac1b73b03c696606a3b1c380e6502bcb30484d8240ae28d\\\",\\\"privacy\\\":\\\"Public\\\",\\\"salt\\\":{\\\"action\\\":\\\"0UU2V\\\",\\\"age\\\":\\\"0\\\",\\\"ageCommitment\\\":\\\"XiqAq\\\"},\\\"signatureValue\\\":\\\"MEQCIHGw37fwROCoqUEz9Rtw2CG3pQP6QYxe2byS45LIlPBmAiBrS93DNqRtVYKUq8dZ4ZUTSgt9Ajr9rzqLB3KZz9ADIg==\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"vcDigest\\\":\\\"230653978a8dc2c16f6acfa7bfb779a34d282fb7fd2eae5646c9e3ba95589344\\\"},\\\"type\\\":[\\\"VerifiableCredential\\\"]}]}\",\n \"DAPId\": 1,\n \"VerifyCode\": \"
|
142
|
+
"input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyPresentation\n<公共请求参数>\n\n{\n \"Did\": \"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\",\n \"PresentationData\": \"{\\\"context\\\":[\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\"],\\\"holder\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\\\",\\\"proof\\\":{\\\"created\\\":\\\"2023-09-12T16:14:56+08:00\\\",\\\"nonce\\\":\\\"test\\\",\\\"signatureValue\\\":\\\"MEYCIQC4Wmf0NTlNF9BOjyynLasqWQJF4M34oIiemCa2Jl6+1wIhANqKc4/sWbuQmcpp7ilNrpfZQU4Cj0+VqcQcN+/jZH5u\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"verificationMethod\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8#keys-0\\\"},\\\"type\\\":[\\\"VerifiablePresentation\\\"],\\\"verifiableCredential\\\":[{\\\"context\\\":\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\\"cptId\\\":1,\\\"credentialSubject\\\":{\\\"action\\\":\\\"deactiveDid\\\",\\\"age\\\":\\\"0x7cc931132828080cac176a6bf266077bc963d3a8d4afacb147eb7a5fa9d38176\\\",\\\"ageCommitment\\\":\\\"/nQps1EGGKMJEEIZhlNu9oFZWTSe6bR5e2w71+/JSgE=\\\"},\\\"expirationDate\\\":\\\"2024-06-29T15:25:00+08:00\\\",\\\"id\\\":\\\"0971a8c6a1ff17d9b85abaab5e02c50d\\\",\\\"issuanceDate\\\":\\\"2023-09-12T15:50:52+08:00\\\",\\\"issuer\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8\\\",\\\"proof\\\":{\\\"created\\\":\\\"2023-09-12T15:50:52+08:00\\\",\\\"creator\\\":\\\"did:tdid:w1:0xc1f030ceeb858887f0cc400030d59534cf8098c8#keys-0\\\",\\\"metaDigest\\\":\\\"da11a3571b4920ebdac1b73b03c696606a3b1c380e6502bcb30484d8240ae28d\\\",\\\"privacy\\\":\\\"Public\\\",\\\"salt\\\":{\\\"action\\\":\\\"0UU2V\\\",\\\"age\\\":\\\"0\\\",\\\"ageCommitment\\\":\\\"XiqAq\\\"},\\\"signatureValue\\\":\\\"MEQCIHGw37fwROCoqUEz9Rtw2CG3pQP6QYxe2byS45LIlPBmAiBrS93DNqRtVYKUq8dZ4ZUTSgt9Ajr9rzqLB3KZz9ADIg==\\\",\\\"type\\\":\\\"Secp256r1\\\",\\\"vcDigest\\\":\\\"230653978a8dc2c16f6acfa7bfb779a34d282fb7fd2eae5646c9e3ba95589344\\\"},\\\"type\\\":[\\\"VerifiableCredential\\\"]}]}\",\n \"DAPId\": 1,\n \"VerifyCode\": \"1001\"\n}",
|
143
143
|
"output": "{\n \"Response\": {\n \"Result\": true,\n \"VerifyCode\": 0,\n \"VerifyMessage\": \"success\",\n \"RequestId\": \"1b5c5ee5-a049-4137-8ca1-f4337a614d91\"\n }\n}",
|
144
144
|
"title": "验证可验证凭证表达"
|
145
145
|
}
|
@@ -5738,7 +5738,7 @@
|
|
5738
5738
|
{
|
5739
5739
|
"disabled": false,
|
5740
5740
|
"document": "Access Key",
|
5741
|
-
"example": "
|
5741
|
+
"example": "ak54jmdkpmao909550a62asd",
|
5742
5742
|
"member": "string",
|
5743
5743
|
"name": "AccessKey",
|
5744
5744
|
"output_required": true,
|
@@ -5749,7 +5749,7 @@
|
|
5749
5749
|
{
|
5750
5750
|
"disabled": false,
|
5751
5751
|
"document": "Secret Key",
|
5752
|
-
"example": "
|
5752
|
+
"example": "skc955042d5a678asd",
|
5753
5753
|
"member": "string",
|
5754
5754
|
"name": "SecretKey",
|
5755
5755
|
"output_required": true,
|
@@ -5760,7 +5760,7 @@
|
|
5760
5760
|
{
|
5761
5761
|
"disabled": false,
|
5762
5762
|
"document": "备注信息",
|
5763
|
-
"example": "
|
5763
|
+
"example": "remark info",
|
5764
5764
|
"member": "string",
|
5765
5765
|
"name": "Remark",
|
5766
5766
|
"output_required": true,
|
@@ -10650,7 +10650,7 @@
|
|
10650
10650
|
{
|
10651
10651
|
"disabled": false,
|
10652
10652
|
"document": "预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。",
|
10653
|
-
"example": "
|
10653
|
+
"example": "{'Period':1, 'RenewFlag': 'NOTIFY_AND_AUTO_RENEW'}",
|
10654
10654
|
"member": "InstanceChargePrepaid",
|
10655
10655
|
"name": "InstanceChargePrepaid",
|
10656
10656
|
"required": false,
|
@@ -10677,7 +10677,7 @@
|
|
10677
10677
|
{
|
10678
10678
|
"disabled": false,
|
10679
10679
|
"document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]。",
|
10680
|
-
"example": "
|
10680
|
+
"example": "[{\"Key\": \"name\", \"Value\": \"123\"}]",
|
10681
10681
|
"member": "Tag",
|
10682
10682
|
"name": "Tags",
|
10683
10683
|
"required": false,
|
@@ -10700,6 +10700,15 @@
|
|
10700
10700
|
"name": "MaxConnection",
|
10701
10701
|
"required": false,
|
10702
10702
|
"type": "int"
|
10703
|
+
},
|
10704
|
+
{
|
10705
|
+
"disabled": false,
|
10706
|
+
"document": "BGP ASN。",
|
10707
|
+
"example": "2",
|
10708
|
+
"member": "uint64",
|
10709
|
+
"name": "BgpAsn",
|
10710
|
+
"required": false,
|
10711
|
+
"type": "int"
|
10703
10712
|
}
|
10704
10713
|
],
|
10705
10714
|
"type": "object"
|
@@ -35744,7 +35753,7 @@
|
|
35744
35753
|
{
|
35745
35754
|
"disabled": false,
|
35746
35755
|
"document": "网关带宽配额信息。",
|
35747
|
-
"example": "
|
35756
|
+
"example": "[{'Bandwidth': 5, 'Cname': '微小型', 'Name': 'cdmini'}, {'Bandwidth': 10, 'Cname': '小型', 'Name': 'cdsmall'}, {'Bandwidth': 20, 'Cname': '中型', 'Name': 'cdmiddle'}, {'Bandwidth': 50, 'Cname': '大型', 'Name': 'cdlarge'}, {'Bandwidth': 100, 'Cname': '超大型', 'Name': 'cdsuperLarge'}]",
|
35748
35757
|
"member": "VpnGatewayQuota",
|
35749
35758
|
"name": "VpnGatewayQuotaSet",
|
35750
35759
|
"output_required": true,
|
@@ -35790,6 +35799,16 @@
|
|
35790
35799
|
"output_required": true,
|
35791
35800
|
"type": "int",
|
35792
35801
|
"value_allowed_null": false
|
35802
|
+
},
|
35803
|
+
{
|
35804
|
+
"disabled": false,
|
35805
|
+
"document": "Bgp ASN",
|
35806
|
+
"example": "61413",
|
35807
|
+
"member": "uint64",
|
35808
|
+
"name": "BgpAsn",
|
35809
|
+
"output_required": false,
|
35810
|
+
"type": "int",
|
35811
|
+
"value_allowed_null": false
|
35793
35812
|
}
|
35794
35813
|
],
|
35795
35814
|
"usage": "out"
|
@@ -756,7 +756,7 @@
|
|
756
756
|
{
|
757
757
|
"document": "创建VPNGW",
|
758
758
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpnGateway\n<公共请求参数>\n\n{\n \"VpnGatewayName\": \"\\\"test\\\"\",\n \"VpcId\": \"\\\"vpc-xxxx\\\"\",\n \"InstanceChargeType\": \"\\\"POSTPAID_BY_HOUR\\\"\",\n \"InternetMaxBandwidthOut\": 5\n}",
|
759
|
-
"output": "{\n \"Response\": {\n \"VpnGateway\": {\n \"
|
759
|
+
"output": "{\n \"Response\": {\n \"VpnGateway\": {\n \"VpnGatewayId\": \"vpngw-awdawc\",\n \"VpcId\": \"vpc-adxczc\",\n \"VpnGatewayName\": \"vpn-name\",\n \"Type\": \"IPSEC\",\n \"State\": \"Pending\",\n \"PublicIpAddress\": \"13.15.41.4\",\n \"RenewFlag\": \"\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 10,\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"ExpiredTime\": \"2020-09-22 00:00:00\",\n \"IsAddressBlocked\": false,\n \"NewPurchasePlan\": \"\",\n \"RestrictState\": \"NORMAL\",\n \"Zone\": \"\",\n \"VpnGatewayQuotaSet\": [\n {\n \"Bandwidth\": 5,\n \"Cname\": \"微小型\",\n \"Name\": \"cdmini\"\n }\n ],\n \"Version\": \"ver3.1\",\n \"NetworkInstanceId\": \"\",\n \"CdcId\": \"\",\n \"MaxConnection\": 10\n },\n \"RequestId\": \"b2187525-ab9d-42cb-82ee-998ead365bbe\"\n }\n}",
|
760
760
|
"title": "创建VPNGW"
|
761
761
|
}
|
762
762
|
],
|