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
@@ -3,100 +3,130 @@
|
|
3
3
|
"BankCard2EVerification": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard2EVerification\n&Name
|
6
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard2EVerification\n&Name=韦小宝\n&BankCard= 6225768888888888\n&<公共请求参数>",
|
7
7
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"RequestId\": \"c6daaf7f-dbdc-4a9d-a20b-9a14ffdd8328\"\n }\n}",
|
8
|
-
"title": "
|
8
|
+
"title": "银行卡二要素核验一致示例"
|
9
9
|
},
|
10
10
|
{
|
11
11
|
"document": "",
|
12
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard2EVerification\n&Name
|
12
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard2EVerification\n&Name=韦小宝\n&BankCard= 6226090210146748\n&<公共请求参数>",
|
13
13
|
"output": "{\n \"Response\": {\n \"Result\": \"-4\",\n \"Description\": \"持卡人信息有误\",\n \"RequestId\": \"d668328c-7847-42d7-bdce-215ebadffd9b\"\n }\n}",
|
14
|
-
"title": "
|
14
|
+
"title": "银行卡二要素核验不一致示例"
|
15
15
|
}
|
16
16
|
],
|
17
17
|
"BankCard4EVerification": [
|
18
18
|
{
|
19
19
|
"document": "",
|
20
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard4EVerification\n&Name
|
20
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard4EVerification\n&Name=韦小宝\n&BankCard=6225768888888888\n&Phone=16137688175\n&IdCard=11204416541220243X\n&<公共请求参数>",
|
21
21
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"RequestId\": \"74e742e8-f91d-49c3-9744-c20f3baca117\"\n }\n}",
|
22
|
-
"title": "
|
22
|
+
"title": "银行卡四要素核验一致示例"
|
23
23
|
},
|
24
24
|
{
|
25
25
|
"document": "",
|
26
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard4EVerification\n&Name
|
26
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=BankCard4EVerification\n&Name=韦小宝\n&BankCard=6226090210146748\n&Phone=16137688175\n&IdCard= 11204416541220243X\n&<公共请求参数>",
|
27
27
|
"output": "{\n \"Response\": {\n \"Result\": \"-6\",\n \"Description\": \"持卡人信息有误\",\n \"RequestId\": \"24fe7851-49e9-4a4a-ac1e-3bd5c09323fd\"\n }\n}",
|
28
|
-
"title": "
|
28
|
+
"title": "银行卡四要素核验不一致示例"
|
29
29
|
}
|
30
30
|
],
|
31
31
|
"BankCardVerification": [
|
32
32
|
{
|
33
|
-
"document": "
|
34
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=BankCardVerification\n&IdCard=
|
35
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
36
|
-
"title": "
|
33
|
+
"document": "",
|
34
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=BankCardVerification\n&IdCard=11204416541220243X\n&Name=韦小宝\n&BankCard= 6226090210146748\n&<公共请求参数>",
|
35
|
+
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"RequestId\": \"a5fdb909-5ee6-43ff-a152-bb1b9744ee8b\"\n }\n}",
|
36
|
+
"title": "银行卡三要素核验一致示例"
|
37
37
|
},
|
38
38
|
{
|
39
|
-
"document": "
|
40
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=BankCardVerification\n&IdCard=
|
41
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
42
|
-
"title": "
|
39
|
+
"document": "",
|
40
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=BankCardVerification\n&IdCard= 11204416541220243X\n&Name=韦小宝\n&BankCard= 6225768888888888\n&<公共请求参数>",
|
41
|
+
"output": "{\n \"Response\": {\n \"Result\": \"-1\",\n \"Description\": \"认证未通过\",\n \"RequestId\": \"89f695b2-18fd-44b6-bffc-96972052666f\"\n }\n}",
|
42
|
+
"title": "银行卡三要素核验不一致示例"
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"CheckBankCardInformation": [
|
46
46
|
{
|
47
|
-
"document": "
|
48
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckBankCardInformation\n<公共请求参数>\n\n{\n \"BankCard\": \"
|
49
|
-
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"查询成功\",\n \"AccountBank\": \"
|
50
|
-
"title": "
|
47
|
+
"document": "",
|
48
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckBankCardInformation\n<公共请求参数>\n\n{\n \"BankCard\": \"6225768888888888\"\n}",
|
49
|
+
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"查询成功\",\n \"AccountBank\": \"招商银行信用卡\",\n \"AccountType\": 2,\n \"RequestId\": \"8695c53f-776f-4ff5-a66d-84e67b352d20\"\n }\n}",
|
50
|
+
"title": "银行卡基础信息查询成功示例"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"document": "",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckBankCardInformation\n<公共请求参数>\n\n{\n \"BankCard\": \"6225768888888888\"\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"AccountBank\": \"\",\n \"AccountType\": -1,\n \"Description\": \"未查到信息\",\n \"RequestId\": \"bd41a241-0e50-4337-999e-0687d56a34c8\",\n \"Result\": \"-1\"\n }\n}",
|
56
|
+
"title": "银行卡基础信息查询失败示例"
|
51
57
|
}
|
52
58
|
],
|
53
59
|
"CheckEidTokenStatus": [
|
54
60
|
{
|
55
61
|
"document": "",
|
56
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckEidTokenStatus\n<公共请求参数>\n\n{\n \"EidToken\": \"
|
57
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
58
|
-
"title": "
|
62
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckEidTokenStatus\n<公共请求参数>\n\n{\n \"EidToken\": \"2B3B265E-2C91-5A62-B32D-D0CA5C3F1A15\"\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dd4e965c-5a6f-43ee-7764-8272e16b85a3\",\n \"Status\": \"doing\"\n }\n}",
|
64
|
+
"title": "获取E证通Token状态成功示例"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"document": "",
|
68
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckEidTokenStatus\n<公共请求参数>\n\n{\n \"EidToken\": \"3B3B265E-3C91-5A62-B32D-D0CA5C3F1A15\"\n}",
|
69
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.BizTokenIllegal\",\n \"Message\": \"BizToken不合法。\"\n },\n \"RequestId\": \"9ad38b82-7b5c-4bb1-b6c0-44ce86bc148e\"\n }\n}",
|
70
|
+
"title": "获取E政通Token状态失败示例"
|
59
71
|
}
|
60
72
|
],
|
61
73
|
"CheckIdCardInformation": [
|
62
74
|
{
|
63
75
|
"document": "",
|
64
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=CheckIdCardInformation\n&ImageBase64
|
65
|
-
"output": "{\n \"Response\": {\n \"Address\": \"
|
66
|
-
"title": "
|
76
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=CheckIdCardInformation\n&ImageBase64=/9j/4AAQSkZJRg.....s97n//2Q==\n&Config={\"CopyWarn\":true}\n&<公共请求参数>",
|
77
|
+
"output": "{\n \"Response\": {\n \"Address\": \"北京市东城区景山前街4号紫禁城敬事房\",\n \"Birth\": \"1654/12/20\",\n \"Description\": \"成功\",\n \"Encryption\": null,\n \"IdNum\": \"11204416541220243X\",\n \"Name\": \"韦小宝\",\n \"Nation\": \"汉\",\n \"Portrait\": \"/9j/4AAQSk...m3Zt62P//Z\",\n \"Quality\": 98,\n \"RequestId\": \"8dc2b640-caad-4a13-ad8c-204d46d29fe1\",\n \"Result\": \"Success\",\n \"Sex\": \"男\",\n \"Sim\": 99.76,\n \"Warnings\": \"\"\n }\n}",
|
78
|
+
"title": "身份证人像照片验真成功示例"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"document": "",
|
82
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=CheckIdCardInformation\n&ImageBase64=/9j/4AAQSkZJRg.....s97n//2Q==\n&Config={\"CopyWarn\":true}\n&<公共请求参数>",
|
83
|
+
"output": "{\n \"Response\": {\n \"Address\": \"北京市东城区景山前街4号紫禁城敬事房\",\n \"Birth\": \"1654/12/20\",\n \"Description\": \"出现OCR告警\",\n \"IdNum\": \"11204416541220243X\",\n \"Name\": \"韦小宝\",\n \"Nation\": \"满\",\n \"Portrait\": \"/9j/4AAQSk...Se/wDkf//Z\",\n \"Quality\": 99,\n \"Encryption\": null,\n \"RequestId\": \"6e6cfaad-3271-4eb1-a203-2866100eb283\",\n \"Result\": \"FailedOperation.OcrWarningOccurred\",\n \"Sex\": \"男\",\n \"Sim\": 0,\n \"Warnings\": \"-9101\"\n }\n}",
|
84
|
+
"title": "身份证人像照片验真失败示例"
|
67
85
|
}
|
68
86
|
],
|
69
87
|
"CheckIdNameDate": [
|
70
88
|
{
|
71
89
|
"document": "",
|
72
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=CheckIdNameDate\n&Name
|
90
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=CheckIdNameDate\n&Name=韦小宝\n&IdCard= 11204416541220243X\n&ValidityBegin=20160204\n&ValidityEnd=20260204\n&<公共请求参数>",
|
73
91
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"查询成功\",\n \"RequestId\": \"8695c53f-776f-4ff5-a66d-84e67b352d20\"\n }\n}",
|
74
|
-
"title": "
|
92
|
+
"title": "身份信息及有效期核验成功示例"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"document": "",
|
96
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=CheckIdNameDate\n&Name=韦小宝\n&IdCard= 11204416541220243X\n&ValidityBegin=20160204\n&ValidityEnd=20260204\n&<公共请求参数>",
|
97
|
+
"output": "{\n \"Response\": {\n \"Description\": \"不一致\",\n \"RequestId\": \"af4075de-427f-48a5-85cb-2be5b3751b76\",\n \"Result\": \"-1\"\n }\n}",
|
98
|
+
"title": "身份信息及有效期核验不一致示例"
|
75
99
|
}
|
76
100
|
],
|
77
101
|
"CheckPhoneAndName": [
|
78
102
|
{
|
79
103
|
"document": "",
|
80
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckPhoneAndName\n<公共请求参数>\n\n{\n \"Mobile\": \"
|
104
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckPhoneAndName\n<公共请求参数>\n\n{\n \"Mobile\": \"16137688175\",\n \"Name\": \"韦小宝\"\n}",
|
81
105
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"验证结果一致\",\n \"RequestId\": \"368a9e91-71dc-49c7-b622-c4a300ed7370\"\n }\n}",
|
82
|
-
"title": "
|
106
|
+
"title": "手机号二要素核验一致示例"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"document": "",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckPhoneAndName\n<公共请求参数>\n\n{\n \"Mobile\": \"16137688175\",\n \"Name\": \"韦小宝\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"Description\": \"验证结果不一致\",\n \"RequestId\": \"eb0e4b76-4617-46f5-8582-7cc58fd20115\",\n \"Result\": \"1\"\n }\n}",
|
112
|
+
"title": "手机号二要素核验不一致示例"
|
83
113
|
}
|
84
114
|
],
|
85
115
|
"DetectAIFakeFaces": [
|
86
116
|
{
|
87
|
-
"document": "
|
117
|
+
"document": "",
|
88
118
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAIFakeFaces\n<公共请求参数>\n\n{\n \"FaceInputType\": 1,\n \"FaceInput\": \"VBORw0KGgoAAAANSUhEUgAAAkYAAAI9CAYAAADfOLduAAABQ2lDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSCwoyGFhYGDIzSspCnJ3UoiIjFJgf87AziDBwMcgwqCQmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsgsz5I1BWZcn/xff7Y4dPvimWmY6lEAV0pqcTKQ/gPEyckFRSUMDIwJQLZyeUkBiN0CZIsUAR0FZM8AsdMh7DUgdhKEfQCsJiTIGci+AmQLJGckpgDZT4BsnSQk8XQkNtReEOD0CFBwNTI3LiTgVpJBSWpFCYh2zi+oLMpMzyhRcASGUKqCZ16yno6CkYGRMQMDKLwhqj/fAIcjoxgHQqzwKgODhTyQ8RQhlniBgWH3OgYG4Z8IMWUDBgYeoGn7/AsSixLhDmD8xlKcZmwEYXNvZ2Bgnfb//+dwBgZ2TQaGv9f///+9/f//v8sYGJhvMTAc+AYADqxgzYM88zoAAAA4ZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAKgAgAEAAAAAQAAAkagAwAEAAAAAQAAAj0AAAAAi/M5dAAAQABJREFUeAHsvWd35EiSbYsIRlCkViW6pmq6Wry71vz/fzEf3n2fpufd\"\n}",
|
89
119
|
"output": "{\n \"Response\": {\n \"AttackRiskDetailList\": [\n {\n \"Type\": \"SuspectedWatermark\"\n }\n ],\n \"AttackRiskLevel\": \"High\",\n \"RequestId\": \"2dd93e6f-5121-4bac-8c64-d6ad646663d2\"\n }\n}",
|
90
120
|
"title": " 不加密请求示例"
|
91
121
|
},
|
92
122
|
{
|
93
|
-
"document": "
|
123
|
+
"document": "",
|
94
124
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAIFakeFaces\n<公共请求参数>\n\n{\n \"FaceInputType\": 2,\n \"FaceInput\": \"AAAAHGZ0eXBtcDQyAAAAAWlzb21tcDQxbXA0MgAADXNtb292AAAAbG12aGQAAAAA2qNvttqjb7cAAB9AAACYFgABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAJ/XRyYWsAAABcdGtoZAAAAAHao2+22qNvtwAAAAEAAAAAAACYFgAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAADwAAAAtAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAmBYAAAAUAAEAAAAACXVtZGlhAAAAIG1kaGQAAAAA2qNvttqjb7cAAAJYAAALaFXEAAAAAAAxaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAENvcmUgTWVkaWEgVmlkZW8AAAAJHG1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQ\"\n}",
|
95
125
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ImageDecodeFailed\",\n \"Message\": \"图片解码失败。\"\n },\n \"RequestId\": \"0e77ad29-ad65-4901-9efc-b49a6e0a357b\"\n }\n}",
|
96
126
|
"title": "异常示例"
|
97
127
|
},
|
98
128
|
{
|
99
|
-
"document": "
|
129
|
+
"document": "",
|
100
130
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAIGCContent\n<公共请求参数>\n\n{\n \"Encryption\": {\n \"Algorithm\": \"AES-256-CBC\",\n \"EncryptList\": [\n \"EncryptionBody\"\n ],\n \"CiphertextBlob\": \"qwRTgn+52FAvnfrGL1oPBsXG4FLBd42YRw\",\n \"Iv\": \"vqfsaEOpGJESA==\"\n },\n \"EncryptedBody\": \"v32onREKL6bk6WHOGFEjE2M6kvqybGCVTjlm\"\n}",
|
101
131
|
"output": "{\n \"Response\": {\n \"AttackRiskDetailList\": [\n {\n \"Type\": \"SuspectedWatermark\"\n }\n ],\n \"AttackRiskLevel\": \"High\",\n \"RequestId\": \"2dd93e6f-5121-4bac-8c64-d6ad646663d2\"\n }\n}",
|
102
132
|
"title": "全包体加密请求示例"
|
@@ -105,9 +135,15 @@
|
|
105
135
|
"DetectAuth": [
|
106
136
|
{
|
107
137
|
"document": "",
|
108
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAuth\n<公共请求参数>\n\n{\n \"RuleId\": \"0\"\n}",
|
138
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAuth\n<公共请求参数>\n\n{\n \"RuleId\": \"0\",\n \"IdCard\": \"11204416541220243X\",\n \"Name\": \"韦小宝\"\n}",
|
109
139
|
"output": "{\n \"Response\": {\n \"BizToken\": \"CE661F1A-0F1E-45BD-BE13-34C05CEA7681\",\n \"Url\": \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2cca36a86d5035ae&redirect_uri=http%3A%2F%2Fopen.faceid.qq.com%2Fv1%2Fapi%2FgetCode%3FbizRedirect%3Dhttp%253A%252F%252Ffaceid.qq.com%252Fapi%252Fauth%252FgetOpenidAndSaveToken%253Ftoken%253DCE661F1A-0F1E-45BD-BE13-34C05CEA7681&response_type=code&scope=snsapi_base&state=&component_appid=wx9802ee81e68d6dee#wechat_redirect\",\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
110
|
-
"title": "
|
140
|
+
"title": "微信小程序获取BizToken成功示例"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"document": "",
|
144
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectAuth\n<公共请求参数>\n\n{\n \"RuleId\": \"0\",\n \"IdCard\": \"11204416541220243X\",\n \"Name\": \"韦小宝\",\n \"Extra\": \"Orderid=f904f4cf75db4f8fdc4f942c7f7a\",\n \"RedirectUrl\": \"http://www.qq.com\"\n}",
|
145
|
+
"output": "{\n \"Response\": {\n \"BizToken\": \"CE661F1A-0F1E-45BD-BE13-34C05CEA7681\",\n \"Url\": \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2cca36a86d5035ae&redirect_uri=http%3A%2F%2Fopen.faceid.qq.com%2Fv1%2Fapi%2FgetCode%3FbizRedirect%3Dhttp%253A%252F%252Ffaceid.qq.com%252Fapi%252Fauth%252FgetOpenidAndSaveToken%253Ftoken%253DCE661F1A-0F1E-45BD-BE13-34C05CEA7681&response_type=code&scope=snsapi_base&state=&component_appid=wx9802ee81e68d6dee#wechat_redirect\",\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
146
|
+
"title": "H5获取BizToken成功示例"
|
111
147
|
}
|
112
148
|
],
|
113
149
|
"EncryptedPhoneVerification": [
|
@@ -123,7 +159,13 @@
|
|
123
159
|
"document": "",
|
124
160
|
"input": "https://faceid.tencentcloudapi.com/?Action=GetActionSequence\r\n&<公共请求参数>",
|
125
161
|
"output": "{\n \"Response\": {\n \"ActionSequence\": \"1,2\",\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
126
|
-
"title": "
|
162
|
+
"title": "获取动作顺序成功示例"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"document": "",
|
166
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=GetActionSequence\n&<公共请求参数>",
|
167
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"UnauthorizedOperation.Nonactivated\",\n \"Message\": \"未开通服务。\"\n },\n \"RequestId\": \"4a75418f-96f7-4045-955f-32a7dd1b08bf\"\n }\n}",
|
168
|
+
"title": "获取动作顺序失败示例"
|
127
169
|
}
|
128
170
|
],
|
129
171
|
"GetDetectInfo": [
|
@@ -144,55 +186,71 @@
|
|
144
186
|
{
|
145
187
|
"document": "",
|
146
188
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDetectInfoEnhanced\n<公共请求参数>\n\n{\n \"InfoType\": \"1\",\n \"BizToken\": \"CE661F1A-0F1E-45BD-BE13-34C05CEA7681\",\n \"RuleId\": \"0\"\n}",
|
147
|
-
"output": "{\n \"Response\": {\n \"
|
148
|
-
"title": "
|
189
|
+
"output": "{\n \"Response\": {\n \"BestFrame\": {\n \"BestFrame\": \"/9j/4AAQSk...JKD2A//9k=\",\n \"BestFrames\": [\n \"/9j/4AAQSk...002dgP/9k=\",\n \"/9j/4AAQSk...vx+YH/2Q==\",\n \"/9j/4AAQSk...n6fj5Af//Z\",\n \"/9j/4AAQSk...dzlFFagf/Z\"\n ]\n },\n \"EncryptedBody\": \"\",\n \"Encryption\": {\n \"Algorithm\": \"\",\n \"CiphertextBlob\": \"\",\n \"EncryptList\": [],\n \"Iv\": \"\",\n \"TagList\": []\n },\n \"IdCardData\": {\n \"Avatar\": null,\n \"BackWarnInfos\": null,\n \"OcrBack\": null,\n \"OcrFront\": null,\n \"ProcessedBackImage\": null,\n \"ProcessedFrontImage\": null,\n \"WarnInfos\": null\n },\n \"IntentionActionResult\": null,\n \"IntentionQuestionResult\": {\n \"AsrResult\": [],\n \"Audios\": [],\n \"FinalResultCode\": null,\n \"FinalResultDetailCode\": null,\n \"FinalResultMessage\": null,\n \"ResultCode\": [],\n \"ScreenShot\": [],\n \"Video\": null\n },\n \"IntentionVerifyData\": {\n \"AsrResult\": null,\n \"AsrResultSimilarity\": null,\n \"ErrorCode\": null,\n \"ErrorMessage\": null,\n \"IntentionVerifyBestFrame\": null,\n \"IntentionVerifyVideo\": null\n },\n \"RequestId\": \"91173d84-e461-4da4-a270-2b8d48a2e136\",\n \"Text\": {\n \"CompareLibType\": \"权威库\",\n \"Comparemsg\": \"成功\",\n \"Comparestatus\": 0,\n \"ErrCode\": 0,\n \"ErrMsg\": \"成功\",\n \"Extra\": \"\",\n \"IdCard\": \"11204416541220243X\",\n \"IdInfoFrom\": \"其他\",\n \"LiveMsg\": \"成功\",\n \"LiveStatus\": 0,\n \"LivenessDetail\": [\n {\n \"CompareLibType\": \"权威库\",\n \"Comparemsg\": \"成功\",\n \"Comparestatus\": 0,\n \"Errcode\": 0,\n \"Errmsg\": \"成功\",\n \"Idcard\": \"11204416541220243X\",\n \"IsNeedCharge\": true,\n \"Livemsg\": \"成功\",\n \"LivenessMode\": 1,\n \"Livestatus\": 0,\n \"Name\": \"韦小宝\",\n \"ReqTime\": \"1730444265275\",\n \"Seq\": \"1f330eea-f5db-4726-a7b4-38cdf1aefb02\",\n \"Sim\": \"95.51\"\n }\n ],\n \"LivenessInfoTag\": null,\n \"LivenessMode\": 1,\n \"Location\": null,\n \"Mobile\": \"\",\n \"NFCBillingCounts\": 0,\n \"NFCRequestIds\": [],\n \"Name\": \"韦小宝\",\n \"OcrAddress\": null,\n \"OcrAuthority\": null,\n \"OcrBirth\": null,\n \"OcrGender\": null,\n \"OcrIdCard\": \"\",\n \"OcrName\": \"\",\n \"OcrNation\": null,\n \"OcrValidDate\": null,\n \"PassNo\": null,\n \"Sim\": \"95.51\",\n \"UseIDType\": 0,\n \"VisaNum\": null\n },\n \"VideoData\": {\n \"LivenessVideo\": \"AAAAGGZ0eX...VyYWxidW0h\"\n }\n }\n}",
|
190
|
+
"title": "获取结果信息成功示例"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"document": "",
|
194
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDetectInfoEnhanced\n<公共请求参数>\n\n{\n \"InfoType\": \"2\",\n \"BizToken\": \"4237FAC9-1AE4-4954-B495-FB07D91141CA\",\n \"RuleId\": \"0\"\n}",
|
195
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"非法BizToken。\"\n },\n \"RequestId\": \"0832c071-0c3e-4a1f-b7d3-4910221a1e18\"\n }\n}",
|
196
|
+
"title": "获取结果信息失败示例"
|
149
197
|
}
|
150
198
|
],
|
151
199
|
"GetEidResult": [
|
152
200
|
{
|
153
|
-
"document": "",
|
154
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEidResult\n<公共请求参数>\n\n{\n \"InfoType\": \"1\",\n \"EidToken\": \"CE661F1A-0F1E-45BD-
|
155
|
-
"output": "{\n \"Response\": {\n \"
|
156
|
-
"title": "
|
201
|
+
"document": "成功获取E证通结果信息。",
|
202
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEidResult\n<公共请求参数>\n\n{\n \"InfoType\": \"1\",\n \"EidToken\": \"CE661F1A-0F1E-45BD-BE133-34C05CEA76812\"\n}",
|
203
|
+
"output": "{\n \"Response\": {\n \"BestFrame\": {\n \"BestFrame\": \"/9j/4AAQSk...UVoYn/2Q==\",\n \"BestFrames\": [\n \"/9j/4AAQSk...AT/U//2Q==\"\n ]\n },\n \"EidInfo\": {\n \"DesKey\": \"\",\n \"EidCode\": \"OMKhJ5hkbPnA5PKGrzD1oKZ/e8W9w2g1yAOUIry7G/4xMDAw\",\n \"EidSign\": \"MEQCIDt0Xa...YygK4Fhw==\",\n \"UserInfo\": \"\"\n },\n \"IdCardData\": {\n \"Avatar\": \"\",\n \"BackWarnInfos\": null,\n \"OcrBack\": \"\",\n \"OcrFront\": \"\",\n \"ProcessedBackImage\": \"\",\n \"ProcessedFrontImage\": \"\",\n \"WarnInfos\": null\n },\n \"IntentionActionResult\": null,\n \"IntentionQuestionResult\": {\n \"AsrResult\": null,\n \"Audios\": null,\n \"FinalResultCode\": \"\",\n \"FinalResultDetailCode\": null,\n \"FinalResultMessage\": null,\n \"ResultCode\": null,\n \"ScreenShot\": null,\n \"Video\": \"\"\n },\n \"IntentionVerifyData\": {\n \"AsrResult\": \"\",\n \"AsrResultSimilarity\": \"\",\n \"ErrorCode\": 0,\n \"ErrorMessage\": \"\",\n \"IntentionVerifyBestFrame\": \"\",\n \"IntentionVerifyVideo\": \"\"\n },\n \"RequestId\": \"29a30ec8-0c15-4566-a5ab-99f88a3f0821\",\n \"Text\": {\n \"CompareLibType\": \"权威库\",\n \"Comparemsg\": \"成功\",\n \"Comparestatus\": 0,\n \"ErrCode\": 0,\n \"ErrMsg\": \"成功\",\n \"Extra\": \"\",\n \"IdCard\": \"\",\n \"IdInfoFrom\": \"其他\",\n \"LiveMsg\": \"成功\",\n \"LiveStatus\": 0,\n \"LivenessInfoTag\": [\n \"01\"\n ],\n \"LivenessDetail\": [\n {\n \"CompareLibType\": \"权威库\",\n \"Comparemsg\": \"成功\",\n \"Comparestatus\": 0,\n \"Errcode\": 0,\n \"Errmsg\": \"成功\",\n \"Idcard\": \"\",\n \"IsNeedCharge\": true,\n \"Livemsg\": \"成功\",\n \"LivenessMode\": 4,\n \"Livestatus\": 0,\n \"Name\": \"\",\n \"ReqTime\": \"1730451371368\",\n \"Seq\": \"092ff8ca-4d1c-4c2122-b513-ec8ced564c9a\",\n \"Sim\": \"97.31\"\n }\n ],\n \"LivenessMode\": 4,\n \"Location\": \"\",\n \"Mobile\": \"\",\n \"NFCBillingCounts\": 0,\n \"NFCRequestIds\": null,\n \"Name\": \"\",\n \"OcrAddress\": \"\",\n \"OcrAuthority\": \"\",\n \"OcrBirth\": \"\",\n \"OcrGender\": \"\",\n \"OcrIdCard\": \"\",\n \"OcrName\": \"\",\n \"OcrNation\": \"\",\n \"OcrValidDate\": \"\",\n \"PassNo\": \"\",\n \"Sim\": \"97.31\",\n \"UseIDType\": 0,\n \"VisaNum\": \"\"\n }\n }\n}",
|
204
|
+
"title": "获取E证通结果信息成功示例"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"document": "获取E证通结果信息失败,传入过期BizToken。",
|
208
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEidResult\n<公共请求参数>\n\n{\n \"InfoType\": \"1\",\n \"EidToken\": \"CE661F1A-0F1E-45B1D-BE133-34C05CEA76812\"\n}",
|
209
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.BizTokenExpired\",\n \"Message\": \"BizToken过期。\"\n },\n \"RequestId\": \"19f36e49-d419-48a7-b86a-edcb81e71909\"\n }\n}",
|
210
|
+
"title": "获取E证通结果信息失败示例"
|
157
211
|
}
|
158
212
|
],
|
159
213
|
"GetEidToken": [
|
160
214
|
{
|
161
215
|
"document": "",
|
162
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEidToken\n<公共请求参数>\n\n{\n \"MerchantId\": \"
|
163
|
-
"output": "{\n \"Response\": {\n \"EidToken\": \"CE661F1A-0F1E-45BD-BE13-34C05CEA7681\",\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\",\n \"Url\": \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=
|
164
|
-
"title": "
|
216
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEidToken\n<公共请求参数>\n\n{\n \"MerchantId\": \"0NSJ240626160443125212\"\n}",
|
217
|
+
"output": "{\n \"Response\": {\n \"EidToken\": \"CE661F1A-0F1E-45BD-BE13-34C05CEA7681\",\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\",\n \"Url\": \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa50a8ac37958245f53&redirect_uri=https%3A%2F%2Feid.faceid.qq.com%2Fapi%2Fv1%2FGetOpenId%3Ftoken%3DCE3661F1A-0F1E-45BD-BE113-34C05CEA7681&response_type=code&scope=snsapi_base&state=&component_appid=wx9802ee81e68d6dee#wechat_redirect\"\n }\n}",
|
218
|
+
"title": "获取E证通Token成功示例"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"document": "",
|
222
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEidToken\n<公共请求参数>\n\n{\n \"MerchantId\": \"0NSJ240615216044312521\"\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.UnregisteredEid\",\n \"Message\": \"该用户未注册E证通,请先注册并跟公安库核验。\"\n },\n \"RequestId\": \"dc401e69-32bf-4002-83ca-3a12f62f2e4b\"\n }\n}",
|
224
|
+
"title": "获取E证通Token失败示例"
|
165
225
|
}
|
166
226
|
],
|
167
227
|
"GetFaceIdResult": [
|
168
228
|
{
|
169
229
|
"document": "",
|
170
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=GetFaceIdResult\n&FaceIdToken=CE661F1A-0F1E-45BD-
|
171
|
-
"output": "{\n \"Response\": {\n \"
|
172
|
-
"title": "
|
230
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=GetFaceIdResult\n&FaceIdToken=CE661F1A-0F1E-45BD-BE113-34C05CEA76811\n&<公共请求参数>",
|
231
|
+
"output": "{\n \"Response\": {\n \"BestFrameBase64\": \"/9j/4AAQSk...1Udr+R/9k=\",\n \"Description\": \"成功\",\n \"DeviceInfoLevel\": null,\n \"DeviceInfoTag\": null,\n \"Extra\": \"\",\n \"IdCard\": \"\",\n \"LivenessInfoTag\": null,\n \"Name\": \"\",\n \"RequestId\": \"13c51421-3b1d-4b40-8206-8dacedec2d32\",\n \"Result\": \"0\",\n \"RiskInfoTag\": \"\",\n \"Similarity\": 0,\n \"VideoBase64\": \"\"\n }\n}",
|
232
|
+
"title": "获取SDK核验结果成功示例"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"document": "",
|
236
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=GetFaceIdResult\n&FaceIdToken=CE661F1A-0F1E-45BD-BE113-34C05CEA76831\n&<公共请求参数>",
|
237
|
+
"output": "{\n \"Response\": {\n \"BestFrameBase64\": \"/9j/4AAQSk...9Dl1t//9k=\",\n \"Description\": \"人脸检测失败,无法提取比对照\",\n \"DeviceInfoLevel\": null,\n \"DeviceInfoTag\": null,\n \"Extra\": \"\",\n \"IdCard\": \"\",\n \"LivenessInfoTag\": null,\n \"Name\": \"\",\n \"RequestId\": \"391e4084-43dd-4b03-b31c-c92a519d40bd\",\n \"Result\": \"1004\",\n \"RiskInfoTag\": \"\",\n \"Similarity\": 0,\n \"VideoBase64\": \"AAAAGGZ0eX...AAAAAAAAA=\"\n }\n}",
|
238
|
+
"title": "获取SDK核验结果人脸检测失败示例"
|
173
239
|
}
|
174
240
|
],
|
175
241
|
"GetFaceIdRiskInfo": [
|
176
242
|
{
|
177
|
-
"document": "
|
178
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFaceIdRiskInfo\n<公共请求参数>\n\n{\n \"FaceIdToken\": \"CE661F1A-0F1E-45BD-BE13-
|
179
|
-
"output": "{\n \"Response\": {\n \"CameraInfoLevel\": null,\n \"CameraInfoTag\": null,\n \"DeviceInfoLevel\": 1,\n \"DeviceInfoTag\": null,\n \"Extra\": null,\n \"OpenId\": \"
|
243
|
+
"document": "获取结果成功。",
|
244
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFaceIdRiskInfo\n<公共请求参数>\n\n{\n \"FaceIdToken\": \"CE661F1A-0F1E-45BD-BE13-34C05CEA761281\"\n}",
|
245
|
+
"output": "{\n \"Response\": {\n \"CameraInfoLevel\": null,\n \"CameraInfoTag\": null,\n \"DeviceInfoLevel\": 1,\n \"DeviceInfoTag\": null,\n \"Extra\": null,\n \"OpenId\": \"9B0104204DAB86054F6CV19E38\",\n \"RequestId\": \"dbabb231-4adc-4e88-b763-b3dfd9476923\"\n }\n}",
|
180
246
|
"title": "获取结果成功"
|
181
247
|
}
|
182
248
|
],
|
183
|
-
"GetFaceIdToken": [
|
184
|
-
{
|
185
|
-
"document": "获取 SDK 核验 token",
|
186
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFaceIdToken\n<公共请求参数>\n\n{\n \"CompareLib\": \"BUSINESS\",\n \"IdCard\": \"xxxxxxxxxxxxxxxxx\",\n \"Name\": \"xxxxxxxxxxxxxxxxx\"\n}",
|
187
|
-
"output": "{\n \"Response\": {\n \"FaceIdToken\": \"asdasdadasdasd\",\n \"RequestId\": \"94b54cdf-d975-4718-b091-32f8d79d6397\"\n }\n}",
|
188
|
-
"title": "获取token成功"
|
189
|
-
}
|
190
|
-
],
|
191
249
|
"GetFaceidRiskInfoToken": [
|
192
250
|
{
|
193
|
-
"document": "获取 SDK 核验 token",
|
251
|
+
"document": "获取 SDK 核验 token。",
|
194
252
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFaceidRiskInfoToken\n<公共请求参数>\n\n{\n \"Meta\": \"\",\n \"Extra\": \"\"\n}",
|
195
|
-
"output": "{\n \"Response\": {\n \"FaceIdToken\": \"224C8901-0D1B-4350-914A-
|
253
|
+
"output": "{\n \"Response\": {\n \"FaceIdToken\": \"224C8901-0D1B-4350-914A-CFD714E54D940\",\n \"RequestId\": \"63013220-4d82-4e2f-b508-a34286baac26\"\n }\n}",
|
196
254
|
"title": "获取 SDK 核验 token"
|
197
255
|
}
|
198
256
|
],
|
@@ -201,7 +259,13 @@
|
|
201
259
|
"document": "",
|
202
260
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLiveCode\n<公共请求参数>\n\n{}",
|
203
261
|
"output": "{\n \"Response\": {\n \"LiveCode\": \"4392\",\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
204
|
-
"title": "
|
262
|
+
"title": "获取数字验证码成功示例"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"document": "",
|
266
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLiveCode\n<公共请求参数>\n\n{}",
|
267
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"UnauthorizedOperation.Nonactivated\",\n \"Message\": \"未开通服务。\"\n },\n \"RequestId\": \"4a75418f-96f7-4045-955f-32a7dd1b08bf\"\n }\n}",
|
268
|
+
"title": "获取数字验证码失败示例"
|
205
269
|
}
|
206
270
|
],
|
207
271
|
"GetWeChatBillDetails": [
|
@@ -221,35 +285,41 @@
|
|
221
285
|
"IdCardOCRVerification": [
|
222
286
|
{
|
223
287
|
"document": "",
|
224
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://qq.com/
|
225
|
-
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"Name\": \"
|
226
|
-
"title": "使用照片URL
|
288
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://www.qq.com/image.jpg\"\n}",
|
289
|
+
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"Name\": \"韦小宝\",\n \"IdCard\": \"11204416541220243X\",\n \"Sex\": \"男\",\n \"Nation\": \"汉\",\n \"Birth\": \"1654/12/20\",\n \"Address\": \"北京市东城区景山前街4号紫禁城敬事房\",\n \"RequestId\": \"a62f567c-1eea-4ef3-b51a-a9eb9bd84cd9\"\n }\n}",
|
290
|
+
"title": "使用照片URL进行核验示例"
|
227
291
|
},
|
228
292
|
{
|
229
293
|
"document": "",
|
230
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"ImageBase64\": \"
|
231
|
-
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"Name\": \"
|
232
|
-
"title": "使用照片Base64
|
294
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\"\n}",
|
295
|
+
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"Name\": \"韦小宝\",\n \"IdCard\": \"11204416541220243X\",\n \"Sex\": \"男\",\n \"Nation\": \"汉\",\n \"Birth\": \"1654/12/20\",\n \"Address\": \"北京市东城区景山前街4号紫禁城敬事房\",\n \"RequestId\": \"022ffdd2-67a2-4177-8946-97bc1c4b3347\"\n }\n}",
|
296
|
+
"title": "使用照片Base64进行核验示例"
|
233
297
|
},
|
234
298
|
{
|
235
299
|
"document": "",
|
236
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"
|
237
|
-
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"Name\": \"
|
238
|
-
"title": "
|
300
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"11204416541220243X\",\n \"Name\": \"韦小宝\"\n}",
|
301
|
+
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"Name\": \"韦小宝\",\n \"IdCard\": \"11204416541220243X\",\n \"Sex\": \"\",\n \"Nation\": \"\",\n \"Birth\": \"\",\n \"Address\": \"\",\n \"RequestId\": \"945c69ad-d86c-47ea-ba33-419b1dc4d242\"\n }\n}",
|
302
|
+
"title": "使用姓名身份证号进行验证示例"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"document": "",
|
306
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardOCRVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"11204416541220243Y\",\n \"Name\": \"韦小宝\"\n}",
|
307
|
+
"output": "{\n \"Response\": {\n \"Address\": \"\",\n \"Birth\": \"\",\n \"Description\": \"非法身份证号(长度、校验位等不正确)\",\n \"IdCard\": \"11204416541220243Y\",\n \"Name\": \"韦小宝\",\n \"Nation\": \"\",\n \"RequestId\": \"c528602c-6574-4dd7-a836-895ff62a13ed\",\n \"Result\": \"-2\",\n \"Sex\": \"\"\n }\n}",
|
308
|
+
"title": "身份证识别及信息核验失败示例"
|
239
309
|
}
|
240
310
|
],
|
241
311
|
"IdCardVerification": [
|
242
312
|
{
|
243
313
|
"document": "",
|
244
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"
|
314
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"11204416541220243X\",\n \"Name\": \"韦小宝\"\n}",
|
245
315
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"姓名和身份证号一致\",\n \"RequestId\": \"94b54cdf-d975-4718-b091-32f8d79d6397\"\n }\n}",
|
246
|
-
"title": "
|
316
|
+
"title": "身份信息认证一致示例"
|
247
317
|
},
|
248
318
|
{
|
249
319
|
"document": "",
|
250
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"
|
320
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IdCardVerification\n<公共请求参数>\n\n{\n \"IdCard\": \"440305199505132561\",\n \"Name\": \"刘洋\"\n}",
|
251
321
|
"output": "{\n \"Response\": {\n \"Result\": \"-1\",\n \"Description\": \"姓名和身份证号不一致\",\n \"RequestId\": \"80c7abb8-4563-4636-98c3-0499f1611a33\"\n }\n}",
|
252
|
-
"title": "
|
322
|
+
"title": "身份信息认证不一致示例"
|
253
323
|
}
|
254
324
|
],
|
255
325
|
"ImageRecognition": [
|
@@ -263,9 +333,15 @@
|
|
263
333
|
"ImageRecognitionV2": [
|
264
334
|
{
|
265
335
|
"document": "",
|
266
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=ImageRecognitionV2\n&IdCard=11204416541220243X\n&Name=韦小宝\n&ImageBase64
|
336
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=ImageRecognitionV2\n&IdCard=11204416541220243X\n&Name=韦小宝\n&ImageBase64=/9j/4AAQSkZJRg.....s97n//2Q==\n&<公共请求参数>",
|
267
337
|
"output": "{\n \"Response\": {\n \"Result\": \"Success\",\n \"Description\": \"成功\",\n \"Sim\": 89.88,\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
268
|
-
"title": "
|
338
|
+
"title": "照片人脸核身成功示例"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"document": "",
|
342
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=ImageRecognitionV2\n&IdCard=11204416541220243X\n&Name=韦小宝\n&ImageBase64=/9j/4AAQSkZJRg.....s97n//2Q==\n&<公共请求参数>",
|
343
|
+
"output": "{\n \"Response\": {\n \"Description\": \"比对相似度未达到通过标准\",\n \"RequestId\": \"e9e198e4-4fa8-49f0-a67e-f8053bc49201\",\n \"Result\": \"FailedOperation.CompareLowSimilarity\",\n \"Sim\": 26.04\n }\n}",
|
344
|
+
"title": "照片人脸核身比对相似度未达标示例"
|
269
345
|
}
|
270
346
|
],
|
271
347
|
"Liveness": [
|
@@ -279,17 +355,29 @@
|
|
279
355
|
"LivenessCompare": [
|
280
356
|
{
|
281
357
|
"document": "",
|
282
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LivenessCompare\n<公共请求参数>\n\n{\n \"LivenessType\": \"SILENT\",\n \"ImageBase64\": \"
|
283
|
-
"output": "{\n \"Response\": {\n \"Result\": \"Success\",\n \"Description\": \"成功\",\n \"BestFrameBase64\": \"
|
284
|
-
"title": "
|
358
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LivenessCompare\n<公共请求参数>\n\n{\n \"LivenessType\": \"SILENT\",\n \"ImageBase64\": \"/9j/4AAQSk...GArFYH/9k=\",\n \"VideoBase64\": \"AAAAIGZ0eX...cBQCKAowc=\"\n}",
|
359
|
+
"output": "{\n \"Response\": {\n \"Result\": \"Success\",\n \"Description\": \"成功\",\n \"BestFrameBase64\": \"/9j/4AAQSk...W8+nU//9k=\",\n \"BestFrameList\": [\n \"/9j/4AAQSk...px72+8/9k=\"\n ],\n \"Sim\": 89.88,\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
360
|
+
"title": "静默活体人脸比对成功示例"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"document": "",
|
364
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LivenessCompare\n<公共请求参数>\n\n{\n \"LivenessType\": \"SILENT\",\n \"ImageBase64\": \"/9j/4AAQSk...GArFYH/9k=\",\n \"VideoBase64\": \"AAAAIGZ0eX...cBQCKAowc=\"\n}",
|
365
|
+
"output": "{\n \"Response\": {\n \"BestFrameBase64\": \"/9j/4AAQSk...RgkelAH//Z\",\n \"BestFrameList\": [],\n \"Description\": \"实人检测失败\",\n \"RequestId\": \"09fe2045-af63-43d5-8d7a-d9f7834ca62e\",\n \"Result\": \"FailedOperation.SilentDetectFail\",\n \"Sim\": 0\n }\n}",
|
366
|
+
"title": "静默活体人脸比对失败示例"
|
285
367
|
}
|
286
368
|
],
|
287
369
|
"LivenessRecognition": [
|
288
370
|
{
|
289
371
|
"document": "",
|
290
|
-
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LivenessRecognition\n<公共请求参数>\n\n{\n \"IdCard\": \"11204416541220243X\",\n \"LivenessType\": \"SILENT\",\n \"Name\": \"韦小宝\",\n \"VideoBase64\": \"
|
291
|
-
"output": "{\n \"Response\": {\n \"Result\": \"Success\",\n \"Description\": \"成功\",\n \"BestFrameBase64\": \"
|
292
|
-
"title": "
|
372
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LivenessRecognition\n<公共请求参数>\n\n{\n \"IdCard\": \"11204416541220243X\",\n \"LivenessType\": \"SILENT\",\n \"Name\": \"韦小宝\",\n \"VideoBase64\": \"AAAAIGZ0eX...0tLS0tLS8=\"\n}",
|
373
|
+
"output": "{\n \"Response\": {\n \"Result\": \"Success\",\n \"Description\": \"成功\",\n \"BestFrameBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"BestFrameList\": [\n \"/9j/4AAQSk...ZpGq7an//Z\"\n ],\n \"Sim\": 89.88,\n \"RequestId\": \"f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a\"\n }\n}",
|
374
|
+
"title": "静默活体人脸核身成功示例"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"document": "",
|
378
|
+
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LivenessRecognition\n<公共请求参数>\n\n{\n \"IdCard\": \"11204416541220243X\",\n \"LivenessType\": \"LIP\",\n \"Name\": \"韦小宝\",\n \"VideoBase64\": \"AAAAIGZ0eX...0tLS0tLS8=\",\n \"ValidateData\": \"4903\"\n}",
|
379
|
+
"output": "{\n \"Response\": {\n \"BestFrameBase64\": \"/9j/4AAQSk...ZpGq7an//Z\",\n \"BestFrameList\": [],\n \"Description\": \"声音识别失败\",\n \"RequestId\": \"0187d319-86ac-4687-807f-7733d54ba0c0\",\n \"Result\": \"FailedOperation.LipVoiceRecognize\",\n \"Sim\": 0\n }\n}",
|
380
|
+
"title": "数字活体人脸核身失败示例"
|
293
381
|
}
|
294
382
|
],
|
295
383
|
"MinorsVerification": [
|
@@ -309,15 +397,15 @@
|
|
309
397
|
"MobileNetworkTimeVerification": [
|
310
398
|
{
|
311
399
|
"document": "",
|
312
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=MobileNetworkTimeVerification\n&Mobile=
|
313
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
314
|
-
"title": "
|
400
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=MobileNetworkTimeVerification\n&Mobile=13800138000\n&<公共请求参数>",
|
401
|
+
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"成功\",\n \"Range\": \"(24,+]\",\n \"RequestId\": \"f893bfcf-167d-45df-99aa-60a23fe5809d\"\n }\n}",
|
402
|
+
"title": "手机号在网时长核验成功示例"
|
315
403
|
},
|
316
404
|
{
|
317
405
|
"document": "",
|
318
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=MobileNetworkTimeVerification\n&Mobile=
|
319
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
320
|
-
"title": "
|
406
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=MobileNetworkTimeVerification\n&Mobile=16137688175\n&<公共请求参数>",
|
407
|
+
"output": "{\n \"Response\": {\n \"Result\": \"-2\",\n \"Description\": \"手机号不存在\",\n \"Range\": \"\",\n \"RequestId\": \"3151331a-277e-4317-891d-0ef4e0afdd3e\"\n }\n}",
|
408
|
+
"title": "手机号在网时长核验异常示例"
|
321
409
|
}
|
322
410
|
],
|
323
411
|
"MobileStatus": [
|
@@ -325,47 +413,77 @@
|
|
325
413
|
"document": "",
|
326
414
|
"input": "https://faceid.tencentcloudapi.com/?Action=MobileStatus\n&Mobile=13800138000\n&<公共请求参数>",
|
327
415
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"成功\",\n \"StatusCode\": 1,\n \"RequestId\": \"f893bfcf-167d-45df-99aa-60a23fe5809d\"\n }\n}",
|
328
|
-
"title": "
|
416
|
+
"title": "手机号状态查询成功示例"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"document": "",
|
420
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=MobileStatus\n&Mobile=16137688175\n&<公共请求参数>",
|
421
|
+
"output": "{\n \"Response\": {\n \"Description\": \"手机号格式不正确\",\n \"RequestId\": \"7411a5fc-0ba6-431d-9e8a-5f6537fb8701\",\n \"Result\": \"-2\",\n \"StatusCode\": 99\n }\n}",
|
422
|
+
"title": "手机号状态查询异常示例"
|
329
423
|
}
|
330
424
|
],
|
331
425
|
"ParseNfcData": [
|
332
426
|
{
|
333
|
-
"document": "",
|
427
|
+
"document": "解析SDK获取到的证件NFC数据。",
|
334
428
|
"input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseNfcData\n<公共请求参数>\n\n{\n \"ReqId\": \"eyJyZXFJZCI6IjEyMzEiLCJkZXZpY2VJZCI6IjQ1NiJ9\"\n}",
|
335
|
-
"output": "{\n \"Response\": {\n \"Address\": \"
|
336
|
-
"title": "
|
429
|
+
"output": "{\n \"Response\": {\n \"Address\": \"北京市东城区景山前街4号紫禁城敬事房\",\n \"BeginTime\": \"20170405\",\n \"BirthDate\": \"19890604\",\n \"CheckMRTD\": \"\",\n \"EnName\": \"\",\n \"EndTime\": \"20260704\",\n \"IdNum\": \"11204416541220243X\",\n \"IdType\": \"\",\n \"ImageA\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"ImageB\": \"/9j/4AAQSk...mA7pvm5g==\",\n \"Name\": \"韦小宝\",\n \"Nation\": \"汉\",\n \"Nationality\": \"\",\n \"OtherIdNum\": \"\",\n \"PersonalNumber\": \"\",\n \"Picture\": \"Qk3OlwAAAA...7+/v7+/pAA\",\n \"RequestId\": \"cdd7a769-d288-42a5-8e2e-6a5e5c9c08ae\",\n \"ResultCode\": \"0\",\n \"Sex\": \"男\",\n \"SigningOrganization\": \"北京市东城区分局\",\n \"ResultDescription\": \"首次查询成功\"\n }\n}",
|
430
|
+
"title": "解析SDK获取到的证件NFC数据"
|
337
431
|
}
|
338
432
|
],
|
339
433
|
"PhoneVerification": [
|
340
434
|
{
|
341
435
|
"document": "",
|
342
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerification\n&IdCard=
|
436
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerification\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
343
437
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"Isp\": \"电信\",\n \"RequestId\": \"a5fdb909-5ee6-43ff-a152-bb1b9744ee8b\"\n }\n}",
|
344
|
-
"title": "
|
438
|
+
"title": "手机号三要素核验一致示例"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"document": "",
|
442
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerification\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
443
|
+
"output": "{\n \"Response\": {\n \"Description\": \"信息不一致\",\n \"Isp\": \"联通\",\n \"RequestId\": \"884a35af-289f-4b4e-a0b3-2315f02ab31e\",\n \"Result\": \"-4\"\n }\n}",
|
444
|
+
"title": "手机号三要素核验不一致示例"
|
345
445
|
}
|
346
446
|
],
|
347
447
|
"PhoneVerificationCMCC": [
|
348
448
|
{
|
349
449
|
"document": "",
|
350
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCMCC\n&IdCard=
|
450
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCMCC\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
351
451
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"Isp\": \"移动\",\n \"RequestId\": \"a5fdb909-5ee6-43ff-a152-bb1b9744ee8b\"\n }\n}",
|
352
|
-
"title": "
|
452
|
+
"title": "移动手机号三要素核验一致示例"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"document": "",
|
456
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCMCC\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
457
|
+
"output": "{\n \"Response\": {\n \"Description\": \"信息不一致\",\n \"Isp\": \"移动\",\n \"RequestId\": \"e281fdaa-6a24-4d37-82a3-acf28bc6c51f\",\n \"Result\": \"-4\"\n }\n}",
|
458
|
+
"title": "移动手机号三要素核验不一致示例"
|
353
459
|
}
|
354
460
|
],
|
355
461
|
"PhoneVerificationCTCC": [
|
356
462
|
{
|
357
463
|
"document": "",
|
358
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCTCC\n&IdCard=
|
464
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCTCC\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
359
465
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"Isp\": \"电信\",\n \"RequestId\": \"a5fdb909-5ee6-43ff-a152-bb1b9744ee8b\"\n }\n}",
|
360
|
-
"title": "
|
466
|
+
"title": "电信手机号三要素核验一致示例"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"document": "",
|
470
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCTCC\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
471
|
+
"output": "{\n \"Response\": {\n \"Description\": \"信息不一致\",\n \"Isp\": \"电信\",\n \"RequestId\": \"5d3e13ad-ff97-409c-ad98-373158369b43\",\n \"Result\": \"-4\"\n }\n}",
|
472
|
+
"title": "电信手机号三要素核验不一致示例"
|
361
473
|
}
|
362
474
|
],
|
363
475
|
"PhoneVerificationCUCC": [
|
364
476
|
{
|
365
477
|
"document": "",
|
366
|
-
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCUCC\n&IdCard=
|
478
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCUCC\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
367
479
|
"output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"认证通过\",\n \"Isp\": \"联通\",\n \"RequestId\": \"a5fdb909-5ee6-43ff-a152-bb1b9744ee8b\"\n }\n}",
|
368
|
-
"title": "
|
480
|
+
"title": "联通手机号三要素核验一致示例"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"document": "",
|
484
|
+
"input": "https://faceid.tencentcloudapi.com/?Action=PhoneVerificationCUCC\n&IdCard=11204416541220243X\n&Name=韦小宝\n&Phone=16137688175\n&<公共请求参数>",
|
485
|
+
"output": "{\n \"Response\": {\n \"Description\": \"信息不一致\",\n \"Isp\": \"联通\",\n \"RequestId\": \"74182f34-cc90-40b6-b96d-e4189726f0ba\",\n \"Result\": \"-4\"\n }\n}",
|
486
|
+
"title": "联通手机号三要素核验不一致示例"
|
369
487
|
}
|
370
488
|
]
|
371
489
|
},
|