summaryrefslogtreecommitdiff
path: root/data/en_us/imm/2017-09-06
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/imm/2017-09-06')
-rw-r--r--data/en_us/imm/2017-09-06/api-docs.php8268
1 files changed, 1283 insertions, 6985 deletions
diff --git a/data/en_us/imm/2017-09-06/api-docs.php b/data/en_us/imm/2017-09-06/api-docs.php
index caf7638..e6a123f 100644
--- a/data/en_us/imm/2017-09-06/api-docs.php
+++ b/data/en_us/imm/2017-09-06/api-docs.php
@@ -1,42 +1,24 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'imm',
- 'version' => '2017-09-06',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'imm', 'version' => '2017-09-06'],
'directories' => [
[
'id' => 100259,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'OpenImmService',
- ],
+ 'children' => ['OpenImmService'],
],
[
'id' => 100262,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'DeleteProject',
- 'UpdateProject',
- 'GetProject',
- 'ListProjects',
- 'PutProject',
- ],
+ 'children' => ['DeleteProject', 'UpdateProject', 'GetProject', 'ListProjects', 'PutProject'],
],
[
'id' => 100308,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'CreateSet',
- 'DeleteSet',
- 'UpdateSet',
- 'GetSet',
- 'ListSets',
- ],
+ 'children' => ['CreateSet', 'DeleteSet', 'UpdateSet', 'GetSet', 'ListSets'],
],
[
'id' => 100269,
@@ -47,31 +29,19 @@
'id' => 169900,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ConvertOfficeFormat',
- ],
+ 'children' => ['ConvertOfficeFormat'],
],
[
'id' => 169901,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListOfficeConversionTask',
- 'GetOfficeConversionTask',
- 'DeleteOfficeConversionTask',
- 'CreateOfficeConversionTask',
- ],
+ 'children' => ['ListOfficeConversionTask', 'GetOfficeConversionTask', 'DeleteOfficeConversionTask', 'CreateOfficeConversionTask'],
],
[
'id' => 169902,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'RefreshWebofficeToken',
- 'RefreshOfficePreviewToken',
- 'GetWebofficeURL',
- 'GetOfficePreviewURL',
- ],
+ 'children' => ['RefreshWebofficeToken', 'RefreshOfficePreviewToken', 'GetWebofficeURL', 'GetOfficePreviewURL'],
],
],
],
@@ -84,72 +54,43 @@
'id' => 169903,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'GetImage',
- 'DeleteImage',
- 'FindImages',
- 'ListImages',
- 'UpdateImage',
- 'IndexImage',
- ],
+ 'children' => ['GetImage', 'DeleteImage', 'FindImages', 'ListImages', 'UpdateImage', 'IndexImage'],
],
[
'id' => 169904,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'FindSimilarFaces',
- 'CompareImageFaces',
- ],
+ 'children' => ['FindSimilarFaces', 'CompareImageFaces'],
],
[
'id' => 169905,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListFaceGroups',
- 'UpdateFaceGroup',
- 'CreateGroupFacesJob',
- 'CreateMergeFaceGroupsJob',
- ],
+ 'children' => ['ListFaceGroups', 'UpdateFaceGroup', 'CreateGroupFacesJob', 'CreateMergeFaceGroupsJob'],
],
[
'id' => 169906,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListSetTags',
- ],
+ 'children' => ['ListSetTags'],
],
[
'id' => 169907,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'GetImageQuality',
- 'GetImageCroppingSuggestions',
- 'DetectQRCodes',
- 'DetectImageQRCodes',
- 'DetectImageTags',
- ],
+ 'children' => ['GetImageQuality', 'GetImageCroppingSuggestions', 'DetectQRCodes', 'DetectImageQRCodes', 'DetectImageTags'],
],
[
'id' => 169908,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'DetectImageFaces',
- 'DetectImageBodies',
- ],
+ 'children' => ['DetectImageFaces', 'DetectImageBodies'],
],
[
'id' => 169909,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'EncodeBlindWatermark',
- 'DecodeBlindWatermark',
- ],
+ 'children' => ['EncodeBlindWatermark', 'DecodeBlindWatermark'],
],
],
],
@@ -163,24 +104,13 @@
'id' => 169916,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'IndexVideo',
- 'ListVideos',
- 'GetVideo',
- 'DeleteVideo',
- ],
+ 'children' => ['IndexVideo', 'ListVideos', 'GetVideo', 'DeleteVideo'],
],
[
'id' => 169917,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'GetVideoTask',
- 'ListVideoTasks',
- 'DeleteVideoTask',
- 'CreateVideoCompressTask',
- 'CreateGrabFrameTask',
- ],
+ 'children' => ['GetVideoTask', 'ListVideoTasks', 'DeleteVideoTask', 'CreateVideoCompressTask', 'CreateGrabFrameTask'],
],
],
],
@@ -190,14 +120,8 @@
],
'apis' => [
'OpenImmService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -214,35 +138,22 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D28EF0A3-36C0-406A-A8F0-A82019B329B0',
- ],
- 'OrderId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '20671870851****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'D28EF0A3-36C0-406A-A8F0-A82019B329B0'],
+ 'OrderId' => ['description' => '', 'type' => 'string', 'example' => '20671870851****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ORDER.OPENED',
- 'errorMessage' => '您已开通,请前往<a href="https://imm.console.aliyun.com/">控制台</a>使用',
- ],
+ ['errorCode' => 'ORDER.OPENED', 'errorMessage' => '您已开通,请前往<a href="https://imm.console.aliyun.com/">控制台</a>使用'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D28EF0A3-36C0-406A-A8F0-A82019B329B0\\",\\n \\"OrderId\\": \\"20671870851****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D28EF0A3-36C0-406A-A8F0-A82019B329B0</RequestId>\\n<OrderId>20671870851****</OrderId>","errorExample":""}]',
@@ -250,14 +161,8 @@
'requestParamsDescription' => ' ',
],
'DeleteProject' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -265,30 +170,19 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'immtest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'immtest', 'required' => true, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B78601870B44',
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '', 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B78601870B44', 'type' => 'string'],
],
'type' => 'object',
],
@@ -301,14 +195,8 @@
'responseParamsDescription' => ' ',
],
'UpdateProject' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -316,41 +204,22 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'NewCU',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '6',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6'],
],
[
'name' => 'NewServiceRole',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'immroletest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'immroletest'],
],
],
'responses' => [
@@ -358,47 +227,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Project' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'immtest',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-11T06:36:58Z',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DocStarter',
- ],
- 'CU' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'ServiceRole' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'immroletest',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D33C3574-4093-448E-86E7-15BE2BD36963',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-10T03:50:28Z',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'Project' => ['description' => '', 'type' => 'string', 'example' => 'immtest'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-11T06:36:58Z'],
+ 'Type' => ['description' => '', 'type' => 'string', 'example' => 'DocStarter'],
+ 'CU' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'ServiceRole' => ['description' => '', 'type' => 'string', 'example' => 'immroletest'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'D33C3574-4093-448E-86E7-15BE2BD36963'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-10T03:50:28Z'],
+ 'RegionId' => ['description' => '', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
@@ -408,14 +244,8 @@
'responseParamsDescription' => ' ',
],
'GetProject' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -423,20 +253,12 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
],
'responses' => [
@@ -444,57 +266,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Project' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'immtest',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-10T03:50:28Z',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DocStarter',
- ],
- 'CU' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'ServiceRole' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AliyunIMMDefaultRole',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5A022F78-B9A8-4ACC-BB6B-B35975534551',
- ],
- 'Endpoint' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'imm.cn-hangzhou.aliyuncs.com',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-10T03:50:28Z',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'BillingType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ByCU',
- ],
+ 'Project' => ['description' => '', 'type' => 'string', 'example' => 'immtest'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-10T03:50:28Z'],
+ 'Type' => ['description' => '', 'type' => 'string', 'example' => 'DocStarter'],
+ 'CU' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'ServiceRole' => ['description' => '', 'type' => 'string', 'example' => 'AliyunIMMDefaultRole'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '5A022F78-B9A8-4ACC-BB6B-B35975534551'],
+ 'Endpoint' => ['description' => '', 'type' => 'string', 'example' => 'imm.cn-hangzhou.aliyuncs.com'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-10T03:50:28Z'],
+ 'RegionId' => ['description' => '', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'BillingType' => ['description' => '', 'type' => 'string', 'example' => 'ByCU'],
],
],
],
@@ -506,14 +287,8 @@
'responseParamsDescription' => ' ',
],
'ListProjects' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -521,30 +296,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'imm',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'imm'],
],
[
'name' => 'MaxKeys',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -552,71 +314,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4A7A2D0E-D8B8-4DA0-8127-EB32C6600ADE',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '4A7A2D0E-D8B8-4DA0-8127-EB32C6600ADE'],
'Projects' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DocStarter',
- ],
- 'CU' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-10T03:50:28Z',
- ],
- 'ServiceRole' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AliyunIMMDefaultRole',
- ],
- 'Endpoint' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'imm.cn-hangzhou.aliyuncs.com',
- ],
- 'Project' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'immtest',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'BillingType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ByCU',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-10T03:50:28Z',
- ],
+ 'Type' => ['description' => '', 'type' => 'string', 'example' => 'DocStarter'],
+ 'CU' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-10T03:50:28Z'],
+ 'ServiceRole' => ['description' => '', 'type' => 'string', 'example' => 'AliyunIMMDefaultRole'],
+ 'Endpoint' => ['description' => '', 'type' => 'string', 'example' => 'imm.cn-hangzhou.aliyuncs.com'],
+ 'Project' => ['description' => '', 'type' => 'string', 'example' => 'immtest'],
+ 'RegionId' => ['description' => '', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'BillingType' => ['description' => '', 'type' => 'string', 'example' => 'ByCU'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-10T03:50:28Z'],
],
],
],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'immimage',
- ],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'immimage'],
],
],
],
@@ -629,14 +346,8 @@
'extraInfo' => ' ',
],
'PutProject' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -644,87 +355,33 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'immtest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immtest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'ServiceRole',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'AliyunIMMDefaultRole',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'AliyunIMMDefaultRole', 'required' => false, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'Project' => [
- 'description' => '',
- 'example' => 'immtest',
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-10T03:50:28Z',
- 'type' => 'string',
- ],
- 'Type' => [
- 'description' => '',
- 'example' => 'DocStarter',
- 'type' => 'string',
- ],
- 'CU' => [
- 'description' => '',
- 'example' => '5',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'ServiceRole' => [
- 'description' => '',
- 'example' => 'AliyunIMMDefaultRole',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => '',
- 'example' => '7F7D235C-76FF-4B65-800C-8238AE3F7230',
- 'type' => 'string',
- ],
- 'Endpoint' => [
- 'description' => '',
- 'example' => 'imm.cn-hangzhou.aliyuncs.com',
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'example' => '2020-11-10T03:50:28Z',
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'description' => '',
- 'example' => 'cn-hangzhou',
- 'type' => 'string',
- ],
- 'BillingType' => [
- 'description' => '',
- 'example' => 'ByCU',
- 'type' => 'string',
- ],
+ 'Project' => ['description' => '', 'example' => 'immtest', 'type' => 'string'],
+ 'ModifyTime' => ['description' => '', 'example' => '2020-11-10T03:50:28Z', 'type' => 'string'],
+ 'Type' => ['description' => '', 'example' => 'DocStarter', 'type' => 'string'],
+ 'CU' => ['description' => '', 'example' => '5', 'format' => 'int32', 'type' => 'integer'],
+ 'ServiceRole' => ['description' => '', 'example' => 'AliyunIMMDefaultRole', 'type' => 'string'],
+ 'RequestId' => ['description' => '', 'example' => '7F7D235C-76FF-4B65-800C-8238AE3F7230', 'type' => 'string'],
+ 'Endpoint' => ['description' => '', 'example' => 'imm.cn-hangzhou.aliyuncs.com', 'type' => 'string'],
+ 'CreateTime' => ['description' => '', 'example' => '2020-11-10T03:50:28Z', 'type' => 'string'],
+ 'RegionId' => ['description' => '', 'example' => 'cn-hangzhou', 'type' => 'string'],
+ 'BillingType' => ['description' => '', 'example' => 'ByCU', 'type' => 'string'],
],
'type' => 'object',
],
@@ -735,14 +392,8 @@
'responseParamsDescription' => ' ',
],
'CreateSet' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -750,40 +401,22 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'set001'],
],
[
'name' => 'SetName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'myset',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'myset'],
],
],
'responses' => [
@@ -791,55 +424,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:49:20.094Z',
- ],
- 'VideoCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ImageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '6D74B3A9-5AC0-49F9-914D-E01589D363FC',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:49:20.094Z',
- ],
- 'SetName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'myset',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'VideoLength' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FaceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:49:20.094Z'],
+ 'VideoCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ImageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '6D74B3A9-5AC0-49F9-914D-E01589D363FC'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:49:20.094Z'],
+ 'SetName' => ['description' => '', 'type' => 'string', 'example' => 'myset'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'VideoLength' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FaceCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
@@ -852,14 +445,8 @@
'extraInfo' => ' ',
],
'DeleteSet' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -867,31 +454,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Set-1126f303-6c5b-4ba3-863a-bac81aff8d2d',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Set-1126f303-6c5b-4ba3-863a-bac81aff8d2d'],
],
],
'responses' => [
@@ -899,16 +472,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E7C1C',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Set-1126f303-6c5b-4ba3-863a-bac81aff8d2d',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E7C1C'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'Set-1126f303-6c5b-4ba3-863a-bac81aff8d2d'],
],
],
],
@@ -921,14 +486,8 @@
'extraInfo' => ' ',
],
'UpdateSet' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -936,41 +495,22 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077'],
],
[
'name' => 'SetName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mysetnew',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'mysetnew'],
],
],
'responses' => [
@@ -978,31 +518,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:49:01.975Z',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '45234D4A-A3E3-4B23-AACA-8D897514462E',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:49:01.975Z',
- ],
- 'SetName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mysetnew',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077',
- ],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:49:01.975Z'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '45234D4A-A3E3-4B23-AACA-8D897514462E'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:49:01.975Z'],
+ 'SetName' => ['description' => '', 'type' => 'string', 'example' => 'mysetnew'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077'],
],
],
],
@@ -1015,14 +535,8 @@
'extraInfo' => ' ',
],
'GetSet' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1030,31 +544,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Set-d7ffb885-88c1-4702-a71f-60cf50c221c9',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Set-d7ffb885-88c1-4702-a71f-60cf50c221c9'],
],
],
'responses' => [
@@ -1062,55 +562,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T09:49:03.826Z',
- ],
- 'VideoCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ImageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '93126E40-0296-4129-95E3-AFAC709372E5',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T09:49:03.826Z',
- ],
- 'SetName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'myimageset',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Set-d7ffb885-88c1-4702-a71f-60cf50c221c9',
- ],
- 'VideoLength' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FaceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T09:49:03.826Z'],
+ 'VideoCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ImageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '93126E40-0296-4129-95E3-AFAC709372E5'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T09:49:03.826Z'],
+ 'SetName' => ['description' => '', 'type' => 'string', 'example' => 'myimageset'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'Set-d7ffb885-88c1-4702-a71f-60cf50c221c9'],
+ 'VideoLength' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FaceCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
@@ -1123,14 +583,8 @@
'extraInfo' => ' ',
],
'ListSets' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1138,30 +592,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Set-00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Set-00'],
],
],
'responses' => [
@@ -1169,69 +610,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'FEEDE356-C928-4A36-951A-6EB5A5923BEB',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'FEEDE356-C928-4A36-951A-6EB5A5923BEB'],
'Sets' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'VideoCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:49:01.975Z',
- ],
- 'VideoLength' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Set-435b5855-d100-4408-95f4-f2e901fa0694',
- ],
- 'ImageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'FaceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'SetName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mysetname',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:49:01.975Z',
- ],
+ 'VideoCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:49:01.975Z'],
+ 'VideoLength' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'Set-435b5855-d100-4408-95f4-f2e901fa0694'],
+ 'ImageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'FaceCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'SetName' => ['description' => '', 'type' => 'string', 'example' => 'mysetname'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:49:01.975Z'],
],
],
],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077',
- ],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077'],
],
],
],
@@ -1244,14 +641,8 @@
'extraInfo' => ' ',
],
'ConvertOfficeFormat' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1259,234 +650,115 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'immdoctest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immdoctest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'SrcUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'oss://bucket1/object',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'oss://bucket1/object', 'required' => true, 'type' => 'string'],
],
[
'name' => 'TgtType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'vector',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'vector', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'oss://bucket1/converttasks/session123/',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'oss://bucket1/converttasks/session123/', 'required' => true, 'type' => 'string'],
],
[
'name' => 'SrcType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'doc',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'doc', 'required' => false, 'type' => 'string'],
],
[
'name' => 'StartPage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'int64',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '1', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'EndPage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '10',
- 'format' => 'int64',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'MaxSheetRow',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '10',
- 'format' => 'int64',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'MaxSheetCol',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '10',
- 'format' => 'int64',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'MaxSheetCount',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '3',
- 'format' => 'int64',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '3', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'SheetOnePage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'false',
- 'required' => false,
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Password',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '********',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '********', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtFilePrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'aa',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'aa', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtFileSuffix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'bb',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'bb', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtFilePages',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '[1, 2, 100]',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '[1, 2, 100]', 'required' => false, 'type' => 'string'],
],
[
'name' => 'FitToPagesTall',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'false',
- 'required' => false,
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'FitToPagesWide',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'false',
- 'required' => false,
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'PdfVector',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'false',
- 'required' => false,
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'Hidecomments',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'false',
- 'required' => false,
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'PageCount' => [
- 'description' => '',
- 'example' => '10',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'RequestId' => [
- 'description' => '',
- 'example' => 'FF3B7D81-66AE-47E0-BF69-157DCF187514',
- 'type' => 'string',
- ],
+ 'PageCount' => ['description' => '', 'example' => '10', 'format' => 'int32', 'type' => 'integer'],
+ 'RequestId' => ['description' => '', 'example' => 'FF3B7D81-66AE-47E0-BF69-157DCF187514', 'type' => 'string'],
],
'type' => 'object',
],
@@ -1494,10 +766,7 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidArgument.SrcUri',
- 'errorMessage' => 'The source URI is too large or too complex to be converted within the time limit.',
- ],
+ ['errorCode' => 'InvalidArgument.SrcUri', 'errorMessage' => 'The source URI is too large or too complex to be converted within the time limit.'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"PageCount\\": 10,\\n \\"RequestId\\": \\"FF3B7D81-66AE-47E0-BF69-157DCF187514\\"\\n}","errorExample":""},{"type":"xml","example":"<PageCount>10</PageCount>\\n<RequestId>FF3B7D81-66AE-47E0-BF69-157DCF187514</RequestId>","errorExample":""}]',
@@ -1505,14 +774,8 @@
'responseParamsDescription' => ' ',
],
'ListOfficeConversionTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1525,33 +788,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'immdoctest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'immdoctest'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'formatconvert-00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'formatconvert-00'],
],
[
'name' => 'MaxKeys',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
],
'responses' => [
@@ -1565,86 +812,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Finished',
- ],
- 'Percent' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'FinishTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-13T09:33:03.520000Z',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-13T09:32:53.097000Z',
- ],
- 'PageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NotifyTopicName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'topic1',
- ],
- 'NotifyEndpoint' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
- 'TgtUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://bucket1/converttasks/session123/',
- ],
- 'TgtType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'png',
- ],
- 'SrcUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://bucket1/object',
- ],
- 'ImageSpec' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1024',
- ],
- 'ExternalID' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'tasktest002',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'formatconvert-bab90254-2bfd-4ee5-a30a-bb671da7c960',
- ],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'Finished'],
+ 'Percent' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'FinishTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-13T09:33:03.520000Z'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-13T09:32:53.097000Z'],
+ 'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NotifyTopicName' => ['description' => '', 'type' => 'string', 'example' => 'topic1'],
+ 'NotifyEndpoint' => ['description' => '', 'type' => 'string', 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
+ 'TgtUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://bucket1/converttasks/session123/'],
+ 'TgtType' => ['description' => '', 'type' => 'string', 'example' => 'png'],
+ 'SrcUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://bucket1/object'],
+ 'ImageSpec' => ['description' => '', 'type' => 'string', 'example' => '1024'],
+ 'ExternalID' => ['description' => '', 'type' => 'string', 'example' => 'tasktest002'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'formatconvert-bab90254-2bfd-4ee5-a30a-bb671da7c960'],
],
],
],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '6253B819-3B81-4578-956B-7CF7E75E39E2',
- ],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'formatconvert-481c92f5-3033-4de3-8656-fcf07100d633',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '6253B819-3B81-4578-956B-7CF7E75E39E2'],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'formatconvert-481c92f5-3033-4de3-8656-fcf07100d633'],
],
],
],
@@ -1657,14 +842,8 @@
'extraInfo' => ' ',
],
'GetOfficeConversionTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1677,111 +856,39 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'immdoctest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'immdoctest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'formatconvert-a1749f07-1bb7-40ff-84af-c6df064e****',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'formatconvert-a1749f07-1bb7-40ff-84af-c6df064e****', 'required' => true, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'Status' => [
- 'description' => '',
- 'example' => 'Finished',
- 'type' => 'string',
- ],
+ 'Status' => ['description' => '', 'example' => 'Finished', 'type' => 'string'],
'FailDetail' => [
'description' => '',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'example' => 'NoError',
- 'type' => 'string',
- ],
+ 'Code' => ['description' => '', 'example' => 'NoError', 'type' => 'string'],
],
'type' => 'object',
],
- 'TgtType' => [
- 'description' => '',
- 'example' => 'png',
- 'type' => 'string',
- ],
- 'TaskId' => [
- 'description' => '',
- 'example' => 'formatconvert-a1749f07-1bb7-40ff-84af-c6df064e****',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => '',
- 'example' => '0BC1F0C9-8E99-46C6-B502-10DEDCBA3E2E',
- 'type' => 'string',
- ],
- 'Percent' => [
- 'description' => '',
- 'example' => '100',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'example' => '2020-11-13T07:53:08.687000Z',
- 'type' => 'string',
- ],
- 'ExternalID' => [
- 'description' => '',
- 'example' => 'tasktest001',
- 'type' => 'string',
- ],
- 'ImageSpec' => [
- 'description' => '',
- 'example' => '1024',
- 'type' => 'string',
- ],
- 'NotifyEndpoint' => [
- 'description' => '',
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- 'type' => 'string',
- ],
- 'TgtUri' => [
- 'description' => '',
- 'example' => 'oss://bucket1/converttasks/session123/',
- 'type' => 'string',
- ],
- 'FinishTime' => [
- 'description' => '',
- 'example' => '2020-11-13T07:53:19.103000Z',
- 'type' => 'string',
- ],
- 'PageCount' => [
- 'description' => '',
- 'example' => '10',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'NotifyTopicName' => [
- 'description' => '',
- 'example' => 'topic1',
- 'type' => 'string',
- ],
- 'SrcUri' => [
- 'description' => '',
- 'example' => 'oss://bucket1/object',
- 'type' => 'string',
- ],
+ 'TgtType' => ['description' => '', 'example' => 'png', 'type' => 'string'],
+ 'TaskId' => ['description' => '', 'example' => 'formatconvert-a1749f07-1bb7-40ff-84af-c6df064e****', 'type' => 'string'],
+ 'RequestId' => ['description' => '', 'example' => '0BC1F0C9-8E99-46C6-B502-10DEDCBA3E2E', 'type' => 'string'],
+ 'Percent' => ['description' => '', 'example' => '100', 'format' => 'int32', 'type' => 'integer'],
+ 'CreateTime' => ['description' => '', 'example' => '2020-11-13T07:53:08.687000Z', 'type' => 'string'],
+ 'ExternalID' => ['description' => '', 'example' => 'tasktest001', 'type' => 'string'],
+ 'ImageSpec' => ['description' => '', 'example' => '1024', 'type' => 'string'],
+ 'NotifyEndpoint' => ['description' => '', 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com', 'type' => 'string'],
+ 'TgtUri' => ['description' => '', 'example' => 'oss://bucket1/converttasks/session123/', 'type' => 'string'],
+ 'FinishTime' => ['description' => '', 'example' => '2020-11-13T07:53:19.103000Z', 'type' => 'string'],
+ 'PageCount' => ['description' => '', 'example' => '10', 'format' => 'int32', 'type' => 'integer'],
+ 'NotifyTopicName' => ['description' => '', 'example' => 'topic1', 'type' => 'string'],
+ 'SrcUri' => ['description' => '', 'example' => 'oss://bucket1/object', 'type' => 'string'],
],
'type' => 'object',
],
@@ -1793,14 +900,8 @@
'responseParamsDescription' => ' ',
],
'DeleteOfficeConversionTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1813,22 +914,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'immtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'formatconvert-35078200-b306-477e-ae82-aa5a73f38fbc',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'formatconvert-35078200-b306-477e-ae82-aa5a73f38fbc'],
],
],
'responses' => [
@@ -1836,11 +927,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '37D69D8D-BAF1-44B7-A55C-D7D132B0238E',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '37D69D8D-BAF1-44B7-A55C-D7D132B0238E'],
],
],
],
@@ -1853,14 +940,8 @@
'extraInfo' => ' ',
],
'CreateOfficeConversionTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1873,261 +954,127 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immdoctest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'SrcUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://bucket1/object',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://bucket1/object'],
],
[
'name' => 'TgtType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vector',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'vector'],
],
[
'name' => 'TgtUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://bucket1/imm-format-convert-tgt/session123/',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://bucket1/imm-format-convert-tgt/session123/'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic1'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
],
[
'name' => 'SrcType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doc',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'doc'],
],
[
'name' => 'StartPage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'EndPage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetRow',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetCol',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetCount',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'],
],
[
'name' => 'SheetOnePage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'Password',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '********',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '********'],
],
[
'name' => 'TgtFilePrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aa',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'aa'],
],
[
'name' => 'TgtFileSuffix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bb',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'bb'],
],
[
'name' => 'TgtFilePages',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1, 2, 100',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1, 2, 100'],
],
[
'name' => 'FitToPagesTall',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'FitToPagesWide',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'IdempotentToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'd1fdd246-e187-11e8-9f32-f2801f1b9fd1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'd1fdd246-e187-11e8-9f32-f2801f1b9fd1'],
],
[
'name' => 'PdfVector',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'Hidecomments',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'DisplayDpi',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1024',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1024'],
],
[
'name' => 'UserData',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"fileid": "123"}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{"fileid": "123"}'],
],
],
'responses' => [
@@ -2135,37 +1082,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'formatconvert-00bec802-073a-4b61-ba3b-39bc2fdd169b',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'FF3B7D81-66AE-47E0-BF69-157DCF187514',
- ],
- 'Percent' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-11T06:51:17.5Z',
- ],
- 'TgtLoc' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://bucket1/imm-format-convert-tgt/session123/',
- ],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'Running'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'formatconvert-00bec802-073a-4b61-ba3b-39bc2fdd169b'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'FF3B7D81-66AE-47E0-BF69-157DCF187514'],
+ 'Percent' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-11T06:51:17.5Z'],
+ 'TgtLoc' => ['description' => '', 'type' => 'string', 'example' => 'oss://bucket1/imm-format-convert-tgt/session123/'],
],
],
],
@@ -2175,14 +1097,8 @@
'responseParamsDescription' => ' ',
],
'RefreshWebofficeToken' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2195,34 +1111,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immdoctest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'AccessToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '96c77f96d4c2487aba86549222********',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '96c77f96d4c2487aba86549222********'],
],
[
'name' => 'RefreshToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4cdfb7fac3564268aff15360ac********',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '4cdfb7fac3564268aff15360ac********'],
],
],
'responses' => [
@@ -2230,31 +1129,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RefreshToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'e3f0fc87c5e24555835961e9a3********',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '488F3004-4105-4F28-A634-26353BBF866C',
- ],
- 'AccessToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0301d19407084bd0b9449d6ecc********',
- ],
- 'RefreshTokenExpiredTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-12-26T09:14:42.986876757Z',
- ],
- 'AccessTokenExpiredTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-12-25T09:44:42.986876757Z',
- ],
+ 'RefreshToken' => ['description' => '', 'type' => 'string', 'example' => 'e3f0fc87c5e24555835961e9a3********'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '488F3004-4105-4F28-A634-26353BBF866C'],
+ 'AccessToken' => ['description' => '', 'type' => 'string', 'example' => '0301d19407084bd0b9449d6ecc********'],
+ 'RefreshTokenExpiredTime' => ['description' => '', 'type' => 'string', 'example' => '2020-12-26T09:14:42.986876757Z'],
+ 'AccessTokenExpiredTime' => ['description' => '', 'type' => 'string', 'example' => '2020-12-25T09:44:42.986876757Z'],
],
],
],
@@ -2267,14 +1146,8 @@
'extraInfo' => ' ',
],
'RefreshOfficePreviewToken' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2287,34 +1160,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immdoctest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'AccessToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f3a3ad0ae32a4c6fb90ed00218********',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f3a3ad0ae32a4c6fb90ed00218********'],
],
[
'name' => 'RefreshToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1eb6535cdf8a4732a7d7183891********',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1eb6535cdf8a4732a7d7183891********'],
],
],
'responses' => [
@@ -2322,31 +1178,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RefreshToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '780ec2952b4c4173a4a2840bb2********',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '9F9FB128-7588-4F5F-BAAB-85859D3912D3',
- ],
- 'AccessToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '35108c3afca14570b98e352efa********',
- ],
- 'RefreshTokenExpiredTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-20T06:43:37.51Z',
- ],
- 'AccessTokenExpiredTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-19T07:13:37.51Z',
- ],
+ 'RefreshToken' => ['description' => '', 'type' => 'string', 'example' => '780ec2952b4c4173a4a2840bb2********'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '9F9FB128-7588-4F5F-BAAB-85859D3912D3'],
+ 'AccessToken' => ['description' => '', 'type' => 'string', 'example' => '35108c3afca14570b98e352efa********'],
+ 'RefreshTokenExpiredTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-20T06:43:37.51Z'],
+ 'AccessTokenExpiredTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-19T07:13:37.51Z'],
],
],
],
@@ -2359,14 +1195,8 @@
'extraInfo' => ' ',
],
'GetWebofficeURL' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2379,108 +1209,52 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immdoctest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'SrcType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doc',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'doc'],
],
[
'name' => 'FileID',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'mytest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mytest'],
],
[
'name' => 'User',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}'],
],
[
'name' => 'Permission',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{"Rename": true, "Readonly": false, "History": true}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"Rename": true, "Readonly": false, "History": true}'],
],
[
'name' => 'File',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '[{"Modifier": {"Avatar": "http://example.com/?id=user1", "ID": "user1", "Name": "test-user1"}, "Name": "mytest.doc", "Creator": {"Avatar": "http://example.com/?id=user1", "ID": "user1", "Name": "test-user1"}, "SrcUri": "oss://test-bucket/mytest.doc", "Version": 3, "TgtUri": "oss://test-bucket/mytest.doc"}]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{"Modifier": {"Avatar": "http://example.com/?id=user1", "ID": "user1", "Name": "test-user1"}, "Name": "mytest.doc", "Creator": {"Avatar": "http://example.com/?id=user1", "ID": "user1", "Name": "test-user1"}, "SrcUri": "oss://test-bucket/mytest.doc", "Version": 3, "TgtUri": "oss://test-bucket/mytest.doc"}]'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'http://1111111111.mns.cn-hangzhou-internal.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'http://1111111111.mns.cn-hangzhou-internal.aliyuncs.com'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic1'],
],
[
'name' => 'Watermark',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Rotate": -0.7853982, "Vertical": 100, "Value": "hatlonely", "FillStyle": "rgba(192, 192, 192, 0.6)", "Horizontal": 50, "Font": "bold 20px Serif", "Type": 1}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{"Rotate": -0.7853982, "Vertical": 100, "Value": "hatlonely", "FillStyle": "rgba(192, 192, 192, 0.6)", "Horizontal": 50, "Font": "bold 20px Serif", "Type": 1}'],
],
[
'name' => 'Hidecmb',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -2488,36 +1262,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RefreshToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4cdfb7fac3564268aff15360ac********',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6',
- ],
- 'AccessToken' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '96c77f96d4c2487aba86549222********',
- ],
- 'RefreshTokenExpiredTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-12-26T07:13:38.322018529Z',
- ],
- 'WebofficeURL' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://office-cn-hangzhou.imm.aliyuncs.com/office/w/7c7bb3419a0918203026217468a8e9fe375723ae?_w_tokentype=1',
- ],
- 'AccessTokenExpiredTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-12-25T07:43:38.322018529Z',
- ],
+ 'RefreshToken' => ['description' => '', 'type' => 'string', 'example' => '4cdfb7fac3564268aff15360ac********'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6'],
+ 'AccessToken' => ['description' => '', 'type' => 'string', 'example' => '96c77f96d4c2487aba86549222********'],
+ 'RefreshTokenExpiredTime' => ['description' => '', 'type' => 'string', 'example' => '2020-12-26T07:13:38.322018529Z'],
+ 'WebofficeURL' => ['description' => '', 'type' => 'string', 'example' => 'https://office-cn-hangzhou.imm.aliyuncs.com/office/w/7c7bb3419a0918203026217468a8e9fe375723ae?_w_tokentype=1'],
+ 'AccessTokenExpiredTime' => ['description' => '', 'type' => 'string', 'example' => '2020-12-25T07:43:38.322018529Z'],
],
],
],
@@ -2529,14 +1279,8 @@
'extraInfo' => ' ',
],
'GetOfficePreviewURL' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2549,144 +1293,64 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'immdoctest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immdoctest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'SrcUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'oss://test-bucket/mytest.doc',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'oss://test-bucket/mytest.doc', 'required' => true, 'type' => 'string'],
],
[
'name' => 'SrcType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'doc',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'doc', 'required' => false, 'type' => 'string'],
],
[
'name' => 'WatermarkType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'int32',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '1', 'format' => 'int32', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'WatermarkValue',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'imm',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'imm', 'required' => false, 'type' => 'string'],
],
[
'name' => 'WatermarkFillStyle',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'rgba(192, 192, 192, 0.6)',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'rgba(192, 192, 192, 0.6)', 'required' => false, 'type' => 'string'],
],
[
'name' => 'WatermarkFont',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'bold 20px Serif',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'bold 20px Serif', 'required' => false, 'type' => 'string'],
],
[
'name' => 'WatermarkRotate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '-0.7853982',
- 'format' => 'float',
- 'required' => false,
- 'type' => 'number',
- ],
+ 'schema' => ['description' => '', 'example' => '-0.7853982', 'format' => 'float', 'required' => false, 'type' => 'number'],
],
[
'name' => 'WatermarkHorizontal',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '50',
- 'format' => 'int32',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '50', 'format' => 'int32', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'WatermarkVertical',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '100',
- 'format' => 'int32',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '100', 'format' => 'int32', 'required' => false, 'type' => 'integer'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'PreviewURL' => [
- 'description' => '',
- 'example' => 'https://office-cn-hangzhou.imm.aliyuncs.com/office/f/59db14bc9e97205734b31f9880622e043175ea4f?hidecmb=1&simple=1&_w_tokentype=1',
- 'type' => 'string',
- ],
- 'RefreshToken' => [
- 'description' => '',
- 'example' => '1eb6535cdf8a4732a7d7183891********',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => '',
- 'example' => '14580EF3-442A-4AA2-959C-1464DC255EEB',
- 'type' => 'string',
- ],
- 'AccessToken' => [
- 'description' => '',
- 'example' => 'f3a3ad0ae32a4c6fb90ed00218********',
- 'type' => 'string',
- ],
- 'RefreshTokenExpiredTime' => [
- 'description' => '',
- 'example' => '2020-11-20T06:16:19.069Z',
- 'type' => 'string',
- ],
- 'AccessTokenExpiredTime' => [
- 'description' => '',
- 'example' => '2020-11-19T06:46:19.069Z',
- 'type' => 'string',
- ],
+ 'PreviewURL' => ['description' => '', 'example' => 'https://office-cn-hangzhou.imm.aliyuncs.com/office/f/59db14bc9e97205734b31f9880622e043175ea4f?hidecmb=1&simple=1&_w_tokentype=1', 'type' => 'string'],
+ 'RefreshToken' => ['description' => '', 'example' => '1eb6535cdf8a4732a7d7183891********', 'type' => 'string'],
+ 'RequestId' => ['description' => '', 'example' => '14580EF3-442A-4AA2-959C-1464DC255EEB', 'type' => 'string'],
+ 'AccessToken' => ['description' => '', 'example' => 'f3a3ad0ae32a4c6fb90ed00218********', 'type' => 'string'],
+ 'RefreshTokenExpiredTime' => ['description' => '', 'example' => '2020-11-20T06:16:19.069Z', 'type' => 'string'],
+ 'AccessTokenExpiredTime' => ['description' => '', 'example' => '2020-11-19T06:46:19.069Z', 'type' => 'string'],
],
'type' => 'object',
],
@@ -2699,14 +1363,8 @@
'responseParamsDescription' => ' ',
],
'GetImage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2719,35 +1377,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
],
'responses' => [
@@ -2759,239 +1399,61 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'OverallScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7759467363357544',
- ],
- 'Color' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ColorScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ContrastScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Contrast' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ExposureScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ClarityScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Clarity' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Exposure' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'CompositionScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
+ 'OverallScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7759467363357544'],
+ 'Color' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ColorScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ContrastScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Contrast' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ExposureScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ClarityScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Clarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Exposure' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'CompositionScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
],
],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
'Address' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Township' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'District' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'AddressLine' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Country' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'City' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Province' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Township' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'District' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'AddressLine' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Country' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'City' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Province' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
- 'SourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'SourceUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'FacesFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'CroppingSuggestionStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NotProcessed',
- ],
- 'CroppingSuggestionFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'AddressFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarka',
- ],
- 'AddressModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkb',
- ],
- 'ImageFormat' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'jpg',
- ],
- 'TagsFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'RemarksArrayB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarkb1","remarkb2"]',
- ],
- 'FacesModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'Exif' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"},"ImageHeight":{"value":"417"},"ImageWidth":{"value":"500"},"ResolutionUnit":{"value":"2"},"XResolution":{"value":"96/1"},"YResolution":{"value":"96/1"}}',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkc',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkd',
- ],
- 'ImageWidth' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'RemarksArrayA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarka1","remarka2"]',
- ],
- 'SourcePosition' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '00000000.010',
- ],
+ 'SourceType' => ['description' => '', 'type' => 'string', 'example' => 'image'],
+ 'SourceUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'FacesFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'CroppingSuggestionStatus' => ['description' => '', 'type' => 'string', 'example' => 'NotProcessed'],
+ 'CroppingSuggestionFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'AddressFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'remarka'],
+ 'AddressModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'remarkb'],
+ 'ImageFormat' => ['description' => '', 'type' => 'string', 'example' => 'jpg'],
+ 'TagsFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'RemarksArrayB' => ['description' => '', 'type' => 'string', 'example' => '["remarkb1","remarkb2"]'],
+ 'FacesModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'Exif' => ['description' => '', 'type' => 'string', 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"},"ImageHeight":{"value":"417"},"ImageWidth":{"value":"500"},"ResolutionUnit":{"value":"2"},"XResolution":{"value":"96/1"},"YResolution":{"value":"96/1"}}'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarkc'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarkd'],
+ 'ImageWidth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'RemarksArrayA' => ['description' => '', 'type' => 'string', 'example' => '["remarka1","remarka2"]'],
+ 'SourcePosition' => ['description' => '', 'type' => 'string', 'example' => '00000000.010'],
'Tags' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'TagConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9812195897102356',
- ],
- 'CentricScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ParentTagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'TagConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9812195897102356'],
+ 'CentricScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TagLevel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ParentTagName' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -3001,407 +1463,121 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Gender' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MALE',
- ],
- 'GenderConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- ],
+ 'Gender' => ['description' => '', 'type' => 'string', 'example' => 'MALE'],
+ 'GenderConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'GlassesConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Glasses' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NONE',
- ],
- 'Mask' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NONE',
- ],
- 'BeardConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'MaskConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
+ 'GlassesConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Glasses' => ['description' => '', 'type' => 'string', 'example' => 'NONE'],
+ 'Mask' => ['description' => '', 'type' => 'string', 'example' => 'NONE'],
+ 'BeardConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'MaskConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'FaceBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '191',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '269',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '252',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '95',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '191'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '269'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '252'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '95'],
],
],
'HeadPose' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Pitch' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '18.385589599609375',
- ],
- 'Roll' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4.204030513763428',
- ],
- 'Yaw' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '2.4945924282073975',
- ],
+ 'Pitch' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '18.385589599609375'],
+ 'Roll' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '4.204030513763428'],
+ 'Yaw' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '2.4945924282073975'],
],
],
- 'Beard' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NONE',
- ],
+ 'Beard' => ['description' => '', 'type' => 'string', 'example' => 'NONE'],
],
],
- 'FaceQuality' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9321779608726501',
- ],
- 'Emotion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'HAPPY',
- ],
- 'Age' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '29',
- ],
- 'FaceConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9608758687973022',
- ],
- 'EmotionConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7079545259475708',
- ],
- 'Attractive' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.96',
- ],
- 'GroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'group-not-grouped',
- ],
+ 'FaceQuality' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9321779608726501'],
+ 'Emotion' => ['description' => '', 'type' => 'string', 'example' => 'HAPPY'],
+ 'Age' => ['description' => '', 'type' => 'string', 'example' => '29'],
+ 'FaceConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9608758687973022'],
+ 'EmotionConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7079545259475708'],
+ 'Attractive' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.96'],
+ 'GroupId' => ['description' => '', 'type' => 'string', 'example' => 'group-not-grouped'],
'EmotionDetails' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'HAPPY' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7079545259475708',
- ],
- 'CALM' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.2918718755245209',
- ],
- 'SURPRISED' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.00006676767952740192',
- ],
- 'DISGUSTED' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.000033771051676012576',
- ],
- 'ANGRY' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.00001282201901631197',
- ],
- 'SAD' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.00001527295717096422',
- ],
- 'SCARED' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.0000014976058082538657',
- ],
+ 'HAPPY' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7079545259475708'],
+ 'CALM' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.2918718755245209'],
+ 'SURPRISED' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.00006676767952740192'],
+ 'DISGUSTED' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.000033771051676012576'],
+ 'ANGRY' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.00001282201901631197'],
+ 'SAD' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.00001527295717096422'],
+ 'SCARED' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.0000014976058082538657'],
],
],
],
],
],
- 'AddressStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'FacesStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ImageQualityModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
+ 'AddressStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'FacesStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'ImageQualityModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
'CroppingSuggestion' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Score' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8979608535766602',
- ],
+ 'Score' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8979608535766602'],
'CroppingBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
- 'AspectRatio' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2:3',
- ],
+ 'AspectRatio' => ['description' => '', 'type' => 'string', 'example' => '2:3'],
],
],
],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'D349D345-4744-472C-ABDC-7A29A5E04042',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T9:56:52.461Z',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId001',
- ],
- 'TagsModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'ImageQualityFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'Orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"val":"Right-top","type":3}',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'OCRStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NotProcessed',
- ],
- 'OCRModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'ImageTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'CroppingSuggestionModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'ImageHeight' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '861',
- ],
- 'ImageQualityStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'TagsStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'OCRFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'FileSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '69732',
- ],
- 'Location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '30.134390,120.074997',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'D349D345-4744-472C-ABDC-7A29A5E04042'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T9:56:52.461Z'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId001'],
+ 'TagsModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'ImageQualityFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'Orientation' => ['description' => '', 'type' => 'string', 'example' => '{"val":"Right-top","type":3}'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'OCRStatus' => ['description' => '', 'type' => 'string', 'example' => 'NotProcessed'],
+ 'OCRModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'ImageTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'CroppingSuggestionModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'ImageHeight' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '861'],
+ 'ImageQualityStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'TagsStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'OCRFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'FileSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '69732'],
+ 'Location' => ['description' => '', 'type' => 'string', 'example' => '30.134390,120.074997'],
'OCR' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'OCRConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8254936695098877',
- ],
- 'OCRContents' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'OCRConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8254936695098877'],
+ 'OCRContents' => ['description' => '', 'type' => 'string', 'example' => ''],
'OCRBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
@@ -3418,14 +1594,8 @@
'extraInfo' => ' ',
],
'DeleteImage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3438,35 +1608,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
],
'responses' => [
@@ -3474,21 +1626,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '81A8F375-51D7-4523-852D-A940E37E62D0',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '81A8F375-51D7-4523-852D-A940E37E62D0'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
],
],
@@ -3500,14 +1640,8 @@
'extraInfo' => ' ',
],
'FindImages' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3520,446 +1654,196 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'immimagetest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immimagetest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'set001',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'set001', 'required' => true, 'type' => 'string'],
],
[
'name' => 'ImageSizeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => '{"MinWidth":100,"MaxWidth":3000,"MinHeight":50,"MaxHeight":5000}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => '{"MinWidth":100,"MaxWidth":3000,"MinHeight":50,"MaxHeight":5000}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'ImageTimeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'CreateTimeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'ModifyTimeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'image',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'image', 'required' => false, 'type' => 'string'],
],
[
'name' => 'SourceUriPrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'oss://imm-test/',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'oss://imm-test/', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksAPrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'remark',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksBPrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'remark',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TagNames',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'OCRContentsMatch',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'myh',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'myh', 'required' => false, 'type' => 'string'],
],
[
'name' => 'AgeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"Start":0,"End":99}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"Start":0,"End":99}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Gender',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'MALE',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'MALE', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Emotion',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'HAPPY',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'HAPPY', 'required' => false, 'type' => 'string'],
],
[
'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'CreateTime',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'CreateTime', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'ASC',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'ASC', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'imm',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'imm', 'required' => false, 'type' => 'string'],
],
[
'name' => 'LocationBoundary',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"TopLeft":"50.2,100.1","BottomRight":"30.5,120.1"}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"TopLeft":"50.2,100.1","BottomRight":"30.5,120.1"}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksCPrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'remark',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksDPrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'remark',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'ExternalId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => false,
- 'example' => 'externalId001',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => false, 'example' => 'externalId001', 'required' => false, 'type' => 'string'],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'group-not-grouped',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'group-not-grouped', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '20',
- 'format' => 'int32',
- 'required' => false,
- 'type' => 'integer',
- ],
+ 'schema' => ['description' => '', 'example' => '20', 'format' => 'int32', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'FacesModifyTimeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TagsModifyTimeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '{"Start":"2020-11-10T00:00:01.544Z","End":"2020-11-25T00:00:01.544Z"}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'AddressLineContentsMatch',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'zhejiang',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'zhejiang', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksArrayAIn',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '["remarka1","remarka2"]',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '["remarka1","remarka2"]', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksArrayBIn',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '["remarkb1","remarkb2"]',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '["remarkb1","remarkb2"]', 'required' => false, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'example' => '810FE908-522F-4951-8AF8-7211890D4B2A',
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '', 'example' => '810FE908-522F-4951-8AF8-7211890D4B2A', 'type' => 'string'],
'Images' => [
'description' => '',
'items' => [
'properties' => [
- 'CroppingSuggestionStatus' => [
- 'description' => '',
- 'example' => 'NotProcessed',
- 'type' => 'string',
- ],
- 'ImageQualityModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'TagsFailReason' => [
- 'description' => '',
- 'example' => 'Timeout',
- 'type' => 'string',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'example' => 'remarkc',
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'SourceType' => [
- 'description' => '',
- 'example' => 'image',
- 'type' => 'string',
- ],
- 'FacesFailReason' => [
- 'description' => '',
- 'example' => 'Timeout',
- 'type' => 'string',
- ],
+ 'CroppingSuggestionStatus' => ['description' => '', 'example' => 'NotProcessed', 'type' => 'string'],
+ 'ImageQualityModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'TagsFailReason' => ['description' => '', 'example' => 'Timeout', 'type' => 'string'],
+ 'RemarksC' => ['description' => '', 'example' => 'remarkc', 'type' => 'string'],
+ 'CreateTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'SourceType' => ['description' => '', 'example' => 'image', 'type' => 'string'],
+ 'FacesFailReason' => ['description' => '', 'example' => 'Timeout', 'type' => 'string'],
'Tags' => [
'description' => '',
'items' => [
'properties' => [
- 'TagConfidence' => [
- 'description' => '',
- 'example' => '0.9812195897102356',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'CentricScore' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'TagName' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'example' => '2',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'ParentTagName' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
+ 'TagConfidence' => ['description' => '', 'example' => '0.9812195897102356', 'format' => 'float', 'type' => 'number'],
+ 'CentricScore' => ['description' => '', 'example' => '0', 'format' => 'float', 'type' => 'number'],
+ 'TagName' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'TagLevel' => ['description' => '', 'example' => '2', 'format' => 'int32', 'type' => 'integer'],
+ 'ParentTagName' => ['description' => '', 'example' => '', 'type' => 'string'],
],
'type' => 'object',
],
'type' => 'array',
],
- 'FacesModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'ImageTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'OCRModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'AddressModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
+ 'FacesModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'ImageTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'OCRModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'AddressModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
'OCR' => [
'description' => '',
'items' => [
'properties' => [
- 'OCRConfidence' => [
- 'description' => '',
- 'example' => '0.8254936695098877',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'OCRContents' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
+ 'OCRConfidence' => ['description' => '', 'example' => '0.8254936695098877', 'format' => 'float', 'type' => 'number'],
+ 'OCRContents' => ['description' => '', 'example' => '', 'type' => 'string'],
'OCRBoundary' => [
'description' => '',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'example' => '12',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Width' => [
- 'description' => '',
- 'example' => '12',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Height' => [
- 'description' => '',
- 'example' => '12',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Left' => [
- 'description' => '',
- 'example' => '12',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
+ 'Top' => ['description' => '', 'example' => '12', 'format' => 'int32', 'type' => 'integer'],
+ 'Width' => ['description' => '', 'example' => '12', 'format' => 'int32', 'type' => 'integer'],
+ 'Height' => ['description' => '', 'example' => '12', 'format' => 'int32', 'type' => 'integer'],
+ 'Left' => ['description' => '', 'example' => '12', 'format' => 'int32', 'type' => 'integer'],
],
'type' => 'object',
],
@@ -3968,287 +1852,82 @@
],
'type' => 'array',
],
- 'ImageQualityFailReason' => [
- 'description' => '',
- 'example' => 'Timeout',
- 'type' => 'string',
- ],
- 'FacesStatus' => [
- 'description' => '',
- 'example' => 'Success',
- 'type' => 'string',
- ],
- 'ImageHeight' => [
- 'description' => '',
- 'example' => '861',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'RemarksArrayA' => [
- 'description' => '',
- 'example' => '["remarka1","remarka2"]',
- 'type' => 'string',
- ],
+ 'ImageQualityFailReason' => ['description' => '', 'example' => 'Timeout', 'type' => 'string'],
+ 'FacesStatus' => ['description' => '', 'example' => 'Success', 'type' => 'string'],
+ 'ImageHeight' => ['description' => '', 'example' => '861', 'format' => 'int32', 'type' => 'integer'],
+ 'RemarksArrayA' => ['description' => '', 'example' => '["remarka1","remarka2"]', 'type' => 'string'],
'Address' => [
'description' => '',
'properties' => [
- 'Township' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'District' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'AddressLine' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'Country' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'City' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'Province' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
+ 'Township' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'District' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'AddressLine' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'Country' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'City' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'Province' => ['description' => '', 'example' => '', 'type' => 'string'],
],
'type' => 'object',
],
- 'ExternalId' => [
- 'description' => '',
- 'example' => 'externalId001',
- 'type' => 'string',
- ],
- 'SourceUri' => [
- 'description' => '',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'FileSize' => [
- 'description' => '',
- 'example' => '69732',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'SourcePosition' => [
- 'description' => '',
- 'example' => '00000000.010',
- 'type' => 'string',
- ],
+ 'ExternalId' => ['description' => '', 'example' => 'externalId001', 'type' => 'string'],
+ 'SourceUri' => ['description' => '', 'example' => 'oss://imm-test/testcases/face1.jpg', 'type' => 'string'],
+ 'ModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'FileSize' => ['description' => '', 'example' => '69732', 'format' => 'int32', 'type' => 'integer'],
+ 'SourcePosition' => ['description' => '', 'example' => '00000000.010', 'type' => 'string'],
'Faces' => [
'description' => '',
'items' => [
'properties' => [
- 'Gender' => [
- 'description' => '',
- 'example' => 'FEMALE',
- 'type' => 'string',
- ],
- 'FaceId' => [
- 'description' => '',
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- 'type' => 'string',
- ],
- 'GenderConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'Gender' => ['description' => '', 'example' => 'FEMALE', 'type' => 'string'],
+ 'FaceId' => ['description' => '', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51', 'type' => 'string'],
+ 'GenderConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
'FaceAttributes' => [
'description' => '',
'properties' => [
- 'GlassesConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Glasses' => [
- 'description' => '',
- 'example' => 'NONE',
- 'type' => 'string',
- ],
- 'Mask' => [
- 'description' => '',
- 'example' => 'NONE',
- 'type' => 'string',
- ],
- 'BeardConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'MaskConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'GlassesConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
+ 'Glasses' => ['description' => '', 'example' => 'NONE', 'type' => 'string'],
+ 'Mask' => ['description' => '', 'example' => 'NONE', 'type' => 'string'],
+ 'BeardConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
+ 'MaskConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
'FaceBoundary' => [
'description' => '',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'example' => '152',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Width' => [
- 'description' => '',
- 'example' => '139',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Height' => [
- 'description' => '',
- 'example' => '141',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Left' => [
- 'description' => '',
- 'example' => '267',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
+ 'Top' => ['description' => '', 'example' => '152', 'format' => 'int32', 'type' => 'integer'],
+ 'Width' => ['description' => '', 'example' => '139', 'format' => 'int32', 'type' => 'integer'],
+ 'Height' => ['description' => '', 'example' => '141', 'format' => 'int32', 'type' => 'integer'],
+ 'Left' => ['description' => '', 'example' => '267', 'format' => 'int32', 'type' => 'integer'],
],
'type' => 'object',
],
'HeadPose' => [
'description' => '',
'properties' => [
- 'Pitch' => [
- 'description' => '',
- 'example' => '18.385589599609375',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Roll' => [
- 'description' => '',
- 'example' => '4.204030513763428',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Yaw' => [
- 'description' => '',
- 'example' => '2.4945924282073975',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'Pitch' => ['description' => '', 'example' => '18.385589599609375', 'format' => 'float', 'type' => 'number'],
+ 'Roll' => ['description' => '', 'example' => '4.204030513763428', 'format' => 'float', 'type' => 'number'],
+ 'Yaw' => ['description' => '', 'example' => '2.4945924282073975', 'format' => 'float', 'type' => 'number'],
],
'type' => 'object',
],
- 'Beard' => [
- 'description' => '',
- 'example' => 'NONE',
- 'type' => 'string',
- ],
+ 'Beard' => ['description' => '', 'example' => 'NONE', 'type' => 'string'],
],
'type' => 'object',
],
- 'FaceQuality' => [
- 'description' => '',
- 'example' => '0.9321779608726501',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Emotion' => [
- 'description' => '',
- 'example' => 'HAPPY',
- 'type' => 'string',
- ],
- 'Age' => [
- 'description' => '',
- 'example' => '29',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'FaceConfidence' => [
- 'description' => '',
- 'example' => '0.9608758687973022',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'EmotionConfidence' => [
- 'description' => '',
- 'example' => '0.7079545259475708',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Attractive' => [
- 'description' => '',
- 'example' => '0.96',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'GroupId' => [
- 'description' => '',
- 'example' => 'group-not-grouped',
- 'type' => 'string',
- ],
+ 'FaceQuality' => ['description' => '', 'example' => '0.9321779608726501', 'format' => 'float', 'type' => 'number'],
+ 'Emotion' => ['description' => '', 'example' => 'HAPPY', 'type' => 'string'],
+ 'Age' => ['description' => '', 'example' => '29', 'format' => 'int32', 'type' => 'integer'],
+ 'FaceConfidence' => ['description' => '', 'example' => '0.9608758687973022', 'format' => 'float', 'type' => 'number'],
+ 'EmotionConfidence' => ['description' => '', 'example' => '0.7079545259475708', 'format' => 'float', 'type' => 'number'],
+ 'Attractive' => ['description' => '', 'example' => '0.96', 'format' => 'float', 'type' => 'number'],
+ 'GroupId' => ['description' => '', 'example' => 'group-not-grouped', 'type' => 'string'],
'EmotionDetails' => [
'description' => '',
'properties' => [
- 'HAPPY' => [
- 'description' => '',
- 'example' => '0.7079545259475708',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'SURPRISED' => [
- 'description' => '',
- 'example' => '0.00006676767952740192',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'CALM' => [
- 'description' => '',
- 'example' => '0.2918718755245209',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'DISGUSTED' => [
- 'description' => '',
- 'example' => '0.000033771051676012576',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'ANGRY' => [
- 'description' => '',
- 'example' => '0.00001282201901631197',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'SAD' => [
- 'description' => '',
- 'example' => '0.00001527295717096422',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'SCARED' => [
- 'description' => '',
- 'example' => '0.0000014976058082538657',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'HAPPY' => ['description' => '', 'example' => '0.7079545259475708', 'format' => 'float', 'type' => 'number'],
+ 'SURPRISED' => ['description' => '', 'example' => '0.00006676767952740192', 'format' => 'float', 'type' => 'number'],
+ 'CALM' => ['description' => '', 'example' => '0.2918718755245209', 'format' => 'float', 'type' => 'number'],
+ 'DISGUSTED' => ['description' => '', 'example' => '0.000033771051676012576', 'format' => 'float', 'type' => 'number'],
+ 'ANGRY' => ['description' => '', 'example' => '0.00001282201901631197', 'format' => 'float', 'type' => 'number'],
+ 'SAD' => ['description' => '', 'example' => '0.00001527295717096422', 'format' => 'float', 'type' => 'number'],
+ 'SCARED' => ['description' => '', 'example' => '0.0000014976058082538657', 'format' => 'float', 'type' => 'number'],
],
'type' => 'object',
],
@@ -4257,233 +1936,69 @@
],
'type' => 'array',
],
- 'ImageQualityStatus' => [
- 'description' => '',
- 'example' => 'Success',
- 'type' => 'string',
- ],
- 'OCRFailReason' => [
- 'description' => '',
- 'example' => 'Timeout',
- 'type' => 'string',
- ],
- 'AddressFailReason' => [
- 'description' => '',
- 'example' => 'Timeout',
- 'type' => 'string',
- ],
+ 'ImageQualityStatus' => ['description' => '', 'example' => 'Success', 'type' => 'string'],
+ 'OCRFailReason' => ['description' => '', 'example' => 'Timeout', 'type' => 'string'],
+ 'AddressFailReason' => ['description' => '', 'example' => 'Timeout', 'type' => 'string'],
'ImageQuality' => [
'description' => '',
'properties' => [
- 'OverallScore' => [
- 'description' => '',
- 'example' => '0.7759467363357544',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Color' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'ColorScore' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'ContrastScore' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Contrast' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'ExposureScore' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'ClarityScore' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Clarity' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Exposure' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'CompositionScore' => [
- 'description' => '',
- 'example' => '0.6101377010345459',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'OverallScore' => ['description' => '', 'example' => '0.7759467363357544', 'format' => 'float', 'type' => 'number'],
+ 'Color' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'ColorScore' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'ContrastScore' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'Contrast' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'ExposureScore' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'ClarityScore' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'Clarity' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'Exposure' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
+ 'CompositionScore' => ['description' => '', 'example' => '0.6101377010345459', 'format' => 'float', 'type' => 'number'],
],
'type' => 'object',
],
- 'CroppingSuggestionModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'ImageFormat' => [
- 'description' => '',
- 'example' => 'jpg',
- 'type' => 'string',
- ],
- 'ImageWidth' => [
- 'description' => '',
- 'example' => '500',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'RemarksArrayB' => [
- 'description' => '',
- 'example' => '["remarkb1","remarkb2"]',
- 'type' => 'string',
- ],
+ 'CroppingSuggestionModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'ImageFormat' => ['description' => '', 'example' => 'jpg', 'type' => 'string'],
+ 'ImageWidth' => ['description' => '', 'example' => '500', 'format' => 'int32', 'type' => 'integer'],
+ 'RemarksArrayB' => ['description' => '', 'example' => '["remarkb1","remarkb2"]', 'type' => 'string'],
'CroppingSuggestion' => [
'description' => '',
'items' => [
'properties' => [
- 'Score' => [
- 'description' => '',
- 'example' => '0.8979608535766602',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'Score' => ['description' => '', 'example' => '0.8979608535766602', 'format' => 'float', 'type' => 'number'],
'CroppingBoundary' => [
'description' => '',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'example' => '77',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Width' => [
- 'description' => '',
- 'example' => '500',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Height' => [
- 'description' => '',
- 'example' => '499',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Left' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
+ 'Top' => ['description' => '', 'example' => '77', 'format' => 'int32', 'type' => 'integer'],
+ 'Width' => ['description' => '', 'example' => '500', 'format' => 'int32', 'type' => 'integer'],
+ 'Height' => ['description' => '', 'example' => '499', 'format' => 'int32', 'type' => 'integer'],
+ 'Left' => ['description' => '', 'example' => '0', 'format' => 'int32', 'type' => 'integer'],
],
'type' => 'object',
],
- 'AspectRatio' => [
- 'description' => '',
- 'example' => '1:1',
- 'type' => 'string',
- ],
+ 'AspectRatio' => ['description' => '', 'example' => '1:1', 'type' => 'string'],
],
'type' => 'object',
],
'type' => 'array',
],
- 'Orientation' => [
- 'description' => '',
- 'example' => '{"val":"Right-top","type":3}',
- 'type' => 'string',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'example' => 'remarkd',
- 'type' => 'string',
- ],
- 'TagsStatus' => [
- 'description' => '',
- 'example' => 'Success',
- 'type' => 'string',
- ],
- 'CroppingSuggestionFailReason' => [
- 'description' => '',
- 'example' => 'Timeout',
- 'type' => 'string',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'example' => 'remarka',
- 'type' => 'string',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- 'type' => 'string',
- ],
- 'TagsModifyTime' => [
- 'description' => '',
- 'example' => '2020-11-25T10:12:59.57Z',
- 'type' => 'string',
- ],
- 'OCRStatus' => [
- 'description' => '',
- 'example' => 'NotProcessed',
- 'type' => 'string',
- ],
- 'AddressStatus' => [
- 'description' => '',
- 'example' => 'Success',
- 'type' => 'string',
- ],
- 'Exif' => [
- 'description' => '',
- 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"},"ImageHeight":{"value":"417"},"ImageWidth":{"value":"500"},"ResolutionUnit":{"value":"2"},"XResolution":{"value":"96/1"},"YResolution":{"value":"96/1"}}',
- 'type' => 'string',
- ],
- 'Location' => [
- 'description' => '',
- 'example' => '30.134390,120.074997',
- 'type' => 'string',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'example' => 'remarkb',
- 'type' => 'string',
- ],
+ 'Orientation' => ['description' => '', 'example' => '{"val":"Right-top","type":3}', 'type' => 'string'],
+ 'RemarksD' => ['description' => '', 'example' => 'remarkd', 'type' => 'string'],
+ 'TagsStatus' => ['description' => '', 'example' => 'Success', 'type' => 'string'],
+ 'CroppingSuggestionFailReason' => ['description' => '', 'example' => 'Timeout', 'type' => 'string'],
+ 'RemarksA' => ['description' => '', 'example' => 'remarka', 'type' => 'string'],
+ 'ImageUri' => ['description' => '', 'example' => 'oss://imm-test/testcases/face1.jpg', 'type' => 'string'],
+ 'TagsModifyTime' => ['description' => '', 'example' => '2020-11-25T10:12:59.57Z', 'type' => 'string'],
+ 'OCRStatus' => ['description' => '', 'example' => 'NotProcessed', 'type' => 'string'],
+ 'AddressStatus' => ['description' => '', 'example' => 'Success', 'type' => 'string'],
+ 'Exif' => ['description' => '', 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"},"ImageHeight":{"value":"417"},"ImageWidth":{"value":"500"},"ResolutionUnit":{"value":"2"},"XResolution":{"value":"96/1"},"YResolution":{"value":"96/1"}}', 'type' => 'string'],
+ 'Location' => ['description' => '', 'example' => '30.134390,120.074997', 'type' => 'string'],
+ 'RemarksB' => ['description' => '', 'example' => 'remarkb', 'type' => 'string'],
],
'type' => 'object',
],
'type' => 'array',
],
- 'NextMarker' => [
- 'description' => '',
- 'example' => 'CAESBgoEIgIIABgAIswBCskBA8QAAAAxUzMxMzczNDM2MzQzOTM1MzgzNTM3MzYzMDMyMzczNDM1M2E2OTZkNmQ2OTZkNjE2NzY1M2E3MzY1NzQzMDMwMzEzYTMxMzYzMzM1NjIzOTMzMzI2MTYyMzQzNzY2NjMzNjY2NjI2MTYxMzMzMjM1MzQzOTMzMzQzNzMwMzI2NTMxNjE2MjM3MzczMTY0NjM2NDM2MzgzNjM4NjQzMjM2MzEzNzM2MzYzNjM4NjUzNTYyMzc2NjM0MzU2MjYxNjE2NTMx',
- 'type' => 'string',
- ],
- 'SetId' => [
- 'description' => '',
- 'example' => 'set001',
- 'type' => 'string',
- ],
+ 'NextMarker' => ['description' => '', 'example' => 'CAESBgoEIgIIABgAIswBCskBA8QAAAAxUzMxMzczNDM2MzQzOTM1MzgzNTM3MzYzMDMyMzczNDM1M2E2OTZkNmQ2OTZkNjE2NzY1M2E3MzY1NzQzMDMwMzEzYTMxMzYzMzM1NjIzOTMzMzI2MTYyMzQzNzY2NjMzNjY2NjI2MTYxMzMzMjM1MzQzOTMzMzQzNzMwMzI2NTMxNjE2MjM3MzczMTY0NjM2NDM2MzgzNjM4NjQzMjM2MzEzNzM2MzYzNjM4NjUzNTYyMzc2NjM0MzU2MjYxNjE2NTMx', 'type' => 'string'],
+ 'SetId' => ['description' => '', 'example' => 'set001', 'type' => 'string'],
],
'type' => 'object',
],
@@ -4496,14 +2011,8 @@
'title' => 'FindImages',
],
'ListImages' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4516,56 +2025,27 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2020-11-23T07:49:01.975Z',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2020-11-23T07:49:01.975Z'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -4573,673 +2053,204 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A9C250B8-AC5B-4570-A7FE-73448DFCEFC8',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'A9C250B8-AC5B-4570-A7FE-73448DFCEFC8'],
'Images' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'CroppingSuggestionStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NotProcessed',
- ],
- 'ImageQualityModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'TagsFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkc',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'SourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'FacesFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
+ 'CroppingSuggestionStatus' => ['description' => '', 'type' => 'string', 'example' => 'NotProcessed'],
+ 'ImageQualityModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'TagsFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarkc'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'SourceType' => ['description' => '', 'type' => 'string', 'example' => 'image'],
+ 'FacesFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
'Tags' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9812195897102356',
- ],
- 'CentricScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ParentTagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'TagConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9812195897102356'],
+ 'CentricScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'TagLevel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ParentTagName' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
- 'FacesModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'ImageTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'OCRModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'AddressModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
+ 'FacesModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'ImageTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'OCRModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'AddressModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
'OCR' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'OCRConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8254936695098877',
- ],
- 'OCRContents' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'OCRConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8254936695098877'],
+ 'OCRContents' => ['description' => '', 'type' => 'string', 'example' => ''],
'OCRBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
],
],
- 'ImageQualityFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'FacesStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ImageHeight' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '861',
- ],
- 'RemarksArrayA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarka1","remarka2"]',
- ],
+ 'ImageQualityFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'FacesStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'ImageHeight' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '861'],
+ 'RemarksArrayA' => ['description' => '', 'type' => 'string', 'example' => '["remarka1","remarka2"]'],
'Address' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Township' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'District' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'AddressLine' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Country' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'City' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Province' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Township' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'District' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'AddressLine' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Country' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'City' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Province' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId001',
- ],
- 'SourceUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'FileSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '69732',
- ],
- 'SourcePosition' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '00000000.010',
- ],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId001'],
+ 'SourceUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'FileSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '69732'],
+ 'SourcePosition' => ['description' => '', 'type' => 'string', 'example' => '00000000.010'],
'Faces' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Gender' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MALE',
- ],
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- ],
- 'GenderConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
+ 'Gender' => ['description' => '', 'type' => 'string', 'example' => 'MALE'],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51'],
+ 'GenderConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'GlassesConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Glasses' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NONE',
- ],
- 'Mask' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NONE',
- ],
- 'BeardConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'MaskConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
+ 'GlassesConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Glasses' => ['description' => '', 'type' => 'string', 'example' => 'NONE'],
+ 'Mask' => ['description' => '', 'type' => 'string', 'example' => 'NONE'],
+ 'BeardConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'MaskConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'FaceBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '191',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '269',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '252',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '95',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '191'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '269'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '252'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '95'],
],
],
'HeadPose' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Pitch' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '18.385589599609375',
- ],
- 'Roll' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4.204030513763428',
- ],
- 'Yaw' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '2.4945924282073975',
- ],
+ 'Pitch' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '18.385589599609375'],
+ 'Roll' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '4.204030513763428'],
+ 'Yaw' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '2.4945924282073975'],
],
],
- 'Beard' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NONE',
- ],
+ 'Beard' => ['description' => '', 'type' => 'string', 'example' => 'NONE'],
],
],
- 'FaceQuality' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9321779608726501',
- ],
- 'Emotion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'HAPPY',
- ],
- 'Age' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '29',
- ],
- 'FaceConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9608758687973022',
- ],
- 'EmotionConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7079545259475708',
- ],
- 'Attractive' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.96',
- ],
- 'GroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'group-not-grouped',
- ],
+ 'FaceQuality' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9321779608726501'],
+ 'Emotion' => ['description' => '', 'type' => 'string', 'example' => 'HAPPY'],
+ 'Age' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '29'],
+ 'FaceConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9608758687973022'],
+ 'EmotionConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7079545259475708'],
+ 'Attractive' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.96'],
+ 'GroupId' => ['description' => '', 'type' => 'string', 'example' => 'group-not-grouped'],
'EmotionDetails' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'HAPPY' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7079545259475708',
- ],
- 'SURPRISED' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.00006676767952740192',
- ],
- 'CALM' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.2918718755245209',
- ],
- 'DISGUSTED' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.000033771051676012576',
- ],
- 'ANGRY' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.00001282201901631197',
- ],
- 'SAD' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.00001527295717096422',
- ],
- 'SCARED' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.0000014976058082538657',
- ],
+ 'HAPPY' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7079545259475708'],
+ 'SURPRISED' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.00006676767952740192'],
+ 'CALM' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.2918718755245209'],
+ 'DISGUSTED' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.000033771051676012576'],
+ 'ANGRY' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.00001282201901631197'],
+ 'SAD' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.00001527295717096422'],
+ 'SCARED' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.0000014976058082538657'],
],
],
],
],
],
- 'ImageQualityStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'OCRFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'AddressFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
+ 'ImageQualityStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'OCRFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'AddressFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
'ImageQuality' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'OverallScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7759467363357544',
- ],
- 'Color' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ColorScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ContrastScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Contrast' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ExposureScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ClarityScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Clarity' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Exposure' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'CompositionScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
+ 'OverallScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7759467363357544'],
+ 'Color' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ColorScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ContrastScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Contrast' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ExposureScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ClarityScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Clarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Exposure' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'CompositionScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
],
],
- 'CroppingSuggestionModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'ImageFormat' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'jpg',
- ],
- 'ImageWidth' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'RemarksArrayB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarkb1","remarkb2"]',
- ],
+ 'CroppingSuggestionModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'ImageFormat' => ['description' => '', 'type' => 'string', 'example' => 'jpg'],
+ 'ImageWidth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'RemarksArrayB' => ['description' => '', 'type' => 'string', 'example' => '["remarkb1","remarkb2"]'],
'CroppingSuggestion' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Score' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8812195897102356',
- ],
+ 'Score' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8812195897102356'],
'CroppingBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '70',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '70'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
- 'AspectRatio' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1:1',
- ],
+ 'AspectRatio' => ['description' => '', 'type' => 'string', 'example' => '1:1'],
],
],
],
- 'Orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"val":"Right-top","type":3}',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkd',
- ],
- 'TagsStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'CroppingSuggestionFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarka',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'TagsModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:12:59.57Z',
- ],
- 'OCRStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'NotProcessed',
- ],
- 'AddressStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'Exif' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"},"ImageHeight":{"value":"417"},"ImageWidth":{"value":"500"},"ResolutionUnit":{"value":"2"},"XResolution":{"value":"96/1"},"YResolution":{"value":"96/1"}}',
- ],
- 'Location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '30.134390,120.074997',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkb',
- ],
+ 'Orientation' => ['description' => '', 'type' => 'string', 'example' => '{"val":"Right-top","type":3}'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarkd'],
+ 'TagsStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'CroppingSuggestionFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'remarka'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'TagsModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:12:59.57Z'],
+ 'OCRStatus' => ['description' => '', 'type' => 'string', 'example' => 'NotProcessed'],
+ 'AddressStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'Exif' => ['description' => '', 'type' => 'string', 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"},"ImageHeight":{"value":"417"},"ImageWidth":{"value":"500"},"ResolutionUnit":{"value":"2"},"XResolution":{"value":"96/1"},"YResolution":{"value":"96/1"}}'],
+ 'Location' => ['description' => '', 'type' => 'string', 'example' => '30.134390,120.074997'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'remarkb'],
],
],
],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk=',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk='],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
],
],
],
@@ -5250,14 +2261,8 @@
'extraInfo' => ' ',
],
'UpdateImage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5270,135 +2275,67 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ser001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ser001'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
[
'name' => 'RemarksA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksa1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksa1'],
],
[
'name' => 'RemarksB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksb1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksb1'],
],
[
'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'SourceUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
[
'name' => 'SourcePosition',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss://imm-test/testcases/',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/'],
],
[
'name' => 'RemarksC',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksc1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksc1'],
],
[
'name' => 'RemarksD',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksd1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksd1'],
],
[
'name' => 'ExternalId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'externalId002',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId002'],
],
[
'name' => 'RemarksArrayA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["remarka11","remarka12"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarka11","remarka12"]'],
],
[
'name' => 'RemarksArrayB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["remarkb11","remarkb12"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarkb11","remarkb12"]'],
],
[
'name' => 'Faces',
@@ -5410,18 +2347,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- ],
- 'GroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Group-e3908e18-6eb9-4453-aacb-26620281870c',
- ],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51'],
+ 'GroupId' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Group-e3908e18-6eb9-4453-aacb-26620281870c'],
],
'required' => false,
],
@@ -5434,66 +2361,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RemarksArrayB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarkb11","remarkb12"]',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-25T10:56:52.461Z',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarksc1',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarksd1',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '7A25A44E-5E7D-4F0C-95C5-BA5BD96B7890',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId002',
- ],
- 'RemarksArrayA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarka11","remarka12"]',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarksa1',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarksb1',
- ],
+ 'RemarksArrayB' => ['description' => '', 'type' => 'string', 'example' => '["remarkb11","remarkb12"]'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-25T10:56:52.461Z'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarksc1'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarksd1'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '7A25A44E-5E7D-4F0C-95C5-BA5BD96B7890'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId002'],
+ 'RemarksArrayA' => ['description' => '', 'type' => 'string', 'example' => '["remarka11","remarka12"]'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'remarksa1'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'remarksb1'],
],
],
],
@@ -5505,14 +2384,8 @@
'extraInfo' => ' ',
],
'IndexImage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5525,155 +2398,77 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
[
'name' => 'RemarksA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AdminGroup/AdminUserA/',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AdminGroup/AdminUserA/'],
],
[
'name' => 'RemarksB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nas://path/to/file',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'nas://path/to/file'],
],
[
'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'SourceUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
[
'name' => 'SourcePosition',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '00000000.010',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '00000000.010'],
],
[
'name' => 'RemarksC',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarkc',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarkc'],
],
[
'name' => 'RemarksD',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarkd',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarkd'],
],
[
'name' => 'ExternalId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'externalId001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId001'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic2',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic2'],
],
[
'name' => 'RemarksArrayA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["remarka1","remarka2"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarka1","remarka2"]'],
],
[
'name' => 'RemarksArrayB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["remarkb1","remarkb2"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarkb1","remarkb2"]'],
],
],
'responses' => [
@@ -5681,66 +2476,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RemarksArrayB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarkb1","remarkb2"]',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkc',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkd',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '144A2D4C-12D5-46D6-BEC9-9AAEE1F10C25',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-11-24T10:56:52.461Z',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId001',
- ],
- 'RemarksArrayA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarka1","remarka2"]',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AdminGroup/AdminUserA/',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nas://path/to/file',
- ],
+ 'RemarksArrayB' => ['description' => '', 'type' => 'string', 'example' => '["remarkb1","remarkb2"]'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarkc'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarkd'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '144A2D4C-12D5-46D6-BEC9-9AAEE1F10C25'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2020-11-24T10:56:52.461Z'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId001'],
+ 'RemarksArrayA' => ['description' => '', 'type' => 'string', 'example' => '["remarka1","remarka2"]'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'AdminGroup/AdminUserA/'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'nas://path/to/file'],
],
],
],
@@ -5751,14 +2498,8 @@
'extraInfo' => ' ',
],
'FindSimilarFaces' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5771,77 +2512,37 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
[
'name' => 'FaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51'],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'MinSimilarity',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.8',
- ],
+ 'schema' => ['description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.8'],
],
[
'name' => 'ResponseFormat',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'v2'],
],
],
'responses' => [
@@ -5849,32 +2550,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '31A201C4-6824-4A8F-81FE-E0659FDDF1D7',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '31A201C4-6824-4A8F-81FE-E0659FDDF1D7'],
'Faces' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'external001',
- ],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'external001'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
@@ -5883,61 +2568,24 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '191',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '269',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '252',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '95',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '191'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '269'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '252'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '95'],
],
],
],
],
- 'Similarity' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8609305739402771',
- ],
+ 'Similarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8609305739402771'],
'SimilarFaces' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '98ae3c032337161f997a92f8ab9ac9624113368b9e4f93f6143d54a16e51b623',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face3.jpg',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'external003',
- ],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => '98ae3c032337161f997a92f8ab9ac9624113368b9e4f93f6143d54a16e51b623'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face3.jpg'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'external003'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
@@ -5946,40 +2594,15 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '152',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '139',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '141',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '267',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '152'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '139'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '141'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '267'],
],
],
],
],
- 'Similarity' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8609305739402771',
- ],
+ 'Similarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8609305739402771'],
],
],
],
@@ -5998,14 +2621,8 @@
'extraInfo' => ' ',
],
'CompareImageFaces' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6018,65 +2635,32 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'set001'],
],
[
'name' => 'ImageUriA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/face1.jpg'],
],
[
'name' => 'ImageUriB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss://imm-test/testcases/face2.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/face2.jpg'],
],
[
'name' => 'FaceIdA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****'],
],
[
'name' => 'FaceIdB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****'],
],
],
'responses' => [
@@ -6084,31 +2668,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'F73AC982-2B9E-4ECD-AED5-F8331C5A1988',
- ],
- 'Similarity' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8848152756690983',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'F73AC982-2B9E-4ECD-AED5-F8331C5A1988'],
+ 'Similarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8848152756690983'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
'FaceA' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****',
- ],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
@@ -6117,30 +2684,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '191',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '269',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '252',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '95',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '191'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '269'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '252'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '95'],
],
],
],
@@ -6151,11 +2698,7 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****',
- ],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => 'b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
@@ -6164,30 +2707,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '72',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '83',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '89',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '249',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '72'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '83'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '89'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '249'],
],
],
],
@@ -6205,14 +2728,8 @@
'extraInfo' => ' ',
],
'ListFaceGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6225,135 +2742,67 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA==',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'CAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA=='],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DESC',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
[
'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FaceCount',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'FaceCount'],
],
[
'name' => 'RemarksAQuery',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}'],
],
[
'name' => 'RemarksBQuery',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}'],
],
[
'name' => 'RemarksCQuery',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}'],
],
[
'name' => 'RemarksDQuery',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}'],
],
[
'name' => 'RemarksArrayAQuery',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}'],
],
[
'name' => 'RemarksArrayBQuery',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' {"PREFIX": "start-with-this","NOT-PREFIX": "not-start-with-this","IN": ["ONE","OF","THIS"],"NOT-IN": ["NONE","FROM","THOSE"]}'],
],
[
'name' => 'ExternalId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'externalId001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId001'],
],
],
'responses' => [
@@ -6361,175 +2810,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '6CD6F064-6999-4B64-B057-5FBD09E48C46',
- ],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA==',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '6CD6F064-6999-4B64-B057-5FBD09E48C46'],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'CAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA=='],
'FaceGroups' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Gender' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MALE',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-11T02:18:26.174Z',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Gender' => ['description' => '', 'type' => 'string', 'example' => 'MALE'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-11T02:18:26.174Z'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => ''],
'GroupCoverFace' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'FaceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'b30a7a36997ce986965680fed90c397fc70a533af511346f819976c6a138c594',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/face1.jpg',
- ],
+ 'FaceId' => ['description' => '', 'type' => 'string', 'example' => 'b30a7a36997ce986965680fed90c397fc70a533af511346f819976c6a138c594'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/face1.jpg'],
'FaceBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '49',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '46',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '45',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '49'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '46'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '45'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
],
],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '61e24632982b3e7598f74d4a95a2706cb11b3408#61e2463254140e7b68044db1aeca52771ae6bdb3',
- ],
- 'ImageHeight' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '374',
- ],
- 'ImageWidth' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '739',
- ],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => '61e24632982b3e7598f74d4a95a2706cb11b3408#61e2463254140e7b68044db1aeca52771ae6bdb3'],
+ 'ImageHeight' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '374'],
+ 'ImageWidth' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '739'],
],
],
- 'FaceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'RemarksArrayB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarksb1","remarksb2"]',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'MaxAge' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '28',
- ],
- 'GroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Group-48fdd4bd-62c3-4daa-ad98-ae6a4173a130',
- ],
- 'GroupName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'facegrouptest',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/',
- ],
- 'AverageAge' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '26.4',
- ],
- 'RemarksArrayA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["remarksa1","remarksa2"]',
- ],
- 'MinAge' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '23',
- ],
- 'ImageCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalIdtest',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'face1.jpg',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-11T02:18:26.174Z',
- ],
+ 'FaceCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'RemarksArrayB' => ['description' => '', 'type' => 'string', 'example' => '["remarksb1","remarksb2"]'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'MaxAge' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '28'],
+ 'GroupId' => ['description' => '', 'type' => 'string', 'example' => 'Group-48fdd4bd-62c3-4daa-ad98-ae6a4173a130'],
+ 'GroupName' => ['description' => '', 'type' => 'string', 'example' => 'facegrouptest'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/'],
+ 'AverageAge' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '26.4'],
+ 'RemarksArrayA' => ['description' => '', 'type' => 'string', 'example' => '["remarksa1","remarksa2"]'],
+ 'MinAge' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '23'],
+ 'ImageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalIdtest'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'face1.jpg'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-11T02:18:26.174Z'],
],
],
],
@@ -6544,14 +2870,8 @@
'extraInfo' => ' ',
],
'UpdateFaceGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6564,136 +2884,67 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09'],
],
[
'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'mygroup',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'mygroup'],
],
[
'name' => 'GroupCoverFaceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8ba3460c1dcaa81f53b56e30c69d46693db215cf19aa19265f979913c24c8ef1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '8ba3460c1dcaa81f53b56e30c69d46693db215cf19aa19265f979913c24c8ef1'],
],
[
'name' => 'RemarksA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksa11',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksa11'],
],
[
'name' => 'RemarksB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksb11',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksb11'],
],
[
'name' => 'RemarksC',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksc11',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksc11'],
],
[
'name' => 'RemarksD',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarksd11',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksd11'],
],
[
'name' => 'RemarksArrayA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["remarka11","remarka12"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarka11","remarka12"]'],
],
[
'name' => 'RemarksArrayB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["remarkb11","remarkb12"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarkb11","remarkb12"]'],
],
[
'name' => 'ExternalId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'externalIdtest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalIdtest'],
],
[
'name' => 'ResetItems',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["GroupName"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["GroupName"]'],
],
],
'responses' => [
@@ -6701,21 +2952,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A1104C7E-AA5E-4D5F-8A00-6BFD608103D2',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'GroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'A1104C7E-AA5E-4D5F-8A00-6BFD608103D2'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'GroupId' => ['description' => '', 'type' => 'string', 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09'],
],
],
],
@@ -6728,14 +2967,8 @@
'extraInfo' => ' ',
],
'CreateGroupFacesJob' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6748,44 +2981,22 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic1'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
],
],
'responses' => [
@@ -6793,26 +3004,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'JobType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'GroupImageFacesJob',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'BCF7B6EC-F97D-4594-866C-B421B82B24FE',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'JobId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'GroupImageFacesJob-fb9586a7-f91d-46b9-8e70-b669892cf34d',
- ],
+ 'JobType' => ['description' => '', 'type' => 'string', 'example' => 'GroupImageFacesJob'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'BCF7B6EC-F97D-4594-866C-B421B82B24FE'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'JobId' => ['description' => '', 'type' => 'string', 'example' => 'GroupImageFacesJob-fb9586a7-f91d-46b9-8e70-b669892cf34d'],
],
],
],
@@ -6823,14 +3018,8 @@
'extraInfo' => ' ',
],
'CreateMergeFaceGroupsJob' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6843,74 +3032,37 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic1'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
],
[
'name' => 'GroupIdFrom',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Group-c1f55987-360b-4640-9e2c-f5c29f930a3b',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Group-c1f55987-360b-4640-9e2c-f5c29f930a3b'],
],
[
'name' => 'GroupIdTo',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09'],
],
[
'name' => 'CustomMessage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abc',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
],
'responses' => [
@@ -6919,36 +3071,12 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'GroupIdFrom' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Group-c1f55987-360b-4640-9e2c-f5c29f930a3b',
- ],
- 'JobType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MergeFaceGroupsJob',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3FF344BF-87A9-4AC3-A3DE-9E1FAED7D1FE',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
- 'GroupIdTo' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09',
- ],
- 'JobId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MergeFaceGroupsJob-055995ef-9c5e-4db4-a99a-0900d1e31d26',
- ],
+ 'GroupIdFrom' => ['description' => '', 'type' => 'string', 'example' => 'Group-c1f55987-360b-4640-9e2c-f5c29f930a3b'],
+ 'JobType' => ['description' => '', 'type' => 'string', 'example' => 'MergeFaceGroupsJob'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '3FF344BF-87A9-4AC3-A3DE-9E1FAED7D1FE'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
+ 'GroupIdTo' => ['description' => '', 'type' => 'string', 'example' => 'Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09'],
+ 'JobId' => ['description' => '', 'type' => 'string', 'example' => 'MergeFaceGroupsJob-055995ef-9c5e-4db4-a99a-0900d1e31d26'],
],
],
],
@@ -6959,14 +3087,8 @@
'extraInfo' => ' ',
],
'ListSetTags' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6979,24 +3101,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'set001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
],
'responses' => [
@@ -7004,39 +3114,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DC5CF0A7-7A3A-43D0-888C-AC275EA4A6F9',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'set001',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'DC5CF0A7-7A3A-43D0-888C-AC275EA4A6F9'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
'Tags' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'TagCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'TagCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TagLevel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -7052,14 +3140,8 @@
'extraInfo' => ' ',
],
'GetImageQuality' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7072,24 +3154,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/qualitytest.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/qualitytest.jpg'],
],
],
'responses' => [
@@ -7101,78 +3171,20 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'OverallScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.7759467363357544',
- ],
- 'Color' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ColorScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ContrastScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Contrast' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ExposureScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'ClarityScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Clarity' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'Exposure' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
- 'CompositionScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6101377010345459',
- ],
+ 'OverallScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.7759467363357544'],
+ 'Color' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ColorScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ContrastScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Contrast' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ExposureScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'ClarityScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Clarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'Exposure' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
+ 'CompositionScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6101377010345459'],
],
],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '7F89F18C-40BF-4E1C-95C4-324FF00BFAE8',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/qualitytest.jpg',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '7F89F18C-40BF-4E1C-95C4-324FF00BFAE8'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/qualitytest.jpg'],
],
],
],
@@ -7184,14 +3196,8 @@
'extraInfo' => ' ',
],
'GetImageCroppingSuggestions' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7204,35 +3210,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/imagecroppingtest.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/imagecroppingtest.jpg'],
],
[
'name' => 'AspectRatios',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["1:1","2:3"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["1:1","2:3"]'],
],
],
'responses' => [
@@ -7240,63 +3228,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EA153782-13A5-44EE-835A-90A14FC51352',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/imagecroppingtest.jpg',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'EA153782-13A5-44EE-835A-90A14FC51352'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/imagecroppingtest.jpg'],
'CroppingSuggestions' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Score' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.6979608535766602',
- ],
+ 'Score' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.6979608535766602'],
'CroppingBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '77',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '77'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
- 'AspectRatio' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1:1',
- ],
+ 'AspectRatio' => ['description' => '', 'type' => 'string', 'example' => '1:1'],
],
],
],
@@ -7311,14 +3262,8 @@
'extraInfo' => ' ',
],
'DetectQRCodes' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7331,22 +3276,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SrcUris',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[“oss://imm-test/testcases/QRcodetest.jpg”]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[“oss://imm-test/testcases/QRcodetest.jpg”]'],
],
],
'responses' => [
@@ -7360,11 +3295,7 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SrcUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/QRcodetest.jpg',
- ],
+ 'SrcUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/QRcodetest.jpg'],
'QRCodes' => [
'description' => '',
'type' => 'array',
@@ -7375,65 +3306,29 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '295',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '741',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '706',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '460',
- ],
+ 'Top' => ['description' => '', 'type' => 'string', 'example' => '295'],
+ 'Width' => ['description' => '', 'type' => 'string', 'example' => '741'],
+ 'Height' => ['description' => '', 'type' => 'string', 'example' => '706'],
+ 'Left' => ['description' => '', 'type' => 'string', 'example' => '460'],
],
],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://www.aliyun.com/product/imm',
- ],
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => 'https://www.aliyun.com/product/imm'],
],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E6A558B8-87C1-45BE-90B9-26049B0BAB01',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'E6A558B8-87C1-45BE-90B9-26049B0BAB01'],
'FailDetails' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ErrorMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'The resource SrcUris is not valid. Please check.',
- ],
- 'SrcUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/QRcodetest.jpg',
- ],
- 'ErrorCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'InvalidSrcUris',
- ],
+ 'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'The resource SrcUris is not valid. Please check.'],
+ 'SrcUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/QRcodetest.jpg'],
+ 'ErrorCode' => ['description' => '', 'type' => 'string', 'example' => 'InvalidSrcUris'],
],
],
],
@@ -7447,14 +3342,8 @@
'responseParamsDescription' => ' ',
],
'DetectImageQRCodes' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7467,24 +3356,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/QRcodetest.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/QRcodetest.jpg'],
],
],
'responses' => [
@@ -7492,55 +3369,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '52D33EAE-88B2-4ADE-A5DB-18BD426617A5',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/QRcodetest.jpg',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '52D33EAE-88B2-4ADE-A5DB-18BD426617A5'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/QRcodetest.jpg'],
'QRCodes' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://www.aliyun.com/product/imm',
- ],
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => 'https://www.aliyun.com/product/imm'],
'QRCodeBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '295',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '741',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '706',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '460',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '295'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '741'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '706'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '460'],
],
],
],
@@ -7557,14 +3402,8 @@
'extraInfo' => ' ',
],
'DetectImageTags' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7577,24 +3416,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/facetest.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/facetest.jpg'],
],
],
'responses' => [
@@ -7602,60 +3429,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '91AC8C98-0F36-49D2-8290-742E24DF1F69',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/facetest.jpg',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '91AC8C98-0F36-49D2-8290-742E24DF1F69'],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/facetest.jpg'],
'Tags' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ParentTagEnName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'person',
- ],
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'TagConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9897482395172119',
- ],
- 'CentricScore' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'TagEnName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'face',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ParentTagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'ParentTagEnName' => ['description' => '', 'type' => 'string', 'example' => 'person'],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'TagConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9897482395172119'],
+ 'CentricScore' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'TagEnName' => ['description' => '', 'type' => 'string', 'example' => 'face'],
+ 'TagLevel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ParentTagName' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -7669,14 +3457,8 @@
'extraInfo' => ' ',
],
'DetectImageFaces' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7689,245 +3471,76 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'immimagetest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immimagetest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/facetest.jpg',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'oss://imm-test/testcases/facetest.jpg', 'required' => true, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'example' => 'D2C628B8-35DF-473C-8A41-757F30202ADC',
- 'type' => 'string',
- ],
- 'ImageUri' => [
- 'description' => '',
- 'example' => 'oss://imm-test/testcases/facetest.png',
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '', 'example' => 'D2C628B8-35DF-473C-8A41-757F30202ADC', 'type' => 'string'],
+ 'ImageUri' => ['description' => '', 'example' => 'oss://imm-test/testcases/facetest.png', 'type' => 'string'],
'Faces' => [
'description' => '',
'items' => [
'properties' => [
- 'AttractiveConfidence' => [
- 'description' => '',
- 'example' => '0.9321795701980591',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Gender' => [
- 'description' => '',
- 'example' => 'FEMALE',
- 'type' => 'string',
- ],
- 'GenderConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'FaceId' => [
- 'description' => '',
- 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51',
- 'type' => 'string',
- ],
+ 'AttractiveConfidence' => ['description' => '', 'example' => '0.9321795701980591', 'format' => 'float', 'type' => 'number'],
+ 'Gender' => ['description' => '', 'example' => 'FEMALE', 'type' => 'string'],
+ 'GenderConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
+ 'FaceId' => ['description' => '', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51', 'type' => 'string'],
'FaceAttributes' => [
'description' => '',
'properties' => [
- 'GlassesConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Glasses' => [
- 'description' => '',
- 'example' => 'NONE',
- 'type' => 'string',
- ],
- 'Mask' => [
- 'description' => '',
- 'example' => 'NONE',
- 'type' => 'string',
- ],
- 'BeardConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'MaskConfidence' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'GlassesConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
+ 'Glasses' => ['description' => '', 'example' => 'NONE', 'type' => 'string'],
+ 'Mask' => ['description' => '', 'example' => 'NONE', 'type' => 'string'],
+ 'BeardConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
+ 'MaskConfidence' => ['description' => '', 'example' => '1', 'format' => 'float', 'type' => 'number'],
'FaceBoundary' => [
'description' => '',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'example' => '191',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Width' => [
- 'description' => '',
- 'example' => '269',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Height' => [
- 'description' => '',
- 'example' => '252',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Left' => [
- 'description' => '',
- 'example' => '95',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
+ 'Top' => ['description' => '', 'example' => '191', 'format' => 'int32', 'type' => 'integer'],
+ 'Width' => ['description' => '', 'example' => '269', 'format' => 'int32', 'type' => 'integer'],
+ 'Height' => ['description' => '', 'example' => '252', 'format' => 'int32', 'type' => 'integer'],
+ 'Left' => ['description' => '', 'example' => '95', 'format' => 'int32', 'type' => 'integer'],
],
'type' => 'object',
],
'HeadPose' => [
'description' => '',
'properties' => [
- 'Pitch' => [
- 'description' => '',
- 'example' => '18.38559913635254',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Roll' => [
- 'description' => '',
- 'example' => '4.204077243804932',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Yaw' => [
- 'description' => '',
- 'example' => '2.49458646774292',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'Pitch' => ['description' => '', 'example' => '18.38559913635254', 'format' => 'float', 'type' => 'number'],
+ 'Roll' => ['description' => '', 'example' => '4.204077243804932', 'format' => 'float', 'type' => 'number'],
+ 'Yaw' => ['description' => '', 'example' => '2.49458646774292', 'format' => 'float', 'type' => 'number'],
],
'type' => 'object',
],
- 'Beard' => [
- 'description' => '',
- 'example' => 'NONE',
- 'type' => 'string',
- ],
+ 'Beard' => ['description' => '', 'example' => 'NONE', 'type' => 'string'],
],
'type' => 'object',
],
- 'FaceQuality' => [
- 'description' => '',
- 'example' => '0.9321795701980591',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Emotion' => [
- 'description' => '',
- 'example' => 'HAPPY',
- 'type' => 'string',
- ],
- 'Age' => [
- 'description' => '',
- 'example' => '29',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'FaceConfidence' => [
- 'description' => '',
- 'example' => '0.960875928401947',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'EmotionConfidence' => [
- 'description' => '',
- 'example' => '0.7078456878662109',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'Attractive' => [
- 'description' => '',
- 'example' => '0.96',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'AgeConfidence' => [
- 'description' => '',
- 'example' => '0.9321795701980591',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'FaceQuality' => ['description' => '', 'example' => '0.9321795701980591', 'format' => 'float', 'type' => 'number'],
+ 'Emotion' => ['description' => '', 'example' => 'HAPPY', 'type' => 'string'],
+ 'Age' => ['description' => '', 'example' => '29', 'format' => 'int32', 'type' => 'integer'],
+ 'FaceConfidence' => ['description' => '', 'example' => '0.960875928401947', 'format' => 'float', 'type' => 'number'],
+ 'EmotionConfidence' => ['description' => '', 'example' => '0.7078456878662109', 'format' => 'float', 'type' => 'number'],
+ 'Attractive' => ['description' => '', 'example' => '0.96', 'format' => 'float', 'type' => 'number'],
+ 'AgeConfidence' => ['description' => '', 'example' => '0.9321795701980591', 'format' => 'float', 'type' => 'number'],
'EmotionDetails' => [
'description' => '',
'properties' => [
- 'HAPPY' => [
- 'description' => '',
- 'example' => '0.7078456878662109',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'CALM' => [
- 'description' => '',
- 'example' => '0.2919808030128479',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'SURPRISED' => [
- 'description' => '',
- 'example' => '0.00006672900053672493',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'DISGUSTED' => [
- 'description' => '',
- 'example' => '0.00003373104118509218',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'ANGRY' => [
- 'description' => '',
- 'example' => '0.000012824941222788766',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'SAD' => [
- 'description' => '',
- 'example' => '0.00001525594689155696',
- 'format' => 'float',
- 'type' => 'number',
- ],
- 'SCARED' => [
- 'description' => '',
- 'example' => '0.0000014968593404773856',
- 'format' => 'float',
- 'type' => 'number',
- ],
+ 'HAPPY' => ['description' => '', 'example' => '0.7078456878662109', 'format' => 'float', 'type' => 'number'],
+ 'CALM' => ['description' => '', 'example' => '0.2919808030128479', 'format' => 'float', 'type' => 'number'],
+ 'SURPRISED' => ['description' => '', 'example' => '0.00006672900053672493', 'format' => 'float', 'type' => 'number'],
+ 'DISGUSTED' => ['description' => '', 'example' => '0.00003373104118509218', 'format' => 'float', 'type' => 'number'],
+ 'ANGRY' => ['description' => '', 'example' => '0.000012824941222788766', 'format' => 'float', 'type' => 'number'],
+ 'SAD' => ['description' => '', 'example' => '0.00001525594689155696', 'format' => 'float', 'type' => 'number'],
+ 'SCARED' => ['description' => '', 'example' => '0.0000014968593404773856', 'format' => 'float', 'type' => 'number'],
],
'type' => 'object',
],
@@ -7948,14 +3561,8 @@
'responseParamsDescription' => ' ',
],
'DetectImageBodies' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7968,24 +3575,12 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/bodytest.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/bodytest.jpg'],
],
],
'responses' => [
@@ -7993,61 +3588,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '8AE4DA72-07F7-4BBC-8ECD-CBE8877BAD06',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '8AE4DA72-07F7-4BBC-8ECD-CBE8877BAD06'],
'Bodies' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'BodyConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.9966312050819397',
- ],
+ 'BodyConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.9966312050819397'],
'BodyBoundary' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Top' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '65',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '372',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '560',
- ],
- 'Left' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '51',
- ],
+ 'Top' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '65'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '372'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '560'],
+ 'Left' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '51'],
],
],
],
],
],
- 'ImageUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/bodytest.jpg',
- ],
+ 'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/bodytest.jpg'],
],
],
],
@@ -8059,14 +3621,8 @@
'extraInfo' => ' ',
],
'EncodeBlindWatermark' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8079,107 +3635,51 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'immimagetest',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immimagetest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/watermarktestbefore.jpg',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'oss://imm-test/testcases/watermarktestbefore.jpg', 'required' => true, 'type' => 'string'],
],
[
'name' => 'WatermarkUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => false,
- 'example' => 'oss://imm-test/testcases/test.jpg',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => false, 'example' => 'oss://imm-test/testcases/test.jpg', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TargetUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/watermarktestafter.jpg',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => 'oss://imm-test/testcases/watermarktestafter.jpg', 'required' => true, 'type' => 'string'],
],
[
'name' => 'ImageQuality',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '90',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '90', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TargetImageType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'jpg',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'jpg', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Model',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => 'DWT_IBG',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => 'DWT_IBG', 'required' => false, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'example' => '8E0DD64B-28C6-4653-8FF7-93E4C234BCF0',
- 'type' => 'string',
- ],
- 'Content' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'TargetUri' => [
- 'description' => '',
- 'example' => 'oss://imm-test/testcases/watermarktestafter.jpg',
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '', 'example' => '8E0DD64B-28C6-4653-8FF7-93E4C234BCF0', 'type' => 'string'],
+ 'Content' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'TargetUri' => ['description' => '', 'example' => 'oss://imm-test/testcases/watermarktestafter.jpg', 'type' => 'string'],
],
'type' => 'object',
],
@@ -8190,14 +3690,8 @@
'responseParamsDescription' => ' ',
],
'DecodeBlindWatermark' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8210,68 +3704,32 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immimagetest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/watermarktestafter.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/watermarktestafter.jpg'],
],
[
'name' => 'OriginalImageUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/watermarktestbefore.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/watermarktestbefore.jpg'],
],
[
'name' => 'TargetUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/decodewatermarktest.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/decodewatermarktest.jpg'],
],
[
'name' => 'ImageQuality',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '90',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '90'],
],
[
'name' => 'Model',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DWT_IBG',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'DWT_IBG'],
],
],
'responses' => [
@@ -8279,16 +3737,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3B2ED30A-5C90-40D7-903B-8C31C7DBA3C6',
- ],
- 'TargetUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/decodewatermarktest.jpg',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '3B2ED30A-5C90-40D7-903B-8C31C7DBA3C6'],
+ 'TargetUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/decodewatermarktest.jpg'],
],
],
],
@@ -8299,14 +3749,8 @@
'extraInfo' => ' ',
],
'GetMediaMeta' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8314,31 +3758,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'MediaUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/video.mp4'],
],
],
'responses' => [
@@ -8346,16 +3776,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'MediaUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2213B1A9-EB3D-4666-84E0-24980BCC4649',
- ],
+ 'MediaUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '2213B1A9-EB3D-4666-84E0-24980BCC4649'],
'MediaMeta' => [
'description' => '',
'type' => 'object',
@@ -8364,140 +3786,42 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'CreationTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-10-25T09:16:09.000000Z',
- ],
- 'NumberPrograms' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'NumberStreams' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'CreationTime' => ['description' => '', 'type' => 'string', 'example' => '2020-10-25T09:16:09.000000Z'],
+ 'NumberPrograms' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'NumberStreams' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'Tag' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'CreationTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2020-10-25T09:16:09.000000Z',
- ],
- 'Album' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
- 'AlbumArtist' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
- 'Performer' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
- 'Composer' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
- 'Artist' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
- 'Title' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
- 'Language' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'unable',
- ],
+ 'CreationTime' => ['description' => '', 'type' => 'string', 'example' => '2020-10-25T09:16:09.000000Z'],
+ 'Album' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
+ 'AlbumArtist' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
+ 'Performer' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
+ 'Composer' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
+ 'Artist' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
+ 'Title' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
+ 'Language' => ['description' => '', 'type' => 'string', 'example' => 'unable'],
],
],
- 'Bitrate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '13164131',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0.000000',
- ],
- 'Size' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '25115517',
- ],
+ 'Bitrate' => ['description' => '', 'type' => 'string', 'example' => '13164131'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '0.000000'],
+ 'Size' => ['description' => '', 'type' => 'string', 'example' => '25115517'],
'Address' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Township' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'District' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'AddressLine' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Country' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'City' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Province' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Township' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'District' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'AddressLine' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Country' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'City' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Province' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
- 'FormatLongName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'QuickTime / MOV',
- ],
- 'Duration' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '15.263000',
- ],
- 'FormatName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mov,mp4,m4a,3gp,3g2,mj2',
- ],
- 'Location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '30.134390,120.074997',
- ],
+ 'FormatLongName' => ['description' => '', 'type' => 'string', 'example' => 'QuickTime / MOV'],
+ 'Duration' => ['description' => '', 'type' => 'string', 'example' => '15.263000'],
+ 'FormatName' => ['description' => '', 'type' => 'string', 'example' => 'mov,mp4,m4a,3gp,3g2,mj2'],
+ 'Location' => ['description' => '', 'type' => 'string', 'example' => '30.134390,120.074997'],
],
],
'MediaStreams' => [
@@ -8510,126 +3834,29 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CodecLongName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
- ],
- 'Height' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1920',
- ],
- 'SampleAspectRatio' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1:1',
- ],
- 'AverageFrameRate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '41580000/1373627',
- ],
- 'Bitrate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '13091201',
- ],
- 'Rotate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '90',
- ],
- 'CodecTagString' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'avc1',
- ],
- 'Language' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'eng',
- ],
- 'HasBFrames' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'FrameRrate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '90000/1',
- ],
- 'Profile' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Baseline',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0.000000',
- ],
- 'Frames' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '462',
- ],
- 'CodecName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'h264',
- ],
- 'Width' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1080',
- ],
- 'Duration' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '15.262522',
- ],
- 'DisplayAspectRatio' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '9:16',
- ],
- 'CodecTag' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0x31637661',
- ],
- 'CodecTimeBase' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1373627/83160000',
- ],
- 'TimeBase' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1/90000',
- ],
- 'Level' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
- 'PixelFormat' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'yuv420p',
- ],
+ 'Index' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'CodecLongName' => ['description' => '', 'type' => 'string', 'example' => 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10'],
+ 'Height' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1920'],
+ 'SampleAspectRatio' => ['description' => '', 'type' => 'string', 'example' => '1:1'],
+ 'AverageFrameRate' => ['description' => '', 'type' => 'string', 'example' => '41580000/1373627'],
+ 'Bitrate' => ['description' => '', 'type' => 'string', 'example' => '13091201'],
+ 'Rotate' => ['description' => '', 'type' => 'string', 'example' => '90'],
+ 'CodecTagString' => ['description' => '', 'type' => 'string', 'example' => 'avc1'],
+ 'Language' => ['description' => '', 'type' => 'string', 'example' => 'eng'],
+ 'HasBFrames' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'FrameRrate' => ['description' => '', 'type' => 'string', 'example' => '90000/1'],
+ 'Profile' => ['description' => '', 'type' => 'string', 'example' => 'Baseline'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '0.000000'],
+ 'Frames' => ['description' => '', 'type' => 'string', 'example' => '462'],
+ 'CodecName' => ['description' => '', 'type' => 'string', 'example' => 'h264'],
+ 'Width' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1080'],
+ 'Duration' => ['description' => '', 'type' => 'string', 'example' => '15.262522'],
+ 'DisplayAspectRatio' => ['description' => '', 'type' => 'string', 'example' => '9:16'],
+ 'CodecTag' => ['description' => '', 'type' => 'string', 'example' => '0x31637661'],
+ 'CodecTimeBase' => ['description' => '', 'type' => 'string', 'example' => '1373627/83160000'],
+ 'TimeBase' => ['description' => '', 'type' => 'string', 'example' => '1/90000'],
+ 'Level' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '40'],
+ 'PixelFormat' => ['description' => '', 'type' => 'string', 'example' => 'yuv420p'],
],
],
],
@@ -8639,88 +3866,22 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SampleRate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '44100',
- ],
- 'ChannelLayout' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mono',
- ],
- 'CodecLongName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAC (Advanced Audio Coding)',
- ],
- 'Channels' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Bitrate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '64003',
- ],
- 'CodecTagString' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mp4a',
- ],
- 'Language' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'eng',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0.000000',
- ],
- 'SampleFormat' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'fltp',
- ],
- 'Frames' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '656',
- ],
- 'CodecName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aac',
- ],
- 'Duration' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '15.256803',
- ],
- 'CodecTag' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0x6134706d',
- ],
- 'CodecTimeBase' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1/44100',
- ],
- 'TimeBase' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1/44100',
- ],
+ 'Index' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SampleRate' => ['description' => '', 'type' => 'string', 'example' => '44100'],
+ 'ChannelLayout' => ['description' => '', 'type' => 'string', 'example' => 'mono'],
+ 'CodecLongName' => ['description' => '', 'type' => 'string', 'example' => 'AAC (Advanced Audio Coding)'],
+ 'Channels' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Bitrate' => ['description' => '', 'type' => 'string', 'example' => '64003'],
+ 'CodecTagString' => ['description' => '', 'type' => 'string', 'example' => 'mp4a'],
+ 'Language' => ['description' => '', 'type' => 'string', 'example' => 'eng'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '0.000000'],
+ 'SampleFormat' => ['description' => '', 'type' => 'string', 'example' => 'fltp'],
+ 'Frames' => ['description' => '', 'type' => 'string', 'example' => '656'],
+ 'CodecName' => ['description' => '', 'type' => 'string', 'example' => 'aac'],
+ 'Duration' => ['description' => '', 'type' => 'string', 'example' => '15.256803'],
+ 'CodecTag' => ['description' => '', 'type' => 'string', 'example' => '0x6134706d'],
+ 'CodecTimeBase' => ['description' => '', 'type' => 'string', 'example' => '1/44100'],
+ 'TimeBase' => ['description' => '', 'type' => 'string', 'example' => '1/44100'],
],
],
],
@@ -8730,17 +3891,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Language' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'eng',
- ],
+ 'Index' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Language' => ['description' => '', 'type' => 'string', 'example' => 'eng'],
],
],
],
@@ -8759,14 +3911,8 @@
'extraInfo' => ' ',
],
'IndexVideo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8779,116 +3925,57 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'videotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'videotest'],
],
[
'name' => 'VideoUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/video.mp4'],
],
[
'name' => 'RemarksA',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AdminGroup/AdminUserA/',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AdminGroup/AdminUserA/'],
],
[
'name' => 'RemarksB',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nas://path/to/file',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'nas://path/to/file'],
],
[
'name' => 'TgtUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss://imm-test/testcases',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases'],
],
[
'name' => 'RemarksC',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'remarkc',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'remarkc'],
],
[
'name' => 'RemarksD',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remarkd',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarkd'],
],
[
'name' => 'ExternalId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'externalId001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId001'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic2',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic2'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
],
],
'responses' => [
@@ -8896,56 +3983,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:41.683Z',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '896ABAD1-C452-4BED-B5E0-302955F8BAB5',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:41.683Z',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId001',
- ],
- 'VideoUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AdminGroup/AdminUserA/',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nas://path/to/file',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkc',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkd',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'videoset',
- ],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:41.683Z'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '896ABAD1-C452-4BED-B5E0-302955F8BAB5'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:41.683Z'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId001'],
+ 'VideoUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'AdminGroup/AdminUserA/'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'nas://path/to/file'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarkc'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarkd'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'videoset'],
],
],
],
@@ -8957,14 +4004,8 @@
'extraInfo' => ' ',
],
'ListVideos' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8977,45 +4018,22 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'videotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'videotest'],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2021-01-21T06:40:41.683Z',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2021-01-21T06:40:41.683Z'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk=',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk='],
],
],
'responses' => [
@@ -9023,178 +4041,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'B1469D0A-862A-405E-B81B-37760516627D',
- ],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk=',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'videoset',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'B1469D0A-862A-405E-B81B-37760516627D'],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk='],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'videoset'],
'Videos' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:41.683Z',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkc',
- ],
- 'VideoTagsFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'SourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'video',
- ],
- 'VideoDuration' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '15.263',
- ],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:41.683Z'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarkc'],
+ 'VideoTagsFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'SourceType' => ['description' => '', 'type' => 'string', 'example' => 'video'],
+ 'VideoDuration' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '15.263'],
'VideoTags' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'TagConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8933850526809692',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ParentTagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'TagConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8933850526809692'],
+ 'TagLevel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ParentTagName' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
- 'ProcessModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:53.955Z',
- ],
- 'VideoFrames' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '462',
- ],
- 'VideoTagsStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId001',
- ],
- 'SourceUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'FileSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '25115517',
- ],
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:41.683Z',
- ],
- 'SourcePosition' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '00000000.010',
- ],
- 'VideoWidth' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1080',
- ],
- 'VideoFormat' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mov,mp4,m4a,3gp,3g2,mj2',
- ],
- 'VideoHeight' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1920',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkd',
- ],
- 'VideoUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'ProcessFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'VideoTagsModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:53.95Z',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AdminGroup/AdminUserA/',
- ],
- 'ProcessStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nas://path/to/file',
- ],
+ 'ProcessModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:53.955Z'],
+ 'VideoFrames' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '462'],
+ 'VideoTagsStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId001'],
+ 'SourceUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'FileSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '25115517'],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:41.683Z'],
+ 'SourcePosition' => ['description' => '', 'type' => 'string', 'example' => '00000000.010'],
+ 'VideoWidth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1080'],
+ 'VideoFormat' => ['description' => '', 'type' => 'string', 'example' => 'mov,mp4,m4a,3gp,3g2,mj2'],
+ 'VideoHeight' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1920'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarkd'],
+ 'VideoUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'ProcessFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'VideoTagsModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:53.95Z'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'AdminGroup/AdminUserA/'],
+ 'ProcessStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'nas://path/to/file'],
],
],
],
@@ -9210,14 +4101,8 @@
'extraInfo' => ' ',
],
'GetVideo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9230,35 +4115,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'videoset',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'videoset'],
],
[
'name' => 'VideoUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/video.mp4'],
],
],
'responses' => [
@@ -9266,232 +4133,57 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:41.683Z',
- ],
- 'ProcessStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'VideoWidth' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1080',
- ],
- 'SourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'video',
- ],
- 'SourceUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'VideoInfo' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"MediaStreams":{"VideoStreams":[{"Index":0,"Language":"eng","CodecName":"h264","CodecLongName":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","Profile":"Baseline","CodecTimeBase":"1373627/83160000","CodecTagString":"avc1","CodecTag":"0x31637661","Width":1080,"Height":1920,"SampleAspectRatio":"1:1","DisplayAspectRatio":"9:16","PixelFormat":"yuv420p","Level":40,"FrameRrate":"90000/1","AverageFrameRate":"41580000/1373627","TimeBase":"1/90000","StartTime":"0.000000","Duration":"15.262522","Bitrate":"13091201","Frames":"462"}],"AudioStreams":[],"SubtitleStreams":[]},"MediaFormat":{"NumberStreams":2,"FormatName":"mov,mp4,m4a,3gp,3g2,mj2","FormatLongName":"QuickTime / MOV","Size":"25115517","Duration":"15.263000","StartTime":"0.000000","Bitrate":"13164131","CreationTime":"2020-10-25T09:16:09.000000Z","Address":{},"Tag":{}}}',
- ],
- 'VideoFrameTagsModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1970-01-01T00:00:00Z',
- ],
- 'RemarksA' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AdminGroup/AdminUserA/',
- ],
- 'VideoFacesFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'RemarksB' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nas://path/to/file',
- ],
- 'VideoFacesStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'RemarksC' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkc',
- ],
- 'VideoOCRModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1970-01-01T00:00:00Z',
- ],
- 'RemarksD' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'remarkd',
- ],
- 'VideoHeight' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1920',
- ],
- 'SourcePosition' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '00000000.010',
- ],
- 'VideoOCRFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'VideoFrameTagsStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'VideoTagsFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'VideoTagsModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:53.95Z',
- ],
- 'VideoOCRStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'VideoFrames' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '462',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5FC2B195-B43E-45ED-9BEC-169358550193',
- ],
- 'ProcessModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:53.955Z',
- ],
- 'VideoSTTModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:53.95Z',
- ],
- 'ProcessFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-21T07:40:41.683Z',
- ],
- 'ExternalId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'externalId001',
- ],
- 'VideoSTTFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'VideoUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'VideoFrameTagsFailReason' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Timeout',
- ],
- 'VideoFormat' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mov,mp4,m4a,3gp,3g2,mj2',
- ],
- 'VideoSTTStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'VideoFacesModifyTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1970-01-01T00:00:00Z',
- ],
+ 'ModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:41.683Z'],
+ 'ProcessStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'VideoWidth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1080'],
+ 'SourceType' => ['description' => '', 'type' => 'string', 'example' => 'video'],
+ 'SourceUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'VideoInfo' => ['description' => '', 'type' => 'string', 'example' => '{"MediaStreams":{"VideoStreams":[{"Index":0,"Language":"eng","CodecName":"h264","CodecLongName":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","Profile":"Baseline","CodecTimeBase":"1373627/83160000","CodecTagString":"avc1","CodecTag":"0x31637661","Width":1080,"Height":1920,"SampleAspectRatio":"1:1","DisplayAspectRatio":"9:16","PixelFormat":"yuv420p","Level":40,"FrameRrate":"90000/1","AverageFrameRate":"41580000/1373627","TimeBase":"1/90000","StartTime":"0.000000","Duration":"15.262522","Bitrate":"13091201","Frames":"462"}],"AudioStreams":[],"SubtitleStreams":[]},"MediaFormat":{"NumberStreams":2,"FormatName":"mov,mp4,m4a,3gp,3g2,mj2","FormatLongName":"QuickTime / MOV","Size":"25115517","Duration":"15.263000","StartTime":"0.000000","Bitrate":"13164131","CreationTime":"2020-10-25T09:16:09.000000Z","Address":{},"Tag":{}}}'],
+ 'VideoFrameTagsModifyTime' => ['description' => '', 'type' => 'string', 'example' => '1970-01-01T00:00:00Z'],
+ 'RemarksA' => ['description' => '', 'type' => 'string', 'example' => 'AdminGroup/AdminUserA/'],
+ 'VideoFacesFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'RemarksB' => ['description' => '', 'type' => 'string', 'example' => 'nas://path/to/file'],
+ 'VideoFacesStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'RemarksC' => ['description' => '', 'type' => 'string', 'example' => 'remarkc'],
+ 'VideoOCRModifyTime' => ['description' => '', 'type' => 'string', 'example' => '1970-01-01T00:00:00Z'],
+ 'RemarksD' => ['description' => '', 'type' => 'string', 'example' => 'remarkd'],
+ 'VideoHeight' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1920'],
+ 'SourcePosition' => ['description' => '', 'type' => 'string', 'example' => '00000000.010'],
+ 'VideoOCRFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'VideoFrameTagsStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'VideoTagsFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'VideoTagsModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:53.95Z'],
+ 'VideoOCRStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'VideoFrames' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '462'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '5FC2B195-B43E-45ED-9BEC-169358550193'],
+ 'ProcessModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:53.955Z'],
+ 'VideoSTTModifyTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:53.95Z'],
+ 'ProcessFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-21T07:40:41.683Z'],
+ 'ExternalId' => ['description' => '', 'type' => 'string', 'example' => 'externalId001'],
+ 'VideoSTTFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'VideoUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'VideoFrameTagsFailReason' => ['description' => '', 'type' => 'string', 'example' => 'Timeout'],
+ 'VideoFormat' => ['description' => '', 'type' => 'string', 'example' => 'mov,mp4,m4a,3gp,3g2,mj2'],
+ 'VideoSTTStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'VideoFacesModifyTime' => ['description' => '', 'type' => 'string', 'example' => '1970-01-01T00:00:00Z'],
'VideoTags' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'TagConfidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.8933850526809692',
- ],
- 'TagLevel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ParentTagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'TagConfidence' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8933850526809692'],
+ 'TagLevel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ParentTagName' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
- 'VideoDuration' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '15.263',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'videoset',
- ],
- 'VideoTagsStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'FileSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '25115517',
- ],
+ 'VideoDuration' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '15.263'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'videoset'],
+ 'VideoTagsStatus' => ['description' => '', 'type' => 'string', 'example' => 'Success'],
+ 'FileSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '25115517'],
],
],
],
@@ -9503,14 +4195,8 @@
'extraInfo' => ' ',
],
'DeleteVideo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9523,46 +4209,22 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'videoset',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'videoset'],
],
[
'name' => 'VideoUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/video.mp4'],
],
[
'name' => 'Resources',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false'],
],
],
'responses' => [
@@ -9570,21 +4232,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '7A740EB3-23C6-4002-98D8-F4183328D40C',
- ],
- 'VideoUri' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
- 'SetId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'videoset',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '7A740EB3-23C6-4002-98D8-F4183328D40C'],
+ 'VideoUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/video.mp4'],
+ 'SetId' => ['description' => '', 'type' => 'string', 'example' => 'videoset'],
],
],
],
@@ -9596,14 +4246,8 @@
'extraInfo' => ' ',
],
'GetVideoTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9616,34 +4260,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'VideoAnalyseTask',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'VideoAnalyseTask'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoAnalyseTask-c091c3f5-e6a5-46ce-a0f2-454bd779',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoAnalyseTask-c091c3f5-e6a5-46ce-a0f2-454bd779'],
],
],
'responses' => [
@@ -9651,67 +4278,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Finished',
- ],
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'NotifyEndpoint' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
- 'Parameters' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"EndTime":"","GrabType":"time","Interval":"1","RequestId":"B8982C37-E03A-47CD-A715-D83D128D9FEB","SrcUri":"oss://imm-test/testcases/video.mp4","StartTime":"","TaskType":"VideoAnalyseTask","TgtUri":"oss://imm-test/testcases"}',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoAnalyseTask-c091c3f5-e6a5-46ce-a0f2-454bd779',
- ],
- 'EndTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-28T03:24:25.915048Z',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'C7593402-F428-47B1-80B2-F94B6859F119',
- ],
- 'TaskType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoAnalyseTask',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-28T03:24:23.726372Z',
- ],
- 'NotifyTopicName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'topic1',
- ],
- 'ErrorMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Invalid Argument:VideoUri',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"Key":"{\\"TgtUri\\":\\"oss://imm-test/testcases\\",\\"ImgsUri\\":\\"oss://imm-test/testcases/imgs\\",\\"AudioUri\\":\\"oss://imm-test/testcases/audio\\",\\"ProcessLength\\":\\"10\\",\\"ResultUri\\":\\"oss://imm-test/testcases/result/result.txt\\"}"}',
- ],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'Finished'],
+ 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'NotifyEndpoint' => ['description' => '', 'type' => 'string', 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
+ 'Parameters' => ['description' => '', 'type' => 'string', 'example' => '{"EndTime":"","GrabType":"time","Interval":"1","RequestId":"B8982C37-E03A-47CD-A715-D83D128D9FEB","SrcUri":"oss://imm-test/testcases/video.mp4","StartTime":"","TaskType":"VideoAnalyseTask","TgtUri":"oss://imm-test/testcases"}'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'VideoAnalyseTask-c091c3f5-e6a5-46ce-a0f2-454bd779'],
+ 'EndTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-28T03:24:25.915048Z'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'C7593402-F428-47B1-80B2-F94B6859F119'],
+ 'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'VideoAnalyseTask'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-28T03:24:23.726372Z'],
+ 'NotifyTopicName' => ['description' => '', 'type' => 'string', 'example' => 'topic1'],
+ 'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'Invalid Argument:VideoUri'],
+ 'Result' => ['description' => '', 'type' => 'string', 'example' => '{"Key":"{\\"TgtUri\\":\\"oss://imm-test/testcases\\",\\"ImgsUri\\":\\"oss://imm-test/testcases/imgs\\",\\"AudioUri\\":\\"oss://imm-test/testcases/audio\\",\\"ProcessLength\\":\\"10\\",\\"ResultUri\\":\\"oss://imm-test/testcases/result/result.txt\\"}"}'],
],
],
],
@@ -9722,14 +4300,8 @@
'extraInfo' => ' ',
],
'ListVideoTasks' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9742,44 +4314,22 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'Marker',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b'],
],
[
'name' => 'MaxKeys',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoAnalyseTask',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoAnalyseTask'],
],
],
'responses' => [
@@ -9793,75 +4343,22 @@
'items' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-28T03:24:25.915048Z',
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Finished',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-01-28T03:24:23.726372Z',
- ],
- 'TaskType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoAnalyseTask',
- ],
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'NotifyEndpoint' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
- 'ErrorMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Invalid Argument:VideoUri',
- ],
- 'Parameters' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"EndTime":"","GrabType":"time","Interval":"1","RequestId":"B8982C37-E03A-47CD-A715-D83D128D9FEB","SrcUri":"oss://imm-test/testcases/video.mp4","StartTime":"","TaskType":"VideoAnalyseTask","TgtUri":"oss://imm-test/testcases"}',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"Key":"{\\"TgtUri\\":\\"oss://imm-test/testcases\\",\\"ImgsUri\\":\\"oss://imm-test/testcases/imgs\\",\\"AudioUri\\":\\"oss://imm-test/testcases/audio\\",\\"ProcessLength\\":\\"10\\",\\"ResultUri\\":\\"oss://imm-test/testcases/result/result.txt\\"}"}',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoAnalyseTask-8d7a4a32-f445-47fd-bdff-397a87651879',
- ],
- 'NotifyTopicName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'topic1',
- ],
+ 'EndTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-28T03:24:25.915048Z'],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'Finished'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '2021-01-28T03:24:23.726372Z'],
+ 'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'VideoAnalyseTask'],
+ 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'NotifyEndpoint' => ['description' => '', 'type' => 'string', 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
+ 'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'Invalid Argument:VideoUri'],
+ 'Parameters' => ['description' => '', 'type' => 'string', 'example' => '{"EndTime":"","GrabType":"time","Interval":"1","RequestId":"B8982C37-E03A-47CD-A715-D83D128D9FEB","SrcUri":"oss://imm-test/testcases/video.mp4","StartTime":"","TaskType":"VideoAnalyseTask","TgtUri":"oss://imm-test/testcases"}'],
+ 'Result' => ['description' => '', 'type' => 'string', 'example' => '{"Key":"{\\"TgtUri\\":\\"oss://imm-test/testcases\\",\\"ImgsUri\\":\\"oss://imm-test/testcases/imgs\\",\\"AudioUri\\":\\"oss://imm-test/testcases/audio\\",\\"ProcessLength\\":\\"10\\",\\"ResultUri\\":\\"oss://imm-test/testcases/result/result.txt\\"}"}'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'VideoAnalyseTask-8d7a4a32-f445-47fd-bdff-397a87651879'],
+ 'NotifyTopicName' => ['description' => '', 'type' => 'string', 'example' => 'topic1'],
],
],
],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'B70908A5-02B8-4CEC-A660-2A8A10ADE862',
- ],
- 'NextMarker' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'B70908A5-02B8-4CEC-A660-2A8A10ADE862'],
+ 'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'VideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b'],
],
],
],
@@ -9874,14 +4371,8 @@
'extraInfo' => ' ',
],
'DeleteVideoTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9894,34 +4385,17 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'VideoAnalyseTask',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'VideoAnalyseTask'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoAnalyseTask-d9ee284f-857b-4d64-a73d-88fffe59f354',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoAnalyseTask-d9ee284f-857b-4d64-a73d-88fffe59f354'],
],
],
'responses' => [
@@ -9929,11 +4403,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '02CDECFE-4234-4734-9D4A-F1BB8D3C3374',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '02CDECFE-4234-4734-9D4A-F1BB8D3C3374'],
],
],
],
@@ -9946,14 +4416,8 @@
'extraInfo' => ' ',
],
'CreateVideoCompressTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9966,85 +4430,42 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'VideoUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/video.mp4'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic1'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-beijing.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-beijing.aliyuncs.com'],
],
[
'name' => 'TargetList',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '[{"AudioBitrate":"64k","VideoBitrate":"128k","TargetUri":"oss://imm-test/testcases/example.m3u8"}]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"AudioBitrate":"64k","VideoBitrate":"128k","TargetUri":"oss://imm-test/testcases/example.m3u8"}]'],
],
[
'name' => 'CustomMessage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CompressTaskTest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'CompressTaskTest'],
],
[
'name' => 'TargetSegment',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'TargetSubtitle',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"ExtractFormat":ass,"SubtitleUri":"oss://imm-test/testcases","ExtractType":[]}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{"ExtractFormat":ass,"SubtitleUri":"oss://imm-test/testcases","ExtractType":[]}'],
],
],
'responses' => [
@@ -10052,21 +4473,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CompressVideoTask-c09b0943-ed79-4983-8dbe-7a882574****',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CB4D73A3-BAF4-4A9D-A631-15F219AF****',
- ],
- 'TaskType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CompressVideoTask',
- ],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'CompressVideoTask-c09b0943-ed79-4983-8dbe-7a882574****'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CB4D73A3-BAF4-4A9D-A631-15F219AF****'],
+ 'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'CompressVideoTask'],
],
],
],
@@ -10075,14 +4484,8 @@
'title' => 'CreateVideoCompressTask',
],
'CreateGrabFrameTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10095,65 +4498,32 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'immvideotest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'VideoUri',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oss://imm-test/testcases/video.mp4',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oss://imm-test/testcases/video.mp4'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'topic1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic1'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
],
[
'name' => 'TargetList',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '[{"GrabType":"interval","GrabNumber":"1","TargetUri":"oss://imm-test/testcases/grabframeimage.jpg"}]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{"GrabType":"interval","GrabNumber":"1","TargetUri":"oss://imm-test/testcases/grabframeimage.jpg"}]'],
],
[
'name' => 'CustomMessage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GrabFrameTest',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'GrabFrameTest'],
],
],
'responses' => [
@@ -10161,21 +4531,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'GrabFrameTask-ffcdec0c-73ba-451a-bec4-a9fe3f4cd765',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '10AFFE69-73BA-47C2-8A85-029AA9DA72A3',
- ],
- 'TaskType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'GrabFrameTask',
- ],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'GrabFrameTask-ffcdec0c-73ba-451a-bec4-a9fe3f4cd765'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '10AFFE69-73BA-47C2-8A85-029AA9DA72A3'],
+ 'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'GrabFrameTask'],
],
],
],
@@ -10187,85 +4545,25 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'imm-vpc.cn-beijing-gov-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'imm.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'imm.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'imm.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'imm.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'imm.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'imm.cn-north-2-gov-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'imm.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'imm.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'imm.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'imm.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'imm.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'imm.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'imm.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'imm.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'imm.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'imm.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'imm.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'imm.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'imm.cn-wulanchabu.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'imm-vpc.cn-beijing-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'imm.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'imm.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'imm.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'imm.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'imm.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'imm.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'imm.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'imm.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'imm.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'endpoint' => 'imm.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'imm.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'imm.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'imm.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'imm.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'imm.us-west-1.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'imm.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'imm.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'imm.ap-southeast-2.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'imm.cn-wulanchabu.aliyuncs.com'],
],
];