tccli 3.0.1250.1__py2.py3-none-any.whl → 3.0.1251.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/aiart/v20221229/api.json +1 -1
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/dc/v20180410/api.json +13 -11
- tccli/services/dc/v20180410/examples.json +8 -2
- tccli/services/emr/v20190103/api.json +26 -21
- tccli/services/emr/v20190103/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +380 -375
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +403 -406
- tccli/services/essbasic/v20210526/examples.json +6 -6
- tccli/services/hunyuan/v20230901/api.json +22 -0
- tccli/services/monitor/v20180724/examples.json +1 -1
- tccli/services/nlp/v20190408/api.json +1 -1
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/ocr/v20181119/examples.json +6 -6
- tccli/services/pts/v20210728/api.json +589 -497
- tccli/services/pts/v20210728/examples.json +17 -17
- tccli/services/rum/v20210622/api.json +79 -19
- tccli/services/teo/v20220901/api.json +10 -10
- tccli/services/vpc/v20170312/api.json +1 -1
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1251.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1251.1.dist-info}/RECORD +26 -26
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1251.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1251.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1251.1.dist-info}/license_files/LICENSE +0 -0
@@ -420,13 +420,13 @@
|
|
420
420
|
{
|
421
421
|
"document": "创建一码多扫流程签署二维码,设置该二维码在7天内有效,并将最大合同流程签署数量限制为100份。 设定签署合同的有效期为7天。\n",
|
422
422
|
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateMultiFlowSignQRCode\n<公共请求参数>\n\n{\n \"FlowName\": \"通过签署二维码创建的示例合同\",\n \"Agent\": {\n \"ProxyOperator\": {\n \"OpenId\": \"proxy-operator-openid\"\n },\n \"ProxyOrganizationOpenId\": \"proxy-org-openid\",\n \"AppId\": \"yDRscUUgyg1zr7wnUyJ8QMwwnHc4OOcQ\"\n },\n \"FlowEffectiveDay\": 7,\n \"TemplateId\": \"yDRvzUUgygqj42ouUuO4zjEueBrK5MeV\",\n \"MaxFlowNum\": 100,\n \"QrEffectiveDay\": 7\n}",
|
423
|
-
"output": "{\n \"Response\": {\n \"QrCode\": {\n \"ExpiredTime\": 1695783727,\n \"QrCodeId\": \"yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR\",\n \"QrCodeUrl\": \"https://dyn.test.ess.tencent.cn/imgs/multiSignQrCodes/QrCode/yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR.png\"\n },\n \"RequestId\": \"s1695178926924585393\",\n \"SignUrls\": {\n \"AppSignUrl\": \"pages/guide?from=default&where=mini&autoJumpBack=true&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\",\n \"EffectiveTime\": \"\",\n \"HttpSignUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?where=mini&from=MSG&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\"\n }\n }\n}",
|
423
|
+
"output": "{\n \"Response\": {\n \"QrCode\": {\n \"ExpiredTime\": 1695783727,\n \"QrCodeId\": \"yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR\",\n \"QrCodeUrl\": \"https://dyn.test.ess.tencent.cn/imgs/multiSignQrCodes/QrCode/yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR.png\",\n \"WeixinQrCodeUrl\": \"https://file.ess.tencent.cn/bresource/resource/resource/0/0.PNG?hkey=a976edda49eacc2b264c2df468c30fcd69023cd782421bdbedddf8a95c7859d4467844c38fb9ea20b47d4b2f89396717f8deac5dcb25f32d718f0c13b48f53a2f6f69096b3b301aad56de87d7a8499fe374e5e2891dd778bb0c82394640fe124be22c63ba4e022a046cbc298006d3341\"\n },\n \"RequestId\": \"s1695178926924585393\",\n \"SignUrls\": {\n \"AppSignUrl\": \"pages/guide?from=default&where=mini&autoJumpBack=true&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\",\n \"EffectiveTime\": \"\",\n \"HttpSignUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?where=mini&from=MSG&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\"\n }\n }\n}",
|
424
424
|
"title": "创建有数量或时间限制的一码多签签署码"
|
425
425
|
},
|
426
426
|
{
|
427
427
|
"document": "1.使用B2C模板 yDRscUUgyg1zr7wnUyJ8QMwwnHc4OOcQ 创建了一个签署二维码。\n2.指定RecipientId 为 yDRscUUgyg3zr9vfUyJ8QKwCN7z9YcOh 的签署人在签名时可以手写(HANDWRITE) 或者使用系统签名 (SYSTEM_ESIGN)。\n3.指定RecipientId 为 yDwJNUUckpkojrmqUxTFHk0yndh70CpW 的签署人在签名时只能使用AI智能识别手写签名(OCR_ESIGN)。",
|
428
428
|
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateMultiFlowSignQRCode\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOperator\": {\n \"OpenId\": \"proxy-operator-openid\"\n },\n \"ProxyOrganizationOpenId\": \"proxy-org-openid\",\n \"AppId\": \"yDRscUUgyg1zr7wnUyJ8QMwwnHc4OOcQ\"\n },\n \"TemplateId\": \"yDRvzUUgygqj42ouUuO4zjEueBrK5MeV\",\n \"FlowName\": \"通过签署二维码创建的示例合同\",\n \"FlowEffectiveDay\": 5,\n \"QrEffectiveDay\": 7,\n \"MaxFlowNum\": 100,\n \"ApproverComponentLimitTypes\": [\n {\n \"RecipientId\": \"yDRscUUgyg3zr9vfUyJ8QKwCN7z9YcOh\",\n \"Values\": [\n \"HANDWRITE\",\n \"SYSTEM_ESIGN\"\n ]\n },\n {\n \"RecipientId\": \"yDwJNUUckpkojrmqUxTFHk0yndh70CpW\",\n \"Values\": [\n \"OCR_ESIGN\"\n ]\n }\n ]\n}",
|
429
|
-
"output": "{\n \"Response\": {\n \"QrCode\": {\n \"ExpiredTime\": 1695783727,\n \"QrCodeId\": \"yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR\",\n \"QrCodeUrl\": \"https://dyn.test.ess.tencent.cn/imgs/multiSignQrCodes/QrCode/yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR.png\"\n },\n \"RequestId\": \"s1695178926924585393\",\n \"SignUrls\": {\n \"AppSignUrl\": \"pages/guide?from=default&where=mini&autoJumpBack=true&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\",\n \"EffectiveTime\": \"\",\n \"HttpSignUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?where=mini&from=MSG&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\"\n }\n }\n}",
|
429
|
+
"output": "{\n \"Response\": {\n \"QrCode\": {\n \"ExpiredTime\": 1695783727,\n \"QrCodeId\": \"yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR\",\n \"QrCodeUrl\": \"https://dyn.test.ess.tencent.cn/imgs/multiSignQrCodes/QrCode/yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR.png\",\n \"WeixinQrCodeUrl\": \"https://file.ess.tencent.cn/bresource/resource/resource/0/0.PNG?hkey=a976edda49eacc2b264c2df468c30fcd69023cd782421bdbedddf8a95c7859d4467844c38fb9ea20b47d4b2f89396717f8deac5dcb25f32d718f0c13b48f53a2f6f69096b3b301aad56de87d7a8499fe374e5e2891dd778bb0c82394640fe124be22c63ba4e022a046cbc298006d3341\"\n },\n \"RequestId\": \"s1695178926924585393\",\n \"SignUrls\": {\n \"AppSignUrl\": \"pages/guide?from=default&where=mini&autoJumpBack=true&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\",\n \"EffectiveTime\": \"\",\n \"HttpSignUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?where=mini&from=MSG&to=CHANNEL_CONTRACT_COVER&qrCodeId=yDwJNUUckpkoj0mdUIJN2kC3XWFFaSuR&expiredTime=1695783727\"\n }\n }\n}",
|
430
430
|
"title": "创建指定了签署方签名方式的一码多签签署码"
|
431
431
|
}
|
432
432
|
],
|
@@ -529,14 +529,14 @@
|
|
529
529
|
},
|
530
530
|
{
|
531
531
|
"document": "授权时,缺少印章ID",
|
532
|
-
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateSealPolicy\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"
|
533
|
-
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.ParamError\",\n \"Message\": \"缺失印章ID\"\n },\n \"RequestId\": \"
|
532
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateSealPolicy\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"jsdk812kxkdfjks***k88123123\",\n \"ProxyOrganizationOpenId\": \"test_org_openid\",\n \"ProxyOperator\": {\n \"OpenId\": \"test_openid\",\n \"Channel\": \"CHANNEL\",\n \"CustomUserId\": \"zhangsan\",\n \"ClientIp\": \"1.2.3.4\",\n \"ProxyIp\": \"1.2.3.4\"\n },\n \"ProxyAppId\": \"yDRS4UUgygqdcj56UuO4zjExBQcOiB68\",\n \"ProxyOrganizationId\": \"yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP\"\n },\n \"SealId\": \"\",\n \"UserIds\": [\n \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n ],\n \"Operator\": {\n \"OpenId\": \"test_openid\",\n \"Channel\": \"CHANNEL\",\n \"CustomUserId\": \"zhangsan\",\n \"ClientIp\": \"8.8.8.8\",\n \"ProxyIp\": \"8.8.8.8\"\n },\n \"Organization\": {\n \"OrganizationId\": \"yDxbWUyKQDxgXVUuO4zjEB8mxCcDjAyF\",\n \"Channel\": \"CHANNEL\",\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"ClientIp\": \"1.2.3.4\",\n \"ProxyIp\": \"8.8.8.8\"\n }\n}",
|
533
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.ParamError\",\n \"Message\": \"缺失印章ID\"\n },\n \"RequestId\": \"s1111999868619888777\"\n }\n}",
|
534
534
|
"title": "授权时,缺少印章ID"
|
535
535
|
},
|
536
536
|
{
|
537
537
|
"document": "授权时,找不到对应的 UserId",
|
538
|
-
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateSealPolicy\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"
|
539
|
-
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.ParamError\",\n \"Message\": \"无效的授权用户Id\"\n },\n \"RequestId\": \"
|
538
|
+
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateSealPolicy\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"jsdk812kxkdfjks***k88123123\",\n \"ProxyOrganizationOpenId\": \"test_org_openid\",\n \"ProxyOperator\": {\n \"OpenId\": \"test_openid\",\n \"Channel\": \"CHANNEL\",\n \"CustomUserId\": \"zhangsan\",\n \"ClientIp\": \"1.2.3.4\",\n \"ProxyIp\": \"1.2.3.4\"\n },\n \"ProxyAppId\": \"yDRS4UUgygqdcj56UuO4zjExBQcOiB68\",\n \"ProxyOrganizationId\": \"yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP\"\n },\n \"SealId\": \"\",\n \"UserIds\": [\n \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n ],\n \"Operator\": {\n \"OpenId\": \"test_openid\",\n \"Channel\": \"CHANNEL\",\n \"CustomUserId\": \"zhangsan\",\n \"ClientIp\": \"8.8.8.8\",\n \"ProxyIp\": \"8.8.8.8\"\n },\n \"Organization\": {\n \"OrganizationId\": \"yDxbWUyKQDxgXVUuO4zjEB8mxCcDjAyF\",\n \"Channel\": \"CHANNEL\",\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"ClientIp\": \"1.2.3.4\",\n \"ProxyIp\": \"8.8.8.8\"\n }\n}",
|
539
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.ParamError\",\n \"Message\": \"无效的授权用户Id\"\n },\n \"RequestId\": \"s1111999868619888777\"\n }\n}",
|
540
540
|
"title": "授权时,找不到对应的 UserId"
|
541
541
|
}
|
542
542
|
],
|
@@ -2501,6 +2501,28 @@
|
|
2501
2501
|
"required": false,
|
2502
2502
|
"type": "string",
|
2503
2503
|
"value_allowed_null": true
|
2504
|
+
},
|
2505
|
+
{
|
2506
|
+
"disabled": false,
|
2507
|
+
"document": "搜索引文站点名",
|
2508
|
+
"example": "无",
|
2509
|
+
"member": "string",
|
2510
|
+
"name": "Text",
|
2511
|
+
"output_required": false,
|
2512
|
+
"required": false,
|
2513
|
+
"type": "string",
|
2514
|
+
"value_allowed_null": false
|
2515
|
+
},
|
2516
|
+
{
|
2517
|
+
"disabled": false,
|
2518
|
+
"document": "搜索引文图标",
|
2519
|
+
"example": "无",
|
2520
|
+
"member": "string",
|
2521
|
+
"name": "Icon",
|
2522
|
+
"output_required": false,
|
2523
|
+
"required": false,
|
2524
|
+
"type": "string",
|
2525
|
+
"value_allowed_null": false
|
2504
2526
|
}
|
2505
2527
|
],
|
2506
2528
|
"usage": "both"
|
@@ -908,7 +908,7 @@
|
|
908
908
|
{
|
909
909
|
"document": "",
|
910
910
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstances\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"prom-ncxkwqr8\"\n ]\n}",
|
911
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceSet\": [\n {\n \"InstanceName\": \"name\",\n \"InstanceChargeType\": 1,\n \"InstanceId\": \"prom-xxxxx\",\n \"InstanceStatus\": 1,\n \"RegionId\": 1,\n \"Zone\": \"ap-guangzhou-1\",\n \"GrafanaInstanceId\": \"
|
911
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceSet\": [\n {\n \"InstanceName\": \"name\",\n \"InstanceChargeType\": 1,\n \"InstanceId\": \"prom-xxxxx\",\n \"InstanceStatus\": 1,\n \"RegionId\": 1,\n \"Zone\": \"ap-guangzhou-1\",\n \"GrafanaInstanceId\": \"grafana-as2sad2\",\n \"AuthToken\": \"zh32ksa~wq(a\",\n \"RecordingRuleLimit\": 0,\n \"VpcId\": \"vpcID\",\n \"SubnetId\": \"subnetid\",\n \"MigrationType\": 0,\n \"IPv4Address\": \"\",\n \"RemoteWrite\": \"http://10.0.16.63:9090/api/v1/prom/write\",\n \"DataRetentionTime\": 30,\n \"EnableGrafana\": 0,\n \"ExpireTime\": \"2020-07-07T10:39:18Z\",\n \"SpecName\": \"共享版\",\n \"Grant\": {\n \"HasChargeOperation\": 0,\n \"HasVpcDisplay\": 0,\n \"HasGrafanaStatusChange\": 0,\n \"HasAgentManage\": 0,\n \"HasTkeManage\": 0,\n \"HasApiOperation\": 0\n },\n \"ProxyAddress\": \"10.0.16.63:9090\",\n \"IsNearExpire\": 0,\n \"GrafanaStatus\": 0,\n \"GrafanaIpWhiteList\": \"\",\n \"ApiRootPath\": \"10.0.16.63:9090\",\n \"TagSpecification\": [\n {\n \"Key\": \"creator\",\n \"Value\": \"tmp\"\n }\n ],\n \"AutoRenewFlag\": 0,\n \"AlertRuleLimit\": 0,\n \"ChargeStatus\": 0,\n \"GrafanaURL\": \"\",\n \"CreatedAt\": \"2020-07-07T10:39:18Z\"\n }\n ],\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
|
912
912
|
"title": "查看 Prometheus 实例列表"
|
913
913
|
}
|
914
914
|
],
|
@@ -5959,7 +5959,7 @@
|
|
5959
5959
|
{
|
5960
5960
|
"disabled": false,
|
5961
5961
|
"document": "检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。",
|
5962
|
-
"example": "
|
5962
|
+
"example": "无",
|
5963
5963
|
"member": "TextDetection",
|
5964
5964
|
"name": "TextDetections",
|
5965
5965
|
"output_required": true,
|
@@ -6070,7 +6070,7 @@
|
|
6070
6070
|
{
|
6071
6071
|
"disabled": false,
|
6072
6072
|
"document": "检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。",
|
6073
|
-
"example": "
|
6073
|
+
"example": "无",
|
6074
6074
|
"member": "TextDetection",
|
6075
6075
|
"name": "TextDetections",
|
6076
6076
|
"output_required": true,
|
@@ -6281,7 +6281,7 @@
|
|
6281
6281
|
"members": [
|
6282
6282
|
{
|
6283
6283
|
"disabled": false,
|
6284
|
-
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M
|
6284
|
+
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
6285
6285
|
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
6286
6286
|
"member": "string",
|
6287
6287
|
"name": "ImageBase64",
|
@@ -13008,7 +13008,7 @@
|
|
13008
13008
|
{
|
13009
13009
|
"disabled": false,
|
13010
13010
|
"document": "图片的 Url 地址。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。\n支持的图片像素:需介于20-10000px之间。\n图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。\n非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
|
13011
|
-
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/
|
13011
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/RecognizeGeneralTextImageWarn/RecognizeGeneralTextImageWarn1.png",
|
13012
13012
|
"member": "string",
|
13013
13013
|
"name": "ImageUrl",
|
13014
13014
|
"required": false,
|
@@ -13016,8 +13016,8 @@
|
|
13016
13016
|
},
|
13017
13017
|
{
|
13018
13018
|
"disabled": false,
|
13019
|
-
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M
|
13020
|
-
"example": "
|
13019
|
+
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。\n支持的图片像素:需介于20-10000px之间。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
13020
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
13021
13021
|
"member": "string",
|
13022
13022
|
"name": "ImageBase64",
|
13023
13023
|
"required": false,
|
@@ -13044,7 +13044,7 @@
|
|
13044
13044
|
{
|
13045
13045
|
"disabled": false,
|
13046
13046
|
"document": "支持的模板类型\n- General 通用告警(支持所有类型告警)\n- LicensePlate 车牌告警(支持翻拍告警)",
|
13047
|
-
"example": "
|
13047
|
+
"example": "General ",
|
13048
13048
|
"member": "string",
|
13049
13049
|
"name": "Type",
|
13050
13050
|
"required": false,
|
@@ -184,7 +184,7 @@
|
|
184
184
|
{
|
185
185
|
"document": "图像整体文字的检测和识别,返回文字框位置与文字内容。 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralAccurateOCR)",
|
186
186
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralAccurateOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg\"\n}",
|
187
|
-
"output": "{\n \"Response\": {\n \"
|
187
|
+
"output": "{\n \"Response\": {\n \"Angle\": 359.989990234375,\n \"RequestId\": \"4021987a-5441-4160-981a-d084cd96b5ad\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"轻断食:正在横扫全球的瘦身革命\",\n \"ItemPolygon\": {\n \"Height\": 26,\n \"Width\": 264,\n \"X\": 446,\n \"Y\": 93\n },\n \"Polygon\": [\n {\n \"X\": 446,\n \"Y\": 93\n },\n {\n \"X\": 709,\n \"Y\": 94\n },\n {\n \"X\": 708,\n \"Y\": 118\n },\n {\n \"X\": 446,\n \"Y\": 116\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"专题报道。\",\n \"ItemPolygon\": {\n \"Height\": 30,\n \"Width\": 103,\n \"X\": 47,\n \"Y\": 198\n },\n \"Polygon\": [\n {\n \"X\": 47,\n \"Y\": 201\n },\n {\n \"X\": 148,\n \"Y\": 198\n },\n {\n \"X\": 149,\n \"Y\": 225\n },\n {\n \"X\": 48,\n \"Y\": 227\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"2009年,我写了《减肥前要做的101件事》(101Things to Do\",\n \"ItemPolygon\": {\n \"Height\": 34,\n \"Width\": 629,\n \"X\": 88,\n \"Y\": 243\n },\n \"Polygon\": [\n {\n \"X\": 88,\n \"Y\": 243\n },\n {\n \"X\": 716,\n \"Y\": 246\n },\n {\n \"X\": 716,\n \"Y\": 276\n },\n {\n \"X\": 88,\n \"Y\": 273\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"BeforeYou Diet),归纳我尝试各种流行减肥法的气馁经验,每种方\",\n \"ItemPolygon\": {\n \"Height\": 31,\n \"Width\": 675,\n \"X\": 43,\n \"Y\": 290\n },\n \"Polygon\": [\n {\n \"X\": 43,\n \"Y\": 292\n },\n {\n \"X\": 717,\n \"Y\": 290\n },\n {\n \"X\": 717,\n \"Y\": 318\n },\n {\n \"X\": 43,\n \"Y\": 320\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"法似乎都注定失败。\",\n \"ItemPolygon\": {\n \"Height\": 30,\n \"Width\": 194,\n \"X\": 44,\n \"Y\": 338\n },\n \"Polygon\": [\n {\n \"X\": 44,\n \"Y\": 340\n },\n {\n \"X\": 237,\n \"Y\": 338\n },\n {\n \"X\": 237,\n \"Y\": 365\n },\n {\n \"X\": 44,\n \"Y\": 367\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"这二十年来我接触过的减肥方法中,只有轻断食让我在瘦下来之\",\n \"ItemPolygon\": {\n \"Height\": 30,\n \"Width\": 635,\n \"X\": 87,\n \"Y\": 382\n },\n \"Polygon\": [\n {\n \"X\": 87,\n \"Y\": 384\n },\n {\n \"X\": 721,\n \"Y\": 382\n },\n {\n \"X\": 721,\n \"Y\": 409\n },\n {\n \"X\": 87,\n \"Y\": 411\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"后不反弹。至于抗衰老的健康益处,更是得来全不费工夫。\",\n \"ItemPolygon\": {\n \"Height\": 31,\n \"Width\": 582,\n \"X\": 41,\n \"Y\": 430\n },\n \"Polygon\": [\n {\n \"X\": 41,\n \"Y\": 432\n },\n {\n \"X\": 622,\n \"Y\": 430\n },\n {\n \"X\": 622,\n \"Y\": 457\n },\n {\n \"X\": 41,\n \"Y\": 460\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
188
188
|
"title": "GeneralAccurateOCR调用"
|
189
189
|
}
|
190
190
|
],
|
@@ -192,7 +192,7 @@
|
|
192
192
|
{
|
193
193
|
"document": "识别多场景、任意版面下整图文字的识别 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralBasicOCR)",
|
194
194
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralBasicOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralBasicOCR/GeneralBasicOCR1.jpg\"\n}",
|
195
|
-
"output": "{\n \"Response\": {\n \"
|
195
|
+
"output": "{\n \"Response\": {\n \"Angle\": 359.989990234375,\n \"Language\": \"zh\",\n \"PdfPageSize\": 0,\n \"RequestId\": \"5d5fbda3-3f47-45a7-8d4b-71bd9d64ab3d\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"Sun\",\n \"ItemPolygon\": {\n \"Height\": 35,\n \"Width\": 74,\n \"X\": 464,\n \"Y\": 100\n },\n \"Polygon\": [\n {\n \"X\": 464,\n \"Y\": 100\n },\n {\n \"X\": 538,\n \"Y\": 100\n },\n {\n \"X\": 538,\n \"Y\": 135\n },\n {\n \"X\": 464,\n \"Y\": 135\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"1月8日\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 52,\n \"X\": 476,\n \"Y\": 141\n },\n \"Polygon\": [\n {\n \"X\": 476,\n \"Y\": 141\n },\n {\n \"X\": 528,\n \"Y\": 141\n },\n {\n \"X\": 528,\n \"Y\": 159\n },\n {\n \"X\": 476,\n \"Y\": 159\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"八色鸫\",\n \"ItemPolygon\": {\n \"Height\": 28,\n \"Width\": 85,\n \"X\": 62,\n \"Y\": 443\n },\n \"Polygon\": [\n {\n \"X\": 62,\n \"Y\": 443\n },\n {\n \"X\": 147,\n \"Y\": 442\n },\n {\n \"X\": 147,\n \"Y\": 470\n },\n {\n \"X\": 63,\n \"Y\": 471\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"Pitta nympha\",\n \"ItemPolygon\": {\n \"Height\": 17,\n \"Width\": 96,\n \"X\": 61,\n \"Y\": 482\n },\n \"Polygon\": [\n {\n \"X\": 61,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 483\n },\n {\n \"X\": 157,\n \"Y\": 500\n },\n {\n \"X\": 61,\n \"Y\": 499\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":5}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"八色鸫雌鸟和雄鸟一样漂亮。它经常在亚热带的森林地面上走动,捕\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 426,\n \"X\": 60,\n \"Y\": 506\n },\n \"Polygon\": [\n {\n \"X\": 60,\n \"Y\": 506\n },\n {\n \"X\": 486,\n \"Y\": 503\n },\n {\n \"X\": 486,\n \"Y\": 521\n },\n {\n \"X\": 60,\n \"Y\": 523\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":5}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"食落叶下的昆虫和晰蜴等小动物,唱歌时会飞到树上。因为森林砍伐\",\n \"ItemPolygon\": {\n \"Height\": 16,\n \"Width\": 426,\n \"X\": 60,\n \"Y\": 530\n },\n \"Polygon\": [\n {\n \"X\": 60,\n \"Y\": 530\n },\n {\n \"X\": 486,\n \"Y\": 530\n },\n {\n \"X\": 486,\n \"Y\": 546\n },\n {\n \"X\": 60,\n \"Y\": 546\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":5}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"和非法的玩赏鸟贸易,现在它的数量已明显减少。\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 308,\n \"X\": 59,\n \"Y\": 554\n },\n \"Polygon\": [\n {\n \"X\": 59,\n \"Y\": 554\n },\n {\n \"X\": 367,\n \"Y\": 552\n },\n {\n \"X\": 368,\n \"Y\": 570\n },\n {\n \"X\": 59,\n \"Y\": 572\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
196
196
|
"title": "GeneralBasicOCR调用"
|
197
197
|
}
|
198
198
|
],
|
@@ -216,13 +216,13 @@
|
|
216
216
|
{
|
217
217
|
"document": "只输出手写体识别结果,过滤印刷体",
|
218
218
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralHandwritingOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"Scene\": \"only_hw\"\n}",
|
219
|
-
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"六习作表达30分\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 43,\n \"Y\": 29\n },\n {\n \"X\": 176,\n \"Y\": 25\n },\n {\n \"X\": 177,\n \"Y\": 49\n },\n {\n \"X\": 43,\n \"Y\": 53\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"WordPolygon\": [\n {\n \"LeftBottom\": {\n \"X\": 97,\n \"Y\": 204\n },\n \"LeftTop\": {\n \"X\": 97,\n \"Y\": 156\n },\n \"RightBottom\": {\n \"X\": 134,\n \"Y\": 204\n },\n \"RightTop\": {\n \"X\": 134,\n \"Y\": 156\n }\n }\n ]\n }\n ],\n \"
|
219
|
+
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"六习作表达30分\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 43,\n \"Y\": 29\n },\n {\n \"X\": 176,\n \"Y\": 25\n },\n {\n \"X\": 177,\n \"Y\": 49\n },\n {\n \"X\": 43,\n \"Y\": 53\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"WordPolygon\": [\n {\n \"LeftBottom\": {\n \"X\": 97,\n \"Y\": 204\n },\n \"LeftTop\": {\n \"X\": 97,\n \"Y\": 156\n },\n \"RightBottom\": {\n \"X\": 134,\n \"Y\": 204\n },\n \"RightTop\": {\n \"X\": 134,\n \"Y\": 156\n }\n }\n ]\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"b57e40af-a73c-4844-ae7e-344f06efb9e5\"\n }\n}",
|
220
220
|
"title": "传入场景only_hw"
|
221
221
|
},
|
222
222
|
{
|
223
223
|
"document": "通用手写体识别示例",
|
224
224
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralHandwritingOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralHandwritingOCR/GeneralHandwritingOCR1.jpg\"\n}",
|
225
|
-
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"飞机飞过天空天空之城\",\n \"Polygon\": [\n {\n \"X\": 99,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 207\n },\n {\n \"X\": 99,\n \"Y\": 207\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 97,\n \"DetectedText\": \"落雨下的黄昏的我们\",\n \"Polygon\": [\n {\n \"X\": 170,\n \"Y\": 216\n },\n {\n \"X\": 471,\n \"Y\": 227\n },\n {\n \"X\": 469,\n \"Y\": 286\n },\n {\n \"X\": 168,\n \"Y\": 275\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"此刻我在异乡的夜里\",\n \"Polygon\": [\n {\n \"X\": 130,\n \"Y\": 289\n },\n {\n \"X\": 455,\n \"Y\": 292\n },\n {\n \"X\": 455,\n \"Y\": 351\n },\n {\n \"X\": 130,\n \"Y\": 348\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"感觉着你忽明忽暗\",\n \"Polygon\": [\n {\n \"X\": 143,\n \"Y\": 357\n },\n {\n \"X\": 454,\n \"Y\": 349\n },\n {\n \"X\": 456,\n \"Y\": 418\n },\n {\n \"X\": 145,\n \"Y\": 425\n }\n ],\n \"WordPolygon\": []\n }\n ],\n \"
|
225
|
+
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"飞机飞过天空天空之城\",\n \"Polygon\": [\n {\n \"X\": 99,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 207\n },\n {\n \"X\": 99,\n \"Y\": 207\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 97,\n \"DetectedText\": \"落雨下的黄昏的我们\",\n \"Polygon\": [\n {\n \"X\": 170,\n \"Y\": 216\n },\n {\n \"X\": 471,\n \"Y\": 227\n },\n {\n \"X\": 469,\n \"Y\": 286\n },\n {\n \"X\": 168,\n \"Y\": 275\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"此刻我在异乡的夜里\",\n \"Polygon\": [\n {\n \"X\": 130,\n \"Y\": 289\n },\n {\n \"X\": 455,\n \"Y\": 292\n },\n {\n \"X\": 455,\n \"Y\": 351\n },\n {\n \"X\": 130,\n \"Y\": 348\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"感觉着你忽明忽暗\",\n \"Polygon\": [\n {\n \"X\": 143,\n \"Y\": 357\n },\n {\n \"X\": 454,\n \"Y\": 349\n },\n {\n \"X\": 456,\n \"Y\": 418\n },\n {\n \"X\": 145,\n \"Y\": 425\n }\n ],\n \"WordPolygon\": []\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"361e2ac6-ee7e-40d0-9463-5f05ecd4828e\"\n }\n}",
|
226
226
|
"title": "通用手写体识别示例代码"
|
227
227
|
}
|
228
228
|
],
|
@@ -461,8 +461,8 @@
|
|
461
461
|
"RecognizeGeneralTextImageWarn": [
|
462
462
|
{
|
463
463
|
"document": "通用文本图像告警示例",
|
464
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralTextImageWarn\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
465
|
-
"output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"BorderIncomplete\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Copy\": {\n \"IsWarn\":
|
464
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralTextImageWarn\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/RecognizeGeneralTextImageWarn/RecognizeGeneralTextImageWarn1.png\",\n \"Type\": \"General\"\n}",
|
465
|
+
"output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"BorderIncomplete\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Copy\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Reflection\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Reprint\": {\n \"IsWarn\": true,\n \"Polygon\": [\n {\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n ],\n \"SpecificMatter\": \"\"\n },\n \"RequestId\": \"20bbcd54-6e63-4140-b777-2dea85a8ef66\"\n }\n}",
|
466
466
|
"title": "通用文本图像告警示例代码"
|
467
467
|
}
|
468
468
|
],
|