tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -589,7 +589,7 @@
|
|
589
589
|
{
|
590
590
|
"disabled": false,
|
591
591
|
"document": "实例描述信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
592
|
-
"example": "
|
592
|
+
"example": "实例描述",
|
593
593
|
"member": "string",
|
594
594
|
"name": "Description",
|
595
595
|
"output_required": true,
|
@@ -759,7 +759,7 @@
|
|
759
759
|
{
|
760
760
|
"disabled": false,
|
761
761
|
"document": "用户自定义展示标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
762
|
-
"example": "
|
762
|
+
"example": "[\"custom_key_1\"]",
|
763
763
|
"member": "string",
|
764
764
|
"name": "CustomShowTags",
|
765
765
|
"output_required": true,
|
@@ -815,6 +815,46 @@
|
|
815
815
|
"output_required": false,
|
816
816
|
"type": "int",
|
817
817
|
"value_allowed_null": true
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"disabled": false,
|
821
|
+
"document": "是否关联dashboard: 0 关 1 开\n注意:此字段可能返回 null,表示取不到有效值。",
|
822
|
+
"example": "0",
|
823
|
+
"member": "int64",
|
824
|
+
"name": "IsRelatedDashboard",
|
825
|
+
"output_required": false,
|
826
|
+
"type": "int",
|
827
|
+
"value_allowed_null": true
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"disabled": false,
|
831
|
+
"document": "dashboard ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
832
|
+
"example": "xxxxxx",
|
833
|
+
"member": "string",
|
834
|
+
"name": "DashboardTopicID",
|
835
|
+
"output_required": false,
|
836
|
+
"type": "string",
|
837
|
+
"value_allowed_null": true
|
838
|
+
},
|
839
|
+
{
|
840
|
+
"disabled": false,
|
841
|
+
"document": "是否开启组件漏洞检测\n注意:此字段可能返回 null,表示取不到有效值。",
|
842
|
+
"example": "0",
|
843
|
+
"member": "int64",
|
844
|
+
"name": "IsInstrumentationVulnerabilityScan",
|
845
|
+
"output_required": false,
|
846
|
+
"type": "int",
|
847
|
+
"value_allowed_null": true
|
848
|
+
},
|
849
|
+
{
|
850
|
+
"disabled": false,
|
851
|
+
"document": "是否开启SQL注入分析\n注意:此字段可能返回 null,表示取不到有效值。",
|
852
|
+
"example": "0",
|
853
|
+
"member": "int64",
|
854
|
+
"name": "IsSqlInjectionAnalysis",
|
855
|
+
"output_required": false,
|
856
|
+
"type": "int",
|
857
|
+
"value_allowed_null": true
|
818
858
|
}
|
819
859
|
],
|
820
860
|
"usage": "out"
|
@@ -886,7 +926,7 @@
|
|
886
926
|
{
|
887
927
|
"disabled": false,
|
888
928
|
"document": "实例描述信息",
|
889
|
-
"example": "
|
929
|
+
"example": "实例描述",
|
890
930
|
"member": "string",
|
891
931
|
"name": "Description",
|
892
932
|
"required": false,
|
@@ -904,7 +944,7 @@
|
|
904
944
|
{
|
905
945
|
"disabled": false,
|
906
946
|
"document": "标签列表",
|
907
|
-
"example": "
|
947
|
+
"example": "[]",
|
908
948
|
"member": "ApmTag",
|
909
949
|
"name": "Tags",
|
910
950
|
"required": false,
|
@@ -927,6 +967,15 @@
|
|
927
967
|
"name": "PayMode",
|
928
968
|
"required": false,
|
929
969
|
"type": "int"
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"disabled": false,
|
973
|
+
"document": "(0=付费版;1=tsf受限免费版;2=免费版)",
|
974
|
+
"example": "0",
|
975
|
+
"member": "int64",
|
976
|
+
"name": "Free",
|
977
|
+
"required": false,
|
978
|
+
"type": "int"
|
930
979
|
}
|
931
980
|
],
|
932
981
|
"type": "object"
|
@@ -2056,6 +2105,51 @@
|
|
2056
2105
|
"name": "ResponseDurationWarningThreshold",
|
2057
2106
|
"required": false,
|
2058
2107
|
"type": "int"
|
2108
|
+
},
|
2109
|
+
{
|
2110
|
+
"disabled": false,
|
2111
|
+
"document": "(0=付费版;1=tsf受限免费版;2=免费版)",
|
2112
|
+
"example": "0",
|
2113
|
+
"member": "int64",
|
2114
|
+
"name": "Free",
|
2115
|
+
"required": false,
|
2116
|
+
"type": "int"
|
2117
|
+
},
|
2118
|
+
{
|
2119
|
+
"disabled": false,
|
2120
|
+
"document": "是否关联dashboard: 0 关 1 开",
|
2121
|
+
"example": "0",
|
2122
|
+
"member": "int64",
|
2123
|
+
"name": "IsRelatedDashboard",
|
2124
|
+
"required": false,
|
2125
|
+
"type": "int"
|
2126
|
+
},
|
2127
|
+
{
|
2128
|
+
"disabled": false,
|
2129
|
+
"document": "dashboard ID",
|
2130
|
+
"example": "xxxxx",
|
2131
|
+
"member": "string",
|
2132
|
+
"name": "DashboardTopicID",
|
2133
|
+
"required": false,
|
2134
|
+
"type": "string"
|
2135
|
+
},
|
2136
|
+
{
|
2137
|
+
"disabled": false,
|
2138
|
+
"document": "是否开启SQL注入检测",
|
2139
|
+
"example": "0",
|
2140
|
+
"member": "int64",
|
2141
|
+
"name": "IsSqlInjectionAnalysis",
|
2142
|
+
"required": false,
|
2143
|
+
"type": "int"
|
2144
|
+
},
|
2145
|
+
{
|
2146
|
+
"disabled": false,
|
2147
|
+
"document": "是否开启组件漏洞检测",
|
2148
|
+
"example": "0",
|
2149
|
+
"member": "int64",
|
2150
|
+
"name": "IsInstrumentationVulnerabilityScan",
|
2151
|
+
"required": false,
|
2152
|
+
"type": "int"
|
2059
2153
|
}
|
2060
2154
|
],
|
2061
2155
|
"type": "object"
|
@@ -796,7 +796,7 @@
|
|
796
796
|
},
|
797
797
|
{
|
798
798
|
"disabled": false,
|
799
|
-
"document": "临时热词表:该参数用于提升识别准确率。\n\n- 单个热词限制:\"热词|权重\",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或“ASR|11”;\n\n- 临时热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;\n\n- 参数 hotword_id(热词表) 与 hotword_list(临时热词表) 区别:\n\n - hotword_id:热词表。需要先在控制台或接口创建热词表,获得对应hotword_id传入参数来使用热词功能;\n\n - hotword_list:临时热词表。每次请求时直接传入临时热词表来使用热词功能,云端不保留临时热词表。适用于有极大量热词需求的用户;\n\n注意:\n\n- 如果同时传入了 hotword_id 和 hotword_list
|
799
|
+
"document": "临时热词表:该参数用于提升识别准确率。\n\n- 单个热词限制:\"热词|权重\",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或“ASR|11”;\n\n- 临时热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;\n\n- 参数 hotword_id(热词表) 与 hotword_list(临时热词表) 区别:\n\n - hotword_id:热词表。需要先在控制台或接口创建热词表,获得对应hotword_id传入参数来使用热词功能;\n\n - hotword_list:临时热词表。每次请求时直接传入临时热词表来使用热词功能,云端不保留临时热词表。适用于有极大量热词需求的用户;\n\n注意:\n\n- 如果同时传入了 hotword_id 和 hotword_list,只有hotword_list 生效;\n\n- 热词权重设置为11时,当前热词将升级为超级热词,建议仅将重要且必须生效的热词设置到11,设置过多权重为11的热词将影响整体字准率。\n\n- 热词权重设置为100时,当前热词开启热词增强同音替换功能(仅支持8k_zh,16k_zh),举例:热词配置“蜜制|100”时,与“蜜制”同拼音(mizhi)的“秘制”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。建议仅将重要且必须生效的热词设置到100,设置过多权重为100的热词将影响整体字准率。",
|
800
800
|
"example": "无",
|
801
801
|
"member": "string",
|
802
802
|
"name": "HotwordList",
|
@@ -932,6 +932,7 @@
|
|
932
932
|
"example": "",
|
933
933
|
"member": "AsyncRecognitionTasks",
|
934
934
|
"name": "Data",
|
935
|
+
"output_required": true,
|
935
936
|
"type": "object",
|
936
937
|
"value_allowed_null": true
|
937
938
|
},
|
@@ -1808,7 +1809,7 @@
|
|
1808
1809
|
{
|
1809
1810
|
"disabled": false,
|
1810
1811
|
"document": "单句最终识别结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
1811
|
-
"example": "
|
1812
|
+
"example": "你好,今天很开心",
|
1812
1813
|
"member": "string",
|
1813
1814
|
"name": "FinalSentence",
|
1814
1815
|
"output_required": true,
|
@@ -1818,7 +1819,7 @@
|
|
1818
1819
|
{
|
1819
1820
|
"disabled": false,
|
1820
1821
|
"document": "单句中间识别结果,使用空格拆分为多个词\n注意:此字段可能返回 null,表示取不到有效值。",
|
1821
|
-
"example": "你好
|
1822
|
+
"example": "你好 今天 很 开心",
|
1822
1823
|
"member": "string",
|
1823
1824
|
"name": "SliceSentence",
|
1824
1825
|
"output_required": true,
|
@@ -1828,7 +1829,7 @@
|
|
1828
1829
|
{
|
1829
1830
|
"disabled": false,
|
1830
1831
|
"document": "口语转书面语结果,开启改功能才有值\n注意:此字段可能返回 null,表示取不到有效值。",
|
1831
|
-
"example": "
|
1832
|
+
"example": "你好,今天很开心。",
|
1832
1833
|
"member": "string",
|
1833
1834
|
"name": "WrittenText",
|
1834
1835
|
"output_required": false,
|
@@ -1898,7 +1899,7 @@
|
|
1898
1899
|
{
|
1899
1900
|
"disabled": false,
|
1900
1901
|
"document": "情绪能量值,取值为音量分贝值/10。取值范围:[1,10]。值越高情绪越强烈。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1901
|
-
"example": "
|
1902
|
+
"example": "1",
|
1902
1903
|
"member": "float",
|
1903
1904
|
"name": "EmotionalEnergy",
|
1904
1905
|
"output_required": true,
|
@@ -1928,7 +1929,7 @@
|
|
1928
1929
|
{
|
1929
1930
|
"disabled": false,
|
1930
1931
|
"document": "关键词识别结果列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
1931
|
-
"example": "[ { \"KeyWordLibID\": \"
|
1932
|
+
"example": "[ { \"KeyWordLibID\": \"ec9g31d\", \"KeyWordLibName\": \"测试词库\", \"KeyWords\": [\"冰淇淋\",\"月亮\",\"六便士\"] } ]",
|
1932
1933
|
"member": "KeyWordResult",
|
1933
1934
|
"name": "KeyWordResults",
|
1934
1935
|
"output_required": false,
|
@@ -2209,30 +2210,30 @@
|
|
2209
2210
|
{
|
2210
2211
|
"disabled": false,
|
2211
2212
|
"document": "词文本\n注意:此字段可能返回 null,表示取不到有效值。",
|
2212
|
-
"example": "",
|
2213
|
+
"example": "晴天",
|
2213
2214
|
"member": "string",
|
2214
2215
|
"name": "Word",
|
2215
|
-
"
|
2216
|
+
"output_required": true,
|
2216
2217
|
"type": "string",
|
2217
2218
|
"value_allowed_null": true
|
2218
2219
|
},
|
2219
2220
|
{
|
2220
2221
|
"disabled": false,
|
2221
2222
|
"document": "在句子中的开始时间偏移量\n注意:此字段可能返回 null,表示取不到有效值。",
|
2222
|
-
"example": "",
|
2223
|
+
"example": "200",
|
2223
2224
|
"member": "int64",
|
2224
2225
|
"name": "OffsetStartMs",
|
2225
|
-
"
|
2226
|
+
"output_required": true,
|
2226
2227
|
"type": "int",
|
2227
2228
|
"value_allowed_null": true
|
2228
2229
|
},
|
2229
2230
|
{
|
2230
2231
|
"disabled": false,
|
2231
2232
|
"document": "在句子中的结束时间偏移量\n注意:此字段可能返回 null,表示取不到有效值。",
|
2232
|
-
"example": "",
|
2233
|
+
"example": "400",
|
2233
2234
|
"member": "int64",
|
2234
2235
|
"name": "OffsetEndMs",
|
2235
|
-
"
|
2236
|
+
"output_required": true,
|
2236
2237
|
"type": "int",
|
2237
2238
|
"value_allowed_null": true
|
2238
2239
|
}
|
@@ -2307,7 +2308,7 @@
|
|
2307
2308
|
{
|
2308
2309
|
"disabled": false,
|
2309
2310
|
"document": "任务标识。注意:TaskId数据类型为uint64。",
|
2310
|
-
"example": "
|
2311
|
+
"example": "1002301",
|
2311
2312
|
"member": "uint64",
|
2312
2313
|
"name": "TaskId",
|
2313
2314
|
"output_required": true,
|
@@ -2337,7 +2338,7 @@
|
|
2337
2338
|
{
|
2338
2339
|
"disabled": false,
|
2339
2340
|
"document": "识别结果。",
|
2340
|
-
"example": "
|
2341
|
+
"example": "今天天气真好",
|
2341
2342
|
"member": "string",
|
2342
2343
|
"name": "Result",
|
2343
2344
|
"output_required": true,
|
@@ -2347,7 +2348,7 @@
|
|
2347
2348
|
{
|
2348
2349
|
"disabled": false,
|
2349
2350
|
"document": "失败原因说明。",
|
2350
|
-
"example": "
|
2351
|
+
"example": "Failed to download audio file!",
|
2351
2352
|
"member": "string",
|
2352
2353
|
"name": "ErrorMsg",
|
2353
2354
|
"output_required": true,
|
@@ -2970,7 +2971,7 @@
|
|
2970
2971
|
{
|
2971
2972
|
"disabled": false,
|
2972
2973
|
"document": "音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M",
|
2973
|
-
"example": "
|
2974
|
+
"example": "UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E",
|
2974
2975
|
"member": "string",
|
2975
2976
|
"name": "Data",
|
2976
2977
|
"required": true,
|
@@ -2988,7 +2989,7 @@
|
|
2988
2989
|
{
|
2989
2990
|
"disabled": false,
|
2990
2991
|
"document": "分组id, 仅支持大小写字母和下划线的组合,不超过128个字符",
|
2991
|
-
"example": "
|
2992
|
+
"example": "group_A",
|
2992
2993
|
"member": "string",
|
2993
2994
|
"name": "GroupId",
|
2994
2995
|
"required": false,
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"CloseAsyncRecognitionTask": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CloseAsyncRecognitionTask\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential
|
6
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CloseAsyncRecognitionTask\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=0615f73a69c6b054affd69e4b1cbb68fbe84ae8024a9347df4aa5054933adac8\n<公共请求参数>\n\n{\n \"TaskId\": 1013279283\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"fabc2d63-a1b7-40a0-b4c3-640f78974919\"\n }\n}",
|
8
8
|
"title": "语音流异步识别任务关闭"
|
9
9
|
}
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateAsyncRecognitionTask": [
|
28
28
|
{
|
29
29
|
"document": "创建一个异步识别任务,通过接口返回拿到任务ID",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateAsyncRecognitionTask\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential
|
30
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateAsyncRecognitionTask\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=0615f73a69c6b054affd69e4b1cbb68fbe84ae8024a9347df4aa5054933adac8\n<公共请求参数>\n\n{\n \"EngineType\": \"16k_zh\",\n \"Url\": \"rtmp://test.com/test_stream\",\n \"CallbackUrl\": \"http://test.com/callback\",\n \"SignToken\": \"\"\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"fabc2d63-a1b7-40a0-b4c3-640f78974919\",\n \"Data\": {\n \"TaskId\": 1000000007\n }\n }\n}",
|
32
32
|
"title": "语音流异步识别任务创建"
|
33
33
|
}
|
@@ -43,13 +43,13 @@
|
|
43
43
|
"CreateRecTask": [
|
44
44
|
{
|
45
45
|
"document": "用户通过音频Url的方式(SourceType为0)请求录音识别服务,请求模型为16k中文 (EngineModelType = 16k_zh),音频格式为wav(采样率为16k,单声道)",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateRecTask\nX-TC-Timestamp: 1599142560\nAuthorization: TC3-HMAC-SHA256 Credential
|
46
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateRecTask\nX-TC-Timestamp: 1599142560\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=524ed61a4a71de417f4fa41249dcb428a0c51013890f24f3492068ca7cd16953\n<公共请求参数>\n\n{\n \"Url\": \"http://test.cos.ap-guangzhou.myqcloud.com/test.wav\",\n \"ChannelNum\": 1,\n \"EngineModelType\": \"16k_zh\",\n \"ResTextFormat\": 0,\n \"SourceType\": 0\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Data\": {\n \"TaskId\": 1393265\n }\n }\n}",
|
48
48
|
"title": "通过音频Url来调用接口"
|
49
49
|
},
|
50
50
|
{
|
51
51
|
"document": "用户通过上传音频数据(Data)的方式(SourceType为1)请求录音识别服务,请求模型为16k中文 (EngineModelType = 16k_zh),音频格式为wav(采样率为16k,单声道)",
|
52
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateRecTask\nX-TC-Timestamp: 1599142560\nAuthorization: TC3-HMAC-SHA256 Credential
|
52
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateRecTask\nX-TC-Timestamp: 1599142560\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=524ed61a4a71de417f4fa41249dcb428a0c51013890f24f3492068ca7cd16953\n<公共请求参数>\n\n{\n \"ChannelNum\": 1,\n \"EngineModelType\": \"16k_zh\",\n \"ResTextFormat\": 0,\n \"Data\": \"eGNmYXNkZmFzZmFzZGZhc2RmCg==\",\n \"SourceType\": 1\n}",
|
53
53
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Data\": {\n \"TaskId\": 1396665\n }\n }\n}",
|
54
54
|
"title": "通过音频数据来调用接口"
|
55
55
|
}
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"DescribeAsyncRecognitionTasks": [
|
82
82
|
{
|
83
83
|
"document": "",
|
84
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeAsyncRecognitionTasks\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential
|
84
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeAsyncRecognitionTasks\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=0615f73a69c6b054affd69e4b1cbb68fbe84ae8024a9347df4aa5054933adac8\n<公共请求参数>\n\n{}",
|
85
85
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8824366f-0e8f-4bd4-8924-af5e84127caa\",\n \"Data\": {\n \"Tasks\": [\n {\n \"TaskId\": 9266418,\n \"Url\": \"\"\n }\n ]\n }\n }\n}",
|
86
86
|
"title": "查询运行中的任务列表"
|
87
87
|
}
|
@@ -89,25 +89,25 @@
|
|
89
89
|
"DescribeTaskStatus": [
|
90
90
|
{
|
91
91
|
"document": "用户通过轮询方式获取识别结果,任务失败,具体原因请用户查看返回中ErrorMsg提示。",
|
92
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential
|
92
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=6647fa852c9329ac5aa355c68c838358139c2d941f4ed175dd5858978f5d79c8\nContent-Length: 21\n<公共请求参数>\n\n{\n \"TaskId\": 522931820\n}",
|
93
93
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8824366f-0e8f-4bd4-8924-af5e84127caa\",\n \"Data\": {\n \"TaskId\": 522931820,\n \"Status\": 3,\n \"StatusStr\": \"failed\",\n \"AudioDuration\": 0,\n \"Result\": \"\",\n \"ErrorMsg\": \"Failed to download audio file!\",\n \"ResultDetail\": []\n }\n }\n}",
|
94
94
|
"title": "轮询结果——任务失败"
|
95
95
|
},
|
96
96
|
{
|
97
97
|
"document": "用户通过轮询方式获取识别结果,任务成功,并返回识别结果。",
|
98
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential
|
98
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=6647fa852c9329ac5aa355c68c838358139c2d941f4ed175dd5858978f5d79c8\nContent-Length: 21\n<公共请求参数>\n\n{\n \"TaskId\": 522931820\n}",
|
99
99
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a73b14a6-5044-41cb-bf32-e735d5bd69de\",\n \"Data\": {\n \"TaskId\": 9266418,\n \"Status\": 2,\n \"StatusStr\": \"success\",\n \"AudioDuration\": 2.38,\n \"Result\": \"[0:0.020,0:2.380] 腾讯云语音识别欢迎您。\\n\",\n \"ResultDetail\": [\n {\n \"FinalSentence\": \"腾讯云语音识别欢迎您。\",\n \"SliceSentence\": \"腾讯云 语音识别 欢迎 您\",\n \"StartMs\": 20,\n \"EndMs\": 2380,\n \"SpeechSpeed\": 5.9,\n \"WordsNum\": 4,\n \"EmotionalEnergy\": 0,\n \"SpeakerId\": 0,\n \"SilenceTime\": 0,\n \"EmotionType\": [\n \"happy\"\n ],\n \"Words\": [\n {\n \"OffsetStartMs\": 120,\n \"OffsetEndMs\": 780,\n \"Word\": \"腾讯云\"\n },\n {\n \"OffsetStartMs\": 780,\n \"OffsetEndMs\": 1530,\n \"Word\": \"语音识别\"\n },\n {\n \"OffsetStartMs\": 1530,\n \"OffsetEndMs\": 1860,\n \"Word\": \"欢迎\"\n },\n {\n \"OffsetStartMs\": 1860,\n \"OffsetEndMs\": 2250,\n \"Word\": \"您\"\n }\n ]\n }\n ],\n \"ErrorMsg\": \"\"\n }\n }\n}",
|
100
100
|
"title": "轮询结果——任务成功"
|
101
101
|
},
|
102
102
|
{
|
103
103
|
"document": "用户通过轮询方式获取识别结果,任务等待,说明任务还在识别队列中,请用户耐心等候。",
|
104
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential
|
104
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=6647fa852c9329ac5aa355c68c838358139c2d941f4ed175dd5858978f5d79c8\nContent-Length: 21\n<公共请求参数>\n\n{\n \"TaskId\": 522931820\n}",
|
105
105
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8824366f-0e8f-4bd4-8924-af5e84127caa\",\n \"Data\": {\n \"TaskId\": 522931820,\n \"Status\": 0,\n \"StatusStr\": \"waiting\",\n \"AudioDuration\": 0,\n \"Result\": \"\",\n \"ErrorMsg\": \"\",\n \"ResultDetail\": []\n }\n }\n}",
|
106
106
|
"title": "轮询结果——任务等待"
|
107
107
|
},
|
108
108
|
{
|
109
109
|
"document": "用户通过轮询方式获取识别结果,任务执行中,说明任务已经开始识别,请用户耐心等候。",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential
|
110
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=6647fa852c9329ac5aa355c68c838358139c2d941f4ed175dd5858978f5d79c8\nContent-Length: 21\n<公共请求参数>\n\n{\n \"TaskId\": 522931820\n}",
|
111
111
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8824366f-0e8f-4bd4-8924-af5e84127caa\",\n \"Data\": {\n \"TaskId\": 522931820,\n \"Status\": 1,\n \"StatusStr\": \"doing\",\n \"AudioDuration\": 0,\n \"Result\": \"\",\n \"ErrorMsg\": \"\",\n \"ResultDetail\": []\n }\n }\n}",
|
112
112
|
"title": "轮询结果——任务执行中"
|
113
113
|
}
|
@@ -195,13 +195,13 @@
|
|
195
195
|
"SentenceRecognition": [
|
196
196
|
{
|
197
197
|
"document": "用户通过语音Url的方式(SourceType为0)请求一句话识别服务,请求模型为电话 8k中文 (EngSerViceType = 8k_zh),音频格式为wav",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: SentenceRecognition\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential
|
198
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: SentenceRecognition\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=0615f73a69c6b054affd69e4b1cbb68fbe84ae8024a9347df4aa5054933adac8\n<公共请求参数>\n\n{\n \"UsrAudioKey\": \"test\",\n \"SubServiceType\": 2,\n \"Url\": \"http://tes.cos.ap-guangzhou.myqcloud.com/test.wav\",\n \"ProjectId\": 0,\n \"EngSerViceType\": \"8k_zh\",\n \"VoiceFormat\": \"wav\",\n \"SourceType\": 0\n}",
|
199
199
|
"output": "{\n \"Response\": {\n \"RequestId\": \"41ed9283-0c09-46fb-917b-0b83fa95f0be\",\n \"Result\": \"腾讯云语音识别欢迎您。\",\n \"AudioDuration\": 2430,\n \"WordSize\": 4,\n \"WordList\": [\n {\n \"Word\": \"腾讯云\",\n \"StartTime\": 120,\n \"EndTime\": 810\n },\n {\n \"Word\": \"语音识别\",\n \"StartTime\": 810,\n \"EndTime\": 1530\n },\n {\n \"Word\": \"欢迎\",\n \"StartTime\": 1530,\n \"EndTime\": 1890\n },\n {\n \"Word\": \"您\",\n \"StartTime\": 1890,\n \"EndTime\": 2250\n }\n ]\n }\n}",
|
200
200
|
"title": "通过语音Url来调用接口"
|
201
201
|
},
|
202
202
|
{
|
203
203
|
"document": "用户通过上传语音数据(Data)的方式(SourceType为1)请求一句话识别服务,请求模型为电话 8k中文 (EngSerViceType = 8k_zh),音频格式为wav",
|
204
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: SentenceRecognition\nX-TC-Timestamp: 1599140479\nAuthorization: TC3-HMAC-SHA256 Credential
|
204
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: SentenceRecognition\nX-TC-Timestamp: 1599140479\nAuthorization: TC3-HMAC-SHA256 Credential=************************************************************/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=aa5e2b8b16ced1ac9f877c9a92dab641dcd940837f5869a9e933688c181094de\n<公共请求参数>\n\n{\n \"UsrAudioKey\": \"test\",\n \"SubServiceType\": 2,\n \"ProjectId\": 0,\n \"EngSerViceType\": \"8k_zh\",\n \"VoiceFormat\": \"wav\",\n \"Data\": \"eGNmYXNkZmFzZmFzZGZhc2RmCg==\",\n \"SourceType\": 1\n}",
|
205
205
|
"output": "{\n \"Response\": {\n \"RequestId\": \"41ed9283-0c09-46fb-917b-0b83fa95f0be\",\n \"Result\": \"腾讯云语音识别欢迎您。\",\n \"AudioDuration\": 2430,\n \"WordSize\": 4,\n \"WordList\": [\n {\n \"Word\": \"腾讯云\",\n \"StartTime\": 120,\n \"EndTime\": 810\n },\n {\n \"Word\": \"语音识别\",\n \"StartTime\": 810,\n \"EndTime\": 1530\n },\n {\n \"Word\": \"欢迎\",\n \"StartTime\": 1530,\n \"EndTime\": 1890\n },\n {\n \"Word\": \"您\",\n \"StartTime\": 1890,\n \"EndTime\": 2250\n }\n ]\n }\n}",
|
206
206
|
"title": "通过语音数据来调用接口"
|
207
207
|
}
|
@@ -257,8 +257,8 @@
|
|
257
257
|
"VoicePrintEnroll": [
|
258
258
|
{
|
259
259
|
"document": "通过一段音频数据进行说话人注册",
|
260
|
-
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VoicePrintEnroll\n<公共请求参数>\n\n{\n \"VoiceFormat\": 0,\n \"SampleRate\": 16000,\n \"SpeakerNick\": \"
|
261
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"VoicePrintId\": \"
|
260
|
+
"input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VoicePrintEnroll\n<公共请求参数>\n\n{\n \"VoiceFormat\": 0,\n \"SampleRate\": 16000,\n \"SpeakerNick\": \"ross\",\n \"Data\": \"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E\"\n}",
|
261
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"VoicePrintId\": \"db24a3e3-7926-5xxxxxxf01\",\n \"SpeakerNick\": \"ross\"\n },\n \"RequestId\": \"dbxxxxxxe3-7926-5xxxxxxf01\"\n }\n}",
|
262
262
|
"title": "注册说话人"
|
263
263
|
}
|
264
264
|
],
|