summaryrefslogtreecommitdiff
path: root/data/facebody/2020-09-10/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/facebody/2020-09-10/api-docs.php')
-rw-r--r--data/facebody/2020-09-10/api-docs.php83
1 files changed, 83 insertions, 0 deletions
diff --git a/data/facebody/2020-09-10/api-docs.php b/data/facebody/2020-09-10/api-docs.php
new file mode 100644
index 0000000..08da8f1
--- /dev/null
+++ b/data/facebody/2020-09-10/api-docs.php
@@ -0,0 +1,83 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'facebody',
+ 'version' => '2020-09-10',
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'ExecuteServerSideVerification' => [
+ 'path' => '/viapi/thirdparty/realperson/execServerSideVerification',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/x-www-form-urlencoded',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'certificateName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'certificateNumber',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'facialPictureData',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'facialPictureUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'sceneType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'facebody.cn-shanghai.aliyuncs.com',
+ ],
+ ],
+];