summaryrefslogtreecommitdiff
path: root/data/facebody/2019-12-30/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/facebody/2019-12-30/api-docs.php')
-rw-r--r--data/facebody/2019-12-30/api-docs.php1629
1 files changed, 495 insertions, 1134 deletions
diff --git a/data/facebody/2019-12-30/api-docs.php b/data/facebody/2019-12-30/api-docs.php
index dd7bae9..cd053cc 100644
--- a/data/facebody/2019-12-30/api-docs.php
+++ b/data/facebody/2019-12-30/api-docs.php
@@ -1,65 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'facebody',
- 'version' => '2019-12-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'facebody', 'version' => '2019-12-30'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'AddFaceEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'DbName',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'EntityId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Labels',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
'AddFace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -70,73 +18,43 @@
[
'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ImageUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EntityId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ExtraData',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QualityScoreThreshold',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
[
'name' => 'SimilarityScoreThresholdInEntity',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
[
'name' => 'SimilarityScoreThresholdBetweenEntity',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
],
],
- 'CreateFaceDb' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddFaceEntity' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -145,58 +63,25 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'DeleteFace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DbName',
+ 'name' => 'EntityId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'FaceId',
+ 'name' => 'Labels',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteFaceDb' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddFaceImageTemplate' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -205,24 +90,15 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteFaceEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BatchAddFaces' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -233,72 +109,51 @@
[
'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EntityId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'UpdateFaceEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'SimilarityScoreThresholdInEntity',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DbName',
+ 'name' => 'SimilarityScoreThresholdBetweenEntity',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
[
- 'name' => 'EntityId',
+ 'name' => 'Faces',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ExtraData' => ['type' => 'string', 'required' => false],
+ 'ImageURL' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'Labels',
+ 'name' => 'QualityScoreThreshold',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
],
],
- 'SearchFace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BlurFace' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -307,105 +162,69 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DbName',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'BodyPosture' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ImageUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Limit',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '0',
- 'maximum' => '1000',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'CompareFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'DbNames',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 4096,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'QualityScoreThreshold',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
[
- 'name' => 'MaxFaceNum',
+ 'name' => 'ImageURLA',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetFaceEntity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ImageURLB',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DbName',
+ 'name' => 'ImageDataA',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EntityId',
+ 'name' => 'ImageDataB',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListFaceEntities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CompareFaceWithMask' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -414,74 +233,72 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DbName',
+ 'name' => 'ImageURLA',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Offset',
+ 'name' => 'ImageURLB',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Limit',
+ 'name' => 'QualityScoreThreshold',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
+ ],
+ ],
+ 'CreateFaceDb' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Token',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Labels',
+ 'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeepfakeFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'EntityIdPrefix',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Order',
+ 'name' => 'Tasks',
'in' => 'formData',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ImageURL' => ['type' => 'string', 'required' => false],
+ 'ImageData' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 10,
],
],
],
],
- 'ListFaceDbs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteFace' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -490,33 +307,20 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Offset',
+ 'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Limit',
+ 'name' => 'FaceId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'AddFaceImageTemplate' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteFaceDb' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -525,23 +329,15 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURL',
+ 'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteFaceImageTemplate' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteFaceEntity' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -550,23 +346,20 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'EntityId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'QueryFaceImageTemplate' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteFaceImageTemplate' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -576,45 +369,14 @@
'parameters' => [
[
'name' => 'TemplateId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNo',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '5000',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '500',
- ],
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'BlurFace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DetectBodyCount' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -625,21 +387,13 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CompareFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DetectCelebrity' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -648,56 +402,15 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'QualityScoreThreshold',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ImageURLA',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ImageURLB',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ImageDataA',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ImageDataB',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DetectFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -708,56 +421,33 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Landmark',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Quality',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Pose',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'MaxFaceNumber',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '40',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '40'],
],
],
],
- 'DetectLivingFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DetectInfraredLivingFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -776,14 +466,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageData' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'ImageURL' => ['type' => 'string', 'required' => true],
],
],
'maxItems' => 10,
@@ -791,14 +474,9 @@
],
],
],
- 'FaceBeauty' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DetectLivingFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -807,50 +485,62 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURL',
+ 'name' => 'Tasks',
'in' => 'formData',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ImageURL' => ['type' => 'string', 'required' => false],
+ 'ImageData' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 10,
],
],
+ ],
+ ],
+ 'DetectPedestrian' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Sharp',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Smooth',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DetectVideoLivingFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'White',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'VideoUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'EnhanceFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -861,21 +551,13 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RecognizeFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExtractFingerPrint' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -886,94 +568,77 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Age',
+ 'name' => 'ImageData',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'FaceBeauty' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Gender',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Hat',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Glass',
+ 'name' => 'Sharp',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true],
],
[
- 'name' => 'Beauty',
+ 'name' => 'Smooth',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true],
],
[
- 'name' => 'Expression',
+ 'name' => 'White',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true],
],
+ ],
+ ],
+ 'GenRealPersonVerificationToken' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Mask',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'CertificateName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Quality',
+ 'name' => 'CertificateNumber',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MaxFaceNumber',
+ 'name' => 'MetaInfo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RecognizePublicFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GenerateHumanAnimeStyle' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -982,40 +647,20 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Task',
- 'in' => 'formData',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageData' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 10,
- ],
+ 'name' => 'ImageURL',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'AlgoType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'MergeImageFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GenerateHumanSketchStyle' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1024,80 +669,42 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ModelVersion',
+ 'name' => 'ReturnType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GetFaceEntity' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AddWatermark',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'WatermarkType',
+ 'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MergeInfos',
+ 'name' => 'EntityId',
'in' => 'formData',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'TemplateFaceID' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 0,
- 'maxItems' => 1000,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'BodyPosture' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetRealPersonVerificationResult' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1106,23 +713,15 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURL',
+ 'name' => 'VerificationToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DetectBodyCount' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'LiquifyFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1133,21 +732,18 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'SlimDegree',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false, 'minimum' => '0', 'maximum' => '2'],
],
],
],
- 'DetectPedestrian' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListFaceDbs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1156,24 +752,20 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURL',
+ 'name' => 'Offset',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'PedestrianDetectAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListFaceEntities' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1182,92 +774,45 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURL',
+ 'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'GetRealPersonVerificationResult' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Offset',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'VerificationToken',
+ 'name' => 'Limit',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'GenRealPersonVerificationToken' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Token',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'CertificateName',
+ 'name' => 'Labels',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'CertificateNumber',
+ 'name' => 'EntityIdPrefix',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetaInfo',
+ 'name' => 'Order',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DetectCelebrity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'MergeImageFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1276,23 +821,54 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'TemplateId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'ImageURL',
'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ModelVersion',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AddWatermark',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'WatermarkType',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MergeInfos',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'TemplateFaceID' => ['type' => 'string', 'required' => false],
+ 'ImageURL' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'minItems' => 0,
+ 'maxItems' => 1000,
],
],
],
],
- 'DetectVideoLivingFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'MonitorExamination' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1301,24 +877,20 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'VideoUrl',
+ 'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '1'],
+ ],
+ [
+ 'name' => 'ImageURL',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GenerateHumanAnimeStyle' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PedestrianDetectAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1328,30 +900,14 @@
'parameters' => [
[
'name' => 'ImageURL',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'AlgoType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GenerateHumanSketchStyle' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'QueryFaceImageTemplate' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1360,31 +916,25 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURL',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ReturnType',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '5000'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '500'],
],
],
],
'RecognizeAction' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1395,19 +945,12 @@
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'VideoUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'URLList',
@@ -1420,14 +963,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'URL' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'imageData' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'URL' => ['type' => 'string', 'required' => false],
+ 'imageData' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 300,
@@ -1436,21 +973,13 @@
[
'name' => 'VideoData',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'RecognizeExpression' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1460,21 +989,13 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'BatchAddFaces' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RecognizeFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1483,151 +1004,60 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DbName',
+ 'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EntityId',
+ 'name' => 'Age',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'SimilarityScoreThresholdInEntity',
+ 'name' => 'Gender',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'SimilarityScoreThresholdBetweenEntity',
+ 'name' => 'Hat',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Faces',
+ 'name' => 'Glass',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ExtraData' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'QualityScoreThreshold',
+ 'name' => 'Beauty',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- ],
- 'ExtractFingerPrint' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageURL',
+ 'name' => 'Expression',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'ImageData',
+ 'name' => 'Mask',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- ],
- 'LiquifyFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageURL',
+ 'name' => 'Quality',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'SlimDegree',
+ 'name' => 'MaxFaceNumber',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '2',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'MonitorExamination' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RecognizePublicFace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1636,34 +1066,29 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Type',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '0',
- 'maximum' => '1',
- ],
- ],
- [
- 'name' => 'ImageURL',
+ 'name' => 'Task',
'in' => 'formData',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ImageURL' => ['type' => 'string', 'required' => false],
+ 'ImageData' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 10,
],
],
],
],
'RetouchSkin' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1674,39 +1099,23 @@
[
'name' => 'ImageURL',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RetouchDegree',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
[
'name' => 'WhiteningDegree',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
],
],
- 'CompareFaceWithMask' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'SearchFace' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1715,40 +1124,40 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageURLA',
+ 'name' => 'DbName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ImageURLB',
+ 'name' => 'ImageUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '1000', 'pattern' => '^\\d+$'],
+ ],
+ [
+ 'name' => 'DbNames',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 4096],
],
[
'name' => 'QualityScoreThreshold',
'in' => 'formData',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxFaceNum',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'DetectInfraredLivingFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateFaceEntity' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1757,72 +1166,24 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Tasks',
+ 'name' => 'DbName',
'in' => 'formData',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DeepfakeFace' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EntityId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Tasks',
+ 'name' => 'Labels',
'in' => 'formData',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageData' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'facebody.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'facebody.cn-shanghai.aliyuncs.com', 'endpoint' => 'facebody.cn-shanghai.aliyuncs.com', 'vpc' => 'facebody-vpc.cn-shanghai.aliyuncs.com'],
],
];