'1.0',
'info' => ['style' => 'RPC', 'product' => 'imm', 'version' => '2017-09-06'],
'directories' => [
[
'id' => 100259,
'title' => null,
'type' => 'directory',
'children' => ['OpenImmService'],
],
[
'id' => 100262,
'title' => null,
'type' => 'directory',
'children' => ['DeleteProject', 'UpdateProject', 'GetProject', 'ListProjects', 'PutProject'],
],
[
'id' => 100308,
'title' => null,
'type' => 'directory',
'children' => ['CreateSet', 'DeleteSet', 'UpdateSet', 'GetSet', 'ListSets'],
],
[
'id' => 100269,
'title' => null,
'type' => 'directory',
'children' => [
[
'id' => 169900,
'title' => null,
'type' => 'directory',
'children' => ['ConvertOfficeFormat'],
],
[
'id' => 169901,
'title' => null,
'type' => 'directory',
'children' => ['ListOfficeConversionTask', 'GetOfficeConversionTask', 'DeleteOfficeConversionTask', 'CreateOfficeConversionTask'],
],
[
'id' => 169902,
'title' => null,
'type' => 'directory',
'children' => ['RefreshWebofficeToken', 'RefreshOfficePreviewToken', 'GetWebofficeURL', 'GetOfficePreviewURL'],
],
],
],
[
'id' => 100279,
'title' => null,
'type' => 'directory',
'children' => [
[
'id' => 169903,
'title' => null,
'type' => 'directory',
'children' => ['GetImage', 'DeleteImage', 'FindImages', 'ListImages', 'UpdateImage', 'IndexImage'],
],
[
'id' => 169904,
'title' => null,
'type' => 'directory',
'children' => ['FindSimilarFaces', 'CompareImageFaces'],
],
[
'id' => 169905,
'title' => null,
'type' => 'directory',
'children' => ['ListFaceGroups', 'UpdateFaceGroup', 'CreateGroupFacesJob', 'CreateMergeFaceGroupsJob'],
],
[
'id' => 169906,
'title' => null,
'type' => 'directory',
'children' => ['ListSetTags'],
],
[
'id' => 169907,
'title' => null,
'type' => 'directory',
'children' => ['GetImageQuality', 'GetImageCroppingSuggestions', 'DetectQRCodes', 'DetectImageQRCodes', 'DetectImageTags'],
],
[
'id' => 169908,
'title' => null,
'type' => 'directory',
'children' => ['DetectImageFaces', 'DetectImageBodies'],
],
[
'id' => 169909,
'title' => null,
'type' => 'directory',
'children' => ['EncodeBlindWatermark', 'DecodeBlindWatermark'],
],
],
],
[
'id' => 100293,
'title' => null,
'type' => 'directory',
'children' => [
'GetMediaMeta',
[
'id' => 169916,
'title' => null,
'type' => 'directory',
'children' => ['IndexVideo', 'ListVideos', 'GetVideo', 'DeleteVideo'],
],
[
'id' => 169917,
'title' => null,
'type' => 'directory',
'children' => ['GetVideoTask', 'ListVideoTasks', 'DeleteVideoTask', 'CreateVideoCompressTask', 'CreateGrabFrameTask'],
],
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'OpenImmService' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
[
'APP' => [],
],
[
'PrivateKey' => [],
],
[
'BearerToken' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'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****'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ORDER.OPENED', 'errorMessage' => '您已开通,请前往控制台使用'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D28EF0A3-36C0-406A-A8F0-A82019B329B0\\",\\n \\"OrderId\\": \\"20671870851****\\"\\n}","errorExample":""},{"type":"xml","example":"D28EF0A3-36C0-406A-A8F0-A82019B329B0\\n20671870851****","errorExample":""}]',
'title' => 'OpenImmService',
'requestParamsDescription' => ' ',
],
'DeleteProject' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'immtest', 'required' => true, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => ['description' => '', 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B78601870B44', 'type' => 'string'],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FEDC9B1F-30F2-4C1F-8ED2-B78601870B44\\"\\n}","errorExample":""},{"type":"xml","example":"FEDC9B1F-30F2-4C1F-8ED2-B78601870B44","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'UpdateProject' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'NewCU',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6'],
],
[
'name' => 'NewServiceRole',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'immroletest'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Project\\": \\"immtest\\",\\n \\"ModifyTime\\": \\"2020-11-11T06:36:58Z\\",\\n \\"Type\\": \\"DocStarter\\",\\n \\"CU\\": 6,\\n \\"ServiceRole\\": \\"immroletest\\",\\n \\"RequestId\\": \\"D33C3574-4093-448E-86E7-15BE2BD36963\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n}","errorExample":""},{"type":"xml","example":"2020-11-11T06:36:58Z\\nimmtest\\nDocStarter\\n6\\nimmroletest\\nD33C3574-4093-448E-86E7-15BE2BD36963\\n2020-11-10T03:50:28Z\\ncn-hangzhou","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'GetProject' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Project\\": \\"immtest\\",\\n \\"ModifyTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"Type\\": \\"DocStarter\\",\\n \\"CU\\": 5,\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"RequestId\\": \\"5A022F78-B9A8-4ACC-BB6B-B35975534551\\",\\n \\"Endpoint\\": \\"imm.cn-hangzhou.aliyuncs.com\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BillingType\\": \\"ByCU\\"\\n}","errorExample":""},{"type":"xml","example":"2020-11-10T03:50:28Z\\nimmtest\\n5\\nDocStarter\\nAliyunIMMDefaultRole\\nimm.cn-hangzhou.aliyuncs.com\\n5A022F78-B9A8-4ACC-BB6B-B35975534551\\n2020-11-10T03:50:28Z\\ncn-hangzhou\\nByCU","errorExample":""}]',
'title' => 'GetProject',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'ListProjects' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'imm'],
],
[
'name' => 'MaxKeys',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
],
],
],
'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'immimage'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4A7A2D0E-D8B8-4DA0-8127-EB32C6600ADE\\",\\n \\"Projects\\": [\\n {\\n \\"Type\\": \\"DocStarter\\",\\n \\"CU\\": 5,\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"Endpoint\\": \\"imm.cn-hangzhou.aliyuncs.com\\",\\n \\"Project\\": \\"immtest\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BillingType\\": \\"ByCU\\",\\n \\"ModifyTime\\": \\"2020-11-10T03:50:28Z\\"\\n }\\n ],\\n \\"NextMarker\\": \\"immimage\\"\\n}","errorExample":""},{"type":"xml","example":"4A7A2D0E-D8B8-4DA0-8127-EB32C6600ADE\\n\\n 2020-11-10T03:50:28Z\\n immtest\\n DocStarter\\n 5\\n AliyunIMMDefaultRole\\n imm.cn-hangzhou.aliyuncs.com\\n 2020-11-10T03:50:28Z\\n cn-hangzhou\\n ByCU\\n\\nimmimage","errorExample":""}]',
'title' => 'ListProjects',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'PutProject' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immtest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'ServiceRole',
'in' => 'query',
'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'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Project\\": \\"immtest\\",\\n \\"ModifyTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"Type\\": \\"DocStarter\\",\\n \\"CU\\": 5,\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"RequestId\\": \\"7F7D235C-76FF-4B65-800C-8238AE3F7230\\",\\n \\"Endpoint\\": \\"imm.cn-hangzhou.aliyuncs.com\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BillingType\\": \\"ByCU\\"\\n}","errorExample":""},{"type":"xml","example":"2020-11-10T03:50:28Z\\nimmtest\\nDocStarter\\n5\\nAliyunIMMDefaultRole\\nimm.cn-hangzhou.aliyuncs.com\\n7F7D235C-76FF-4B65-800C-8238AE3F7230\\n2020-11-10T03:50:28Z\\ncn-hangzhou\\nByCU","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'CreateSet' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'SetId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'set001'],
],
[
'name' => 'SetName',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'myset'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ModifyTime\\": \\"2020-11-19T07:49:20.094Z\\",\\n \\"VideoCount\\": 0,\\n \\"ImageCount\\": 0,\\n \\"RequestId\\": \\"6D74B3A9-5AC0-49F9-914D-E01589D363FC\\",\\n \\"CreateTime\\": \\"2020-11-19T07:49:20.094Z\\",\\n \\"SetName\\": \\"myset\\",\\n \\"SetId\\": \\"set001\\",\\n \\"VideoLength\\": 0,\\n \\"FaceCount\\": 0\\n}","errorExample":""},{"type":"xml","example":"2020-11-19T07:49:20.094Z\\n6D74B3A9-5AC0-49F9-914D-E01589D363FC\\n2020-11-19T07:49:20.094Z\\nmyset\\nset001","errorExample":""}]',
'title' => 'CreateSet',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteSet' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E7C1C\\",\\n \\"SetId\\": \\"Set-1126f303-6c5b-4ba3-863a-bac81aff8d2d\\"\\n}","errorExample":""},{"type":"xml","example":"EC564A9A-BA5C-4499-A087-D9B9E76E7C1C\\nSet-1126f303-6c5b-4ba3-863a-bac81aff8d2d","errorExample":""}]',
'title' => 'DeleteSet',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'UpdateSet' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'SetName',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'mysetnew'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ModifyTime\\": \\"2020-11-19T07:49:01.975Z\\",\\n \\"RequestId\\": \\"45234D4A-A3E3-4B23-AACA-8D897514462E\\",\\n \\"CreateTime\\": \\"2020-11-19T07:49:01.975Z\\",\\n \\"SetName\\": \\"mysetnew\\",\\n \\"SetId\\": \\"Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077\\"\\n}","errorExample":""},{"type":"xml","example":"2020-11-19T07:49:01.975Z\\n45234D4A-A3E3-4B23-AACA-8D897514462E\\n2020-11-19T07:49:01.975Z\\nmysetnew\\nSet-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077","errorExample":""}]',
'title' => 'UpdateSet',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetSet' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ModifyTime\\": \\"2020-11-19T09:49:03.826Z\\",\\n \\"VideoCount\\": 0,\\n \\"ImageCount\\": 6,\\n \\"RequestId\\": \\"93126E40-0296-4129-95E3-AFAC709372E5\\",\\n \\"CreateTime\\": \\"2020-11-19T09:49:03.826Z\\",\\n \\"SetName\\": \\"myimageset\\",\\n \\"SetId\\": \\"Set-d7ffb885-88c1-4702-a71f-60cf50c221c9\\",\\n \\"VideoLength\\": 0,\\n \\"FaceCount\\": 5\\n}","errorExample":""},{"type":"xml","example":"2020-11-19T09:49:03.826Z\\n6\\n93126E40-0296-4129-95E3-AFAC709372E5\\n2020-11-19T09:49:03.826Z\\nmyimageset\\nSet-d7ffb885-88c1-4702-a71f-60cf50c221c9\\n5","errorExample":""}]',
'title' => 'GetSet',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListSets' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immtest'],
],
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Set-00'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
],
],
],
'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FEEDE356-C928-4A36-951A-6EB5A5923BEB\\",\\n \\"Sets\\": [\\n {\\n \\"VideoCount\\": 0,\\n \\"CreateTime\\": \\"2020-11-19T07:49:01.975Z\\",\\n \\"VideoLength\\": 0,\\n \\"SetId\\": \\"Set-435b5855-d100-4408-95f4-f2e901fa0694\\",\\n \\"ImageCount\\": 6,\\n \\"FaceCount\\": 5,\\n \\"SetName\\": \\"mysetname\\",\\n \\"ModifyTime\\": \\"2020-11-19T07:49:01.975Z\\"\\n }\\n ],\\n \\"NextMarker\\": \\"Set-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077\\"\\n}","errorExample":""},{"type":"xml","example":"FEEDE356-C928-4A36-951A-6EB5A5923BEB\\n\\n 2020-11-19T07:49:01.975Z\\n 6\\n 2020-11-19T07:49:01.975Z\\n mysetname\\n Set-435b5855-d100-4408-95f4-f2e901fa0694\\n 5\\n\\nSet-e8dd5e4e-99f7-43d4-80d5-3456a5bd5077","errorExample":""}]',
'title' => 'ListSets',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConvertOfficeFormat' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'TgtType',
'in' => 'query',
'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'],
],
[
'name' => 'SrcType',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'doc', 'required' => false, 'type' => 'string'],
],
[
'name' => 'StartPage',
'in' => 'query',
'schema' => ['description' => '', 'example' => '1', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'EndPage',
'in' => 'query',
'schema' => ['description' => '', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'MaxSheetRow',
'in' => 'query',
'schema' => ['description' => '', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'MaxSheetCol',
'in' => 'query',
'schema' => ['description' => '', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'MaxSheetCount',
'in' => 'query',
'schema' => ['description' => '', 'example' => '3', 'format' => 'int64', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'SheetOnePage',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'ModelId',
'in' => 'query',
'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => '', 'example' => '********', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtFilePrefix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'aa', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtFileSuffix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'bb', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TgtFilePages',
'in' => 'query',
'schema' => ['description' => '', 'example' => '[1, 2, 100]', 'required' => false, 'type' => 'string'],
],
[
'name' => 'FitToPagesTall',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'FitToPagesWide',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'PdfVector',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean'],
],
[
'name' => 'Hidecomments',
'in' => 'query',
'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'],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
['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":"10\\nFF3B7D81-66AE-47E0-BF69-157DCF187514","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'ListOfficeConversionTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'immdoctest'],
],
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'formatconvert-00'],
],
[
'name' => 'MaxKeys',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Tasks' => [
'description' => '',
'type' => 'array',
'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'],
],
],
],
'RequestId' => ['description' => '', 'type' => 'string', 'example' => '6253B819-3B81-4578-956B-7CF7E75E39E2'],
'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'formatconvert-481c92f5-3033-4de3-8656-fcf07100d633'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"Finished\\",\\n \\"Percent\\": 100,\\n \\"FinishTime\\": \\"2020-11-13T09:33:03.520000Z\\",\\n \\"CreateTime\\": \\"2020-11-13T09:32:53.097000Z\\",\\n \\"PageCount\\": 10,\\n \\"NotifyTopicName\\": \\"topic1\\",\\n \\"NotifyEndpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"TgtUri\\": \\"oss://bucket1/converttasks/session123/\\",\\n \\"TgtType\\": \\"png\\",\\n \\"SrcUri\\": \\"oss://bucket1/object\\",\\n \\"ImageSpec\\": \\"1024\\",\\n \\"ExternalID\\": \\"tasktest002\\",\\n \\"TaskId\\": \\"formatconvert-bab90254-2bfd-4ee5-a30a-bb671da7c960\\"\\n }\\n ],\\n \\"RequestId\\": \\"6253B819-3B81-4578-956B-7CF7E75E39E2\\",\\n \\"NextMarker\\": \\"formatconvert-481c92f5-3033-4de3-8656-fcf07100d633\\"\\n}","errorExample":""},{"type":"xml","example":"\\n Finished\\n png\\n formatconvert-bab90254-2bfd-4ee5-a30a-bb671da7c960\\n 100\\n 2020-11-13T09:32:53.097000Z\\n http://1111111111.mns.cn-hangzhou.aliyuncs.com\\n oss://bucket1/converttasks/session123/\\n 2020-11-13T09:33:03.520000Z\\n 10\\n topic1\\n oss://bucket1/object\\n\\n6253B819-3B81-4578-956B-7CF7E75E39E2\\nformatconvert-481c92f5-3033-4de3-8656-fcf07100d633","errorExample":""}]',
'title' => 'ListOfficeConversionTask',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetOfficeConversionTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'Status' => ['description' => '', 'example' => 'Finished', 'type' => 'string'],
'FailDetail' => [
'description' => '',
'properties' => [
'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'],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Finished\\",\\n \\"FailDetail\\": {\\n \\"Code\\": \\"NoError\\"\\n },\\n \\"TgtType\\": \\"png\\",\\n \\"TaskId\\": \\"formatconvert-a1749f07-1bb7-40ff-84af-c6df064e****\\",\\n \\"RequestId\\": \\"0BC1F0C9-8E99-46C6-B502-10DEDCBA3E2E\\",\\n \\"Percent\\": 100,\\n \\"CreateTime\\": \\"2020-11-13T07:53:08.687000Z\\",\\n \\"ExternalID\\": \\"tasktest001\\",\\n \\"ImageSpec\\": \\"1024\\",\\n \\"NotifyEndpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"TgtUri\\": \\"oss://bucket1/converttasks/session123/\\",\\n \\"FinishTime\\": \\"2020-11-13T07:53:19.103000Z\\",\\n \\"PageCount\\": 10,\\n \\"NotifyTopicName\\": \\"topic1\\",\\n \\"SrcUri\\": \\"oss://bucket1/object\\"\\n}","errorExample":""},{"type":"xml","example":"Finished\\n\\n NoError\\n\\npng\\nformatconvert-a1749f07-1bb7-40ff-84af-c6df064e3438\\n0BC1F0C9-8E99-46C6-B502-10DEDCBA3E2E\\n100\\n2020-11-13T07:53:08.687000Z\\nhttp://1111111111.mns.cn-hangzhou.aliyuncs.com\\noss://bucket1/converttasks/session123/\\n2020-11-13T07:53:19.103000Z\\n10\\ntopic1\\noss://bucket1/object","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'DeleteOfficeConversionTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '', 'type' => 'string', 'example' => '37D69D8D-BAF1-44B7-A55C-D7D132B0238E'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"37D69D8D-BAF1-44B7-A55C-D7D132B0238E\\"\\n}","errorExample":""},{"type":"xml","example":"37D69D8D-BAF1-44B7-A55C-D7D132B0238E","errorExample":""}]',
'title' => 'DeleteOfficeConversionTask',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateOfficeConversionTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'TgtType',
'in' => 'query',
'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/'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'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'],
],
[
'name' => 'SrcType',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'doc'],
],
[
'name' => 'StartPage',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'EndPage',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetRow',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetCol',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetCount',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'],
],
[
'name' => 'SheetOnePage',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ModelId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '********'],
],
[
'name' => 'TgtFilePrefix',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'aa'],
],
[
'name' => 'TgtFileSuffix',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'bb'],
],
[
'name' => 'TgtFilePages',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1, 2, 100'],
],
[
'name' => 'FitToPagesTall',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'FitToPagesWide',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'IdempotentToken',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'd1fdd246-e187-11e8-9f32-f2801f1b9fd1'],
],
[
'name' => 'PdfVector',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'Hidecomments',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'DisplayDpi',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1024'],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{"fileid": "123"}'],
],
],
'responses' => [
200 => [
'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/'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"formatconvert-00bec802-073a-4b61-ba3b-39bc2fdd169b\\",\\n \\"RequestId\\": \\"FF3B7D81-66AE-47E0-BF69-157DCF187514\\",\\n \\"Percent\\": 0,\\n \\"CreateTime\\": \\"2020-11-11T06:51:17.5Z\\",\\n \\"TgtLoc\\": \\"oss://bucket1/imm-format-convert-tgt/session123/\\"\\n}","errorExample":""},{"type":"xml","example":"Running\\nformatconvert-00bec802-073a-4b61-ba3b-39bc2fdd169b\\nFF3B7D81-66AE-47E0-BF69-157DCF187514\\n0\\n2020-11-11T06:51:17.5Z\\noss://bucket1/imm-format-convert-tgt/session123/","errorExample":""}]',
'title' => 'CreateOfficeConversionTask',
'responseParamsDescription' => ' ',
],
'RefreshWebofficeToken' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'AccessToken',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '96c77f96d4c2487aba86549222********'],
],
[
'name' => 'RefreshToken',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '4cdfb7fac3564268aff15360ac********'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RefreshToken\\": \\"e3f0fc87c5e24555835961e9a3********\\",\\n \\"RequestId\\": \\"488F3004-4105-4F28-A634-26353BBF866C\\",\\n \\"AccessToken\\": \\"0301d19407084bd0b9449d6ecc********\\",\\n \\"RefreshTokenExpiredTime\\": \\"2020-12-26T09:14:42.986876757Z\\",\\n \\"AccessTokenExpiredTime\\": \\"2020-12-25T09:44:42.986876757Z\\"\\n}","errorExample":""},{"type":"xml","example":"e3f0fc87c5e24555835961e9a3********\\n488F3004-4105-4F28-A634-26353BBF866C\\n0301d19407084bd0b9449d6ecc********\\n2020-12-26T09:14:42.986876757Z\\n2020-12-25T09:44:42.986876757Z","errorExample":""}]',
'title' => 'RefreshWebofficeToken',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'RefreshOfficePreviewToken' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'AccessToken',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f3a3ad0ae32a4c6fb90ed00218********'],
],
[
'name' => 'RefreshToken',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1eb6535cdf8a4732a7d7183891********'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RefreshToken\\": \\"780ec2952b4c4173a4a2840bb2********\\",\\n \\"RequestId\\": \\"9F9FB128-7588-4F5F-BAAB-85859D3912D3\\",\\n \\"AccessToken\\": \\"35108c3afca14570b98e352efa********\\",\\n \\"RefreshTokenExpiredTime\\": \\"2020-11-20T06:43:37.51Z\\",\\n \\"AccessTokenExpiredTime\\": \\"2020-11-19T07:13:37.51Z\\"\\n}","errorExample":""},{"type":"xml","example":"780ec2952b4c4173a4a2840bb2********\\n9F9FB128-7588-4F5F-BAAB-85859D3912D3\\n35108c3afca14570b98e352efa********\\n2020-11-20T06:43:37.51Z\\n2020-11-19T07:13:37.51Z","errorExample":""}]',
'title' => 'RefreshOfficePreviewToken',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetWebofficeURL' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immdoctest'],
],
[
'name' => 'SrcType',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'doc'],
],
[
'name' => 'FileID',
'in' => 'query',
'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"}'],
],
[
'name' => 'Permission',
'in' => 'query',
'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"}]'],
],
[
'name' => 'NotifyEndpoint',
'in' => 'query',
'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'],
],
[
'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}'],
],
[
'name' => 'Hidecmb',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RefreshToken\\": \\"4cdfb7fac3564268aff15360ac********\\",\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6\\",\\n \\"AccessToken\\": \\"96c77f96d4c2487aba86549222********\\",\\n \\"RefreshTokenExpiredTime\\": \\"2020-12-26T07:13:38.322018529Z\\",\\n \\"WebofficeURL\\": \\"https://office-cn-hangzhou.imm.aliyuncs.com/office/w/7c7bb3419a0918203026217468a8e9fe375723ae?_w_tokentype=1\\",\\n \\"AccessTokenExpiredTime\\": \\"2020-12-25T07:43:38.322018529Z\\"\\n}","errorExample":""},{"type":"xml","example":"4cdfb7fac3564268aff15360ac********\\nCA995EFD-083D-4F40-BE8A-BDF75FFFE0B6\\n96c77f96d4c2487aba86549222********\\n2020-12-26T07:13:38.322018529Z\\nhttps://office-cn-hangzhou.imm.aliyuncs.com/office/w/7c7bb3419a0918203026217468a8e9fe375723ae?_w_tokentype=1\\n2020-12-25T07:43:38.322018529Z","errorExample":""}]',
'title' => 'GetWebofficeURL',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetOfficePreviewURL' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'SrcType',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'doc', 'required' => false, 'type' => 'string'],
],
[
'name' => 'WatermarkType',
'in' => 'query',
'schema' => ['description' => '', 'example' => '1', 'format' => 'int32', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'WatermarkValue',
'in' => 'query',
'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'],
],
[
'name' => 'WatermarkFont',
'in' => 'query',
'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'],
],
[
'name' => 'WatermarkHorizontal',
'in' => 'query',
'schema' => ['description' => '', 'example' => '50', 'format' => 'int32', 'required' => false, 'type' => 'integer'],
],
[
'name' => 'WatermarkVertical',
'in' => 'query',
'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'],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"PreviewURL\\": \\"https://office-cn-hangzhou.imm.aliyuncs.com/office/f/59db14bc9e97205734b31f9880622e043175ea4f?hidecmb=1&simple=1&_w_tokentype=1\\",\\n \\"RefreshToken\\": \\"1eb6535cdf8a4732a7d7183891********\\",\\n \\"RequestId\\": \\"14580EF3-442A-4AA2-959C-1464DC255EEB\\",\\n \\"AccessToken\\": \\"f3a3ad0ae32a4c6fb90ed00218********\\",\\n \\"RefreshTokenExpiredTime\\": \\"2020-11-20T06:16:19.069Z\\",\\n \\"AccessTokenExpiredTime\\": \\"2020-11-19T06:46:19.069Z\\"\\n}","errorExample":""},{"type":"xml","example":"https://office-cn-hangzhou.imm.aliyuncs.com/office/f/59db14bc9e97205734b31f9880622e043175ea4f?hidecmb=1&simple=1&_w_tokentype=1\\n1eb6535cdf8a4732a7d7183891********\\n14580EF3-442A-4AA2-959C-1464DC255EEB\\nf3a3ad0ae32a4c6fb90ed00218********\\n2020-11-20T06:16:19.069Z\\n2020-11-19T06:46:19.069Z","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'GetImage' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
],
],
'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' => ''],
],
],
'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' => ''],
],
],
],
'Faces' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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'],
'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'],
],
],
'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'],
],
],
'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'],
'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'],
],
],
],
],
],
'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'],
'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'],
],
],
'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'],
'OCR' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ImageQuality\\": {\\n \\"OverallScore\\": 0.7759467363357544,\\n \\"Color\\": 0.6101377010345459,\\n \\"ColorScore\\": 0.6101377010345459,\\n \\"ContrastScore\\": 0.6101377010345459,\\n \\"Contrast\\": 0.6101377010345459,\\n \\"ExposureScore\\": 0.6101377010345459,\\n \\"ClarityScore\\": 0.6101377010345459,\\n \\"Clarity\\": 0.6101377010345459,\\n \\"Exposure\\": 0.6101377010345459,\\n \\"CompositionScore\\": 0.6101377010345459\\n },\\n \\"ModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"Address\\": {\\n \\"Township\\": \\"转塘街道\\",\\n \\"District\\": \\"西湖区\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市西湖区转塘街道石龙山西路\\",\\n \\"Country\\": \\"中国\\",\\n \\"City\\": \\"杭州市\\",\\n \\"Province\\": \\"浙江省\\"\\n },\\n \\"SourceType\\": \\"image\\",\\n \\"SourceUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"FacesFailReason\\": \\"Timeout\\",\\n \\"CroppingSuggestionStatus\\": \\"NotProcessed\\",\\n \\"CroppingSuggestionFailReason\\": \\"Timeout\\",\\n \\"AddressFailReason\\": \\"Timeout\\",\\n \\"RemarksA\\": \\"remarka\\",\\n \\"AddressModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"RemarksB\\": \\"remarkb\\",\\n \\"ImageFormat\\": \\"jpg\\",\\n \\"TagsFailReason\\": \\"Timeout\\",\\n \\"RemarksArrayB\\": \\"[\\\\\\"remarkb1\\\\\\",\\\\\\"remarkb2\\\\\\"]\\",\\n \\"FacesModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"Exif\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"},\\\\\\"ImageHeight\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"417\\\\\\"},\\\\\\"ImageWidth\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"500\\\\\\"},\\\\\\"ResolutionUnit\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"},\\\\\\"XResolution\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"96/1\\\\\\"},\\\\\\"YResolution\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"96/1\\\\\\"}}\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"ImageWidth\\": 500,\\n \\"RemarksArrayA\\": \\"[\\\\\\"remarka1\\\\\\",\\\\\\"remarka2\\\\\\"]\\",\\n \\"SourcePosition\\": \\"00000000.010\\",\\n \\"Tags\\": [\\n {\\n \\"TagName\\": \\"脸\\",\\n \\"TagConfidence\\": 0.9812195897102356,\\n \\"CentricScore\\": 0,\\n \\"TagLevel\\": 2,\\n \\"ParentTagName\\": \\"人物\\"\\n }\\n ],\\n \\"Faces\\": [\\n {\\n \\"Gender\\": \\"MALE\\",\\n \\"GenderConfidence\\": 1,\\n \\"FaceId\\": \\"59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\",\\n \\"FaceAttributes\\": {\\n \\"GlassesConfidence\\": 1,\\n \\"Glasses\\": \\"NONE\\",\\n \\"Mask\\": \\"NONE\\",\\n \\"BeardConfidence\\": 1,\\n \\"MaskConfidence\\": 1,\\n \\"FaceBoundary\\": {\\n \\"Top\\": 191,\\n \\"Width\\": 269,\\n \\"Height\\": 252,\\n \\"Left\\": 95\\n },\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n },\\n \\"Beard\\": \\"NONE\\"\\n },\\n \\"FaceQuality\\": 0.9321779608726501,\\n \\"Emotion\\": \\"HAPPY\\",\\n \\"Age\\": \\"29\\",\\n \\"FaceConfidence\\": 0.9608758687973022,\\n \\"EmotionConfidence\\": 0.7079545259475708,\\n \\"Attractive\\": 0.96,\\n \\"GroupId\\": \\"group-not-grouped\\",\\n \\"EmotionDetails\\": {\\n \\"HAPPY\\": 0.7079545259475708,\\n \\"CALM\\": 0.2918718755245209,\\n \\"SURPRISED\\": 0.00006676767952740192,\\n \\"DISGUSTED\\": 0.000033771051676012576,\\n \\"ANGRY\\": 0.00001282201901631197,\\n \\"SAD\\": 0.00001527295717096422,\\n \\"SCARED\\": 0.0000014976058082538657\\n }\\n }\\n ],\\n \\"AddressStatus\\": \\"Success\\",\\n \\"FacesStatus\\": \\"Success\\",\\n \\"ImageQualityModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"CroppingSuggestion\\": [\\n {\\n \\"Score\\": 0.8979608535766602,\\n \\"CroppingBoundary\\": {\\n \\"Top\\": 30,\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10\\n },\\n \\"AspectRatio\\": \\"2:3\\"\\n }\\n ],\\n \\"RequestId\\": \\"D349D345-4744-472C-ABDC-7A29A5E04042\\",\\n \\"CreateTime\\": \\"2020-11-24T9:56:52.461Z\\",\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"TagsModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"ImageQualityFailReason\\": \\"Timeout\\",\\n \\"Orientation\\": \\"{\\\\\\"val\\\\\\":\\\\\\"Right-top\\\\\\",\\\\\\"type\\\\\\":3}\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"OCRStatus\\": \\"NotProcessed\\",\\n \\"OCRModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"ImageTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"CroppingSuggestionModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"ImageHeight\\": 861,\\n \\"ImageQualityStatus\\": \\"Success\\",\\n \\"TagsStatus\\": \\"Success\\",\\n \\"OCRFailReason\\": \\"Timeout\\",\\n \\"SetId\\": \\"set001\\",\\n \\"FileSize\\": 69732,\\n \\"Location\\": \\"30.134390,120.074997\\",\\n \\"OCR\\": [\\n {\\n \\"OCRConfidence\\": 0.8254936695098877,\\n \\"OCRContents\\": \\"欢迎使用智能媒体管理\\",\\n \\"OCRBoundary\\": {\\n \\"Top\\": 12,\\n \\"Width\\": 12,\\n \\"Height\\": 12,\\n \\"Left\\": 12\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 0.7759467363357544\\n\\n
\\n 转塘街道\\n 浙江省杭州市西湖区转塘街道石龙山西路\\n 中国\\n 杭州市\\n 西湖区\\n 浙江省\\n\\noss://imm-test/testcases/face1.jpg\\nimage\\n\\n\\n\\njpg\\n[\\"remarkb1\\",\\"remarkb2\\"]\\n{\\"FileSize\\":{\\"value\\":\\"29304\\"},\\"Format\\":{\\"value\\":\\"jpg\\"},\\"ImageHeight\\":{\\"value\\":\\"417\\"},\\"ImageWidth\\":{\\"value\\":\\"500\\"},\\"ResolutionUnit\\":{\\"value\\":\\"2\\"},\\"XResolution\\":{\\"value\\":\\"96/1\\"},\\"YResolution\\":{\\"value\\":\\"96/1\\"}}\\n500\\n[\\"remarka1\\",\\"remarka2\\"]\\n\\n 0.9608758687973022\\n 59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\n 0.9321779608726501\\n 0.96\\n 1\\n 0.7079545259475708\\n HAPPY\\n FEMALE\\n 29\\n group-not-grouped\\n\\n\\n \\n 0.2918718755245209\\n 0.0000014976058082538657\\n 0.7079545259475708\\n 0.00006676767952740192\\n 0.00001527295717096422\\n 0.000033771051676012576\\n 0.00001282201901631197\\n \\n \\n NONE\\n \\n 95\\n 191\\n 252\\n 269\\n \\n 1\\n \\n 18.385589599609375\\n 4.204030513763428\\n 2.4945924282073975\\n \\n 1\\n NONE\\n NONE\\n 1\\n \\n\\n\\n 脸\\n 0.9812195897102356\\n 2\\n 人物\\n\\n\\n 人物\\n 0.9812195897102356\\n 1\\n\\n\\n 微笑\\n 0.7626392841339111\\n 3\\n 日常行为\\n\\n\\n 日常行为\\n 0.7626392841339111\\n 2\\n 生活\\n\\n\\n 生活\\n 0.7626392841339111\\n 1\\n\\nSuccess\\n2020-11-24T10:56:52.461Z\\nD349D345-4744-472C-ABDC-7A29A5E04042\\n\\noss://imm-test/testcases/face1.jpg\\nSuccess\\nSuccess\\n861\\nset001\\n69732\\n2020-11-24T10:56:52.461Z\\nNotProcessed\\nremarka\\n2020-11-24T10:56:52.461Z\\nremarkb\\n\\n2020-11-24T10:56:52.461Z\\nremarkc\\nremarkd\\nSuccess\\nexternalId001\\n2020-11-24T10:56:52.461Z\\n2020-11-24T10:56:52.461Z\\nNotProcessed\\n30.134390,120.074997","errorExample":""}]',
'title' => 'GetImage',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteImage' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"81A8F375-51D7-4523-852D-A940E37E62D0\\",\\n \\"SetId\\": \\"set001\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\"\\n}","errorExample":""},{"type":"xml","example":"81A8F375-51D7-4523-852D-A940E37E62D0\\noss://imm-test/testcases/face1.jpg\\nset001","errorExample":""}]',
'title' => 'DeleteImage ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'FindImages' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'docRequired' => true, 'example' => 'immimagetest', 'required' => true, 'type' => 'string'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'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'],
],
[
'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'],
],
[
'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'],
],
[
'name' => 'SourceType',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'image', 'required' => false, 'type' => 'string'],
],
[
'name' => 'SourceUriPrefix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'oss://imm-test/', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksAPrefix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksBPrefix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TagNames',
'in' => 'query',
'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'OCRContentsMatch',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'myh', 'required' => false, 'type' => 'string'],
],
[
'name' => 'AgeRange',
'in' => 'query',
'schema' => ['description' => '', 'example' => '{"Start":0,"End":99}', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Gender',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'MALE', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Emotion',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'HAPPY', 'required' => false, 'type' => 'string'],
],
[
'name' => 'OrderBy',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'CreateTime', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'ASC', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Marker',
'in' => 'query',
'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'],
],
[
'name' => 'RemarksCPrefix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksDPrefix',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'remark', 'required' => false, 'type' => 'string'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'schema' => ['description' => '', 'docRequired' => false, 'example' => 'externalId001', 'required' => false, 'type' => 'string'],
],
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'group-not-grouped', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Limit',
'in' => 'query',
'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'],
],
[
'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'],
],
[
'name' => 'AddressLineContentsMatch',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'zhejiang', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksArrayAIn',
'in' => 'query',
'schema' => ['description' => '', 'example' => '["remarka1","remarka2"]', 'required' => false, 'type' => 'string'],
],
[
'name' => 'RemarksArrayBIn',
'in' => 'query',
'schema' => ['description' => '', 'example' => '["remarkb1","remarkb2"]', 'required' => false, 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'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'],
'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'],
],
'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'],
'OCR' => [
'description' => '',
'items' => [
'properties' => [
'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'],
],
'type' => 'object',
],
],
'type' => 'object',
],
'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'],
'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'],
],
'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'],
'Faces' => [
'description' => '',
'items' => [
'properties' => [
'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'],
'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'],
],
'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'],
],
'type' => 'object',
],
'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'],
'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'],
],
'type' => 'object',
],
],
'type' => 'object',
],
'type' => 'array',
],
'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'],
],
'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'],
'CroppingSuggestion' => [
'description' => '',
'items' => [
'properties' => [
'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'],
],
'type' => 'object',
],
'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'],
],
'type' => 'object',
],
'type' => 'array',
],
'NextMarker' => ['description' => '', 'example' => 'CAESBgoEIgIIABgAIswBCskBA8QAAAAxUzMxMzczNDM2MzQzOTM1MzgzNTM3MzYzMDMyMzczNDM1M2E2OTZkNmQ2OTZkNjE2NzY1M2E3MzY1NzQzMDMwMzEzYTMxMzYzMzM1NjIzOTMzMzI2MTYyMzQzNzY2NjMzNjY2NjI2MTYxMzMzMjM1MzQzOTMzMzQzNzMwMzI2NTMxNjE2MjM3MzczMTY0NjM2NDM2MzgzNjM4NjQzMjM2MzEzNzM2MzYzNjM4NjUzNTYyMzc2NjM0MzU2MjYxNjE2NTMx', 'type' => 'string'],
'SetId' => ['description' => '', 'example' => 'set001', 'type' => 'string'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"810FE908-522F-4951-8AF8-7211890D4B2A\\",\\n \\"Images\\": [\\n {\\n \\"CroppingSuggestionStatus\\": \\"NotProcessed\\",\\n \\"ImageQualityModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"TagsFailReason\\": \\"Timeout\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"CreateTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"SourceType\\": \\"image\\",\\n \\"FacesFailReason\\": \\"Timeout\\",\\n \\"Tags\\": [\\n {\\n \\"TagConfidence\\": 0.9812195897102356,\\n \\"CentricScore\\": 0,\\n \\"TagName\\": \\"脸\\",\\n \\"TagLevel\\": 2,\\n \\"ParentTagName\\": \\"人物\\"\\n }\\n ],\\n \\"FacesModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"ImageTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"OCRModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"AddressModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"OCR\\": [\\n {\\n \\"OCRConfidence\\": 0.8254936695098877,\\n \\"OCRContents\\": \\"欢迎使用智能媒体管理\\",\\n \\"OCRBoundary\\": {\\n \\"Top\\": 12,\\n \\"Width\\": 12,\\n \\"Height\\": 12,\\n \\"Left\\": 12\\n }\\n }\\n ],\\n \\"ImageQualityFailReason\\": \\"Timeout\\",\\n \\"FacesStatus\\": \\"Success\\",\\n \\"ImageHeight\\": 861,\\n \\"RemarksArrayA\\": \\"[\\\\\\"remarka1\\\\\\",\\\\\\"remarka2\\\\\\"]\\",\\n \\"Address\\": {\\n \\"Township\\": \\"转塘街道\\",\\n \\"District\\": \\"西湖区\\",\\n \\"AddressLine\\": \\"浙江省杭州市西湖区转塘街道石龙山西路\\",\\n \\"Country\\": \\"中国\\",\\n \\"City\\": \\"杭州市\\",\\n \\"Province\\": \\"浙江省\\"\\n },\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"SourceUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"ModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"FileSize\\": 69732,\\n \\"SourcePosition\\": \\"00000000.010\\",\\n \\"Faces\\": [\\n {\\n \\"Gender\\": \\"FEMALE\\",\\n \\"FaceId\\": \\"59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\",\\n \\"GenderConfidence\\": 1,\\n \\"FaceAttributes\\": {\\n \\"GlassesConfidence\\": 1,\\n \\"Glasses\\": \\"NONE\\",\\n \\"Mask\\": \\"NONE\\",\\n \\"BeardConfidence\\": 1,\\n \\"MaskConfidence\\": 1,\\n \\"FaceBoundary\\": {\\n \\"Top\\": 152,\\n \\"Width\\": 139,\\n \\"Height\\": 141,\\n \\"Left\\": 267\\n },\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n },\\n \\"Beard\\": \\"NONE\\"\\n },\\n \\"FaceQuality\\": 0.9321779608726501,\\n \\"Emotion\\": \\"HAPPY\\",\\n \\"Age\\": 29,\\n \\"FaceConfidence\\": 0.9608758687973022,\\n \\"EmotionConfidence\\": 0.7079545259475708,\\n \\"Attractive\\": 0.96,\\n \\"GroupId\\": \\"group-not-grouped\\",\\n \\"EmotionDetails\\": {\\n \\"HAPPY\\": 0.7079545259475708,\\n \\"SURPRISED\\": 0.00006676767952740192,\\n \\"CALM\\": 0.2918718755245209,\\n \\"DISGUSTED\\": 0.000033771051676012576,\\n \\"ANGRY\\": 0.00001282201901631197,\\n \\"SAD\\": 0.00001527295717096422,\\n \\"SCARED\\": 0.0000014976058082538657\\n }\\n }\\n ],\\n \\"ImageQualityStatus\\": \\"Success\\",\\n \\"OCRFailReason\\": \\"Timeout\\",\\n \\"AddressFailReason\\": \\"Timeout\\",\\n \\"ImageQuality\\": {\\n \\"OverallScore\\": 0.7759467363357544,\\n \\"Color\\": 0.6101377010345459,\\n \\"ColorScore\\": 0.6101377010345459,\\n \\"ContrastScore\\": 0.6101377010345459,\\n \\"Contrast\\": 0.6101377010345459,\\n \\"ExposureScore\\": 0.6101377010345459,\\n \\"ClarityScore\\": 0.6101377010345459,\\n \\"Clarity\\": 0.6101377010345459,\\n \\"Exposure\\": 0.6101377010345459,\\n \\"CompositionScore\\": 0.6101377010345459\\n },\\n \\"CroppingSuggestionModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"ImageFormat\\": \\"jpg\\",\\n \\"ImageWidth\\": 500,\\n \\"RemarksArrayB\\": \\"[\\\\\\"remarkb1\\\\\\",\\\\\\"remarkb2\\\\\\"]\\",\\n \\"CroppingSuggestion\\": [\\n {\\n \\"Score\\": 0.8979608535766602,\\n \\"CroppingBoundary\\": {\\n \\"Top\\": 77,\\n \\"Width\\": 500,\\n \\"Height\\": 499,\\n \\"Left\\": 0\\n },\\n \\"AspectRatio\\": \\"1:1\\"\\n }\\n ],\\n \\"Orientation\\": \\"{\\\\\\"val\\\\\\":\\\\\\"Right-top\\\\\\",\\\\\\"type\\\\\\":3}\\",\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"TagsStatus\\": \\"Success\\",\\n \\"CroppingSuggestionFailReason\\": \\"Timeout\\",\\n \\"RemarksA\\": \\"remarka\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"TagsModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"OCRStatus\\": \\"NotProcessed\\",\\n \\"AddressStatus\\": \\"Success\\",\\n \\"Exif\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"},\\\\\\"ImageHeight\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"417\\\\\\"},\\\\\\"ImageWidth\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"500\\\\\\"},\\\\\\"ResolutionUnit\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"},\\\\\\"XResolution\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"96/1\\\\\\"},\\\\\\"YResolution\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"96/1\\\\\\"}}\\",\\n \\"Location\\": \\"30.134390,120.074997\\",\\n \\"RemarksB\\": \\"remarkb\\"\\n }\\n ],\\n \\"NextMarker\\": \\"CAESBgoEIgIIABgAIswBCskBA8QAAAAxUzMxMzczNDM2MzQzOTM1MzgzNTM3MzYzMDMyMzczNDM1M2E2OTZkNmQ2OTZkNjE2NzY1M2E3MzY1NzQzMDMwMzEzYTMxMzYzMzM1NjIzOTMzMzI2MTYyMzQzNzY2NjMzNjY2NjI2MTYxMzMzMjM1MzQzOTMzMzQzNzMwMzI2NTMxNjE2MjM3MzczMTY0NjM2NDM2MzgzNjM4NjQzMjM2MzEzNzM2MzYzNjM4NjUzNTYyMzc2NjM0MzU2MjYxNjE2NTMx\\",\\n \\"SetId\\": \\"set001\\"\\n}","errorExample":""},{"type":"xml","example":"810FE908-522F-4951-8AF8-7211890D4B2A\\n\\n 2020-11-25T10:12:59.57Z\\n oss://imm-test/testcases/face1.jpg\\n image\\n NotProcessed\\n \\n remarka\\n 2020-11-25T10:12:59.57Z\\n remarkb\\n jpg\\n [\\"remarkb1\\",\\"remarkb2\\"]\\n \\n {\\"FileSize\\":{\\"value\\":\\"29304\\"},\\"Format\\":{\\"value\\":\\"jpg\\"},\\"ImageHeight\\":{\\"value\\":\\"417\\"},\\"ImageWidth\\":{\\"value\\":\\"500\\"},\\"ResolutionUnit\\":{\\"value\\":\\"2\\"},\\"XResolution\\":{\\"value\\":\\"96/1\\"},\\"YResolution\\":{\\"value\\":\\"96/1\\"}}\\n 2020-11-25T10:12:59.57Z\\n remarkc\\n remarkd\\n 500\\n [\\"remarka1\\",\\"remarka2\\"]\\n Success\\n Success\\n 2020-11-25T10:12:59.57Z\\n externalId001\\n 2020-11-25T10:12:59.57Z\\n 2020-11-25T10:12:59.57Z\\n \\n oss://imm-test/testcases/face1.jpg\\n NotProcessed\\n \\n Success\\n Success\\n 861\\n 30.134390,120.074997\\n 69732\\n\\n\\n \\n 59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\n 0.9608758687973022\\n 0.9321779608726501\\n 0.96\\n 1\\n 0.7079545259475708\\n HAPPY\\n MALE\\n 29\\n group-not-grouped\\n \\n \\n \\n 0.2918718755245209\\n 0.0000014976058082538657\\n 0.7079545259475708\\n 0.00006676767952740192\\n 0.00001527295717096422\\n 0.000033771051676012576\\n 0.00001282201901631197\\n \\n \\n NONE\\n \\n 267\\n 152\\n 141\\n 139\\n \\n 1\\n \\n 18.385589599609375\\n 4.204030513763428\\n 2.4945924282073975\\n \\n NONE\\n 1\\n NONE\\n 1\\n \\n \\n \\n 0.7254936695098877\\n 脸\\n 2\\n 人物\\n \\n \\n 0.7254936695098877\\n 人物\\n 1\\n \\n \\n 0.6851575970649719\\n 微笑\\n 3\\n 日常行为\\n \\n \\n 0.6851575970649719\\n 日常行为\\n 2\\n 生活\\n \\n \\n 0.6851575970649719\\n 生活\\n 1\\n \\n\\n\\n \\n 0.7759467363357544\\n \\n \\n 转塘街道\\n 杭州市西湖区转塘街道石龙山西路\\n 中国\\n 杭州市\\n 西湖区\\n 浙江省\\n \\n\\nCAESBgoEIgIIABgAIswBCskBA8QAAAAxUzMxMzczNDM2MzQzOTM1MzgzNTM3MzYzMDMyMzczNDM1M2E2OTZkNmQ2OTZkNjE2NzY1M2E3MzY1NzQzMDMwMzEzYTMxMzYzMzM1NjIzOTMzMzI2MTYyMzQzNzY2NjMzNjY2NjI2MTYxMzMzMjM1MzQzOTMzMzQzNzMwMzI2NTMxNjE2MjM3MzczMTY0NjM2NDM2MzgzNjM4NjQzMjM2MzEzNzM2MzYzNjM4NjUzNTYyMzc2NjM0MzU2MjYxNjE2NTMx\\nset001","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'FindImages',
],
'ListImages' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
'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' => ''],
],
],
],
'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' => ''],
'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'],
],
],
],
],
],
'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' => ''],
],
],
'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'],
'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'],
'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'],
],
],
'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'],
],
],
'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'],
'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'],
],
],
],
],
],
'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'],
],
],
'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'],
'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'],
],
],
'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'],
],
],
],
'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk='],
'SetId' => ['description' => '', 'type' => 'string', 'example' => 'set001'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A9C250B8-AC5B-4570-A7FE-73448DFCEFC8\\",\\n \\"Images\\": [\\n {\\n \\"CroppingSuggestionStatus\\": \\"NotProcessed\\",\\n \\"ImageQualityModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"TagsFailReason\\": \\"Timeout\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"CreateTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"SourceType\\": \\"image\\",\\n \\"FacesFailReason\\": \\"Timeout\\",\\n \\"Tags\\": [\\n {\\n \\"TagConfidence\\": 0.9812195897102356,\\n \\"CentricScore\\": 0,\\n \\"TagName\\": \\"脸\\",\\n \\"TagLevel\\": 1,\\n \\"ParentTagName\\": \\"人物\\"\\n }\\n ],\\n \\"FacesModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"ImageTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"OCRModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"AddressModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"OCR\\": [\\n {\\n \\"OCRConfidence\\": 0.8254936695098877,\\n \\"OCRContents\\": \\"欢迎使用智能媒体管理\\",\\n \\"OCRBoundary\\": {\\n \\"Top\\": 12,\\n \\"Width\\": 12,\\n \\"Height\\": 12,\\n \\"Left\\": 12\\n }\\n }\\n ],\\n \\"ImageQualityFailReason\\": \\"Timeout\\",\\n \\"FacesStatus\\": \\"Success\\",\\n \\"ImageHeight\\": 861,\\n \\"RemarksArrayA\\": \\"[\\\\\\"remarka1\\\\\\",\\\\\\"remarka2\\\\\\"]\\",\\n \\"Address\\": {\\n \\"Township\\": \\"转塘街道\\",\\n \\"District\\": \\"西湖区\\",\\n \\"AddressLine\\": \\"浙江省杭州市西湖区转塘街道石龙山西路\\",\\n \\"Country\\": \\"中国\\",\\n \\"City\\": \\"杭州市\\",\\n \\"Province\\": \\"浙江省\\"\\n },\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"SourceUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"ModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"FileSize\\": 69732,\\n \\"SourcePosition\\": \\"00000000.010\\",\\n \\"Faces\\": [\\n {\\n \\"Gender\\": \\"MALE\\",\\n \\"FaceId\\": \\"59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\",\\n \\"GenderConfidence\\": 1,\\n \\"FaceAttributes\\": {\\n \\"GlassesConfidence\\": 1,\\n \\"Glasses\\": \\"NONE\\",\\n \\"Mask\\": \\"NONE\\",\\n \\"BeardConfidence\\": 1,\\n \\"MaskConfidence\\": 1,\\n \\"FaceBoundary\\": {\\n \\"Top\\": 191,\\n \\"Width\\": 269,\\n \\"Height\\": 252,\\n \\"Left\\": 95\\n },\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n },\\n \\"Beard\\": \\"NONE\\"\\n },\\n \\"FaceQuality\\": 0.9321779608726501,\\n \\"Emotion\\": \\"HAPPY\\",\\n \\"Age\\": 29,\\n \\"FaceConfidence\\": 0.9608758687973022,\\n \\"EmotionConfidence\\": 0.7079545259475708,\\n \\"Attractive\\": 0.96,\\n \\"GroupId\\": \\"group-not-grouped\\",\\n \\"EmotionDetails\\": {\\n \\"HAPPY\\": 0.7079545259475708,\\n \\"SURPRISED\\": 0.00006676767952740192,\\n \\"CALM\\": 0.2918718755245209,\\n \\"DISGUSTED\\": 0.000033771051676012576,\\n \\"ANGRY\\": 0.00001282201901631197,\\n \\"SAD\\": 0.00001527295717096422,\\n \\"SCARED\\": 0.0000014976058082538657\\n }\\n }\\n ],\\n \\"ImageQualityStatus\\": \\"Success\\",\\n \\"OCRFailReason\\": \\"Timeout\\",\\n \\"AddressFailReason\\": \\"Timeout\\",\\n \\"ImageQuality\\": {\\n \\"OverallScore\\": 0.7759467363357544,\\n \\"Color\\": 0.6101377010345459,\\n \\"ColorScore\\": 0.6101377010345459,\\n \\"ContrastScore\\": 0.6101377010345459,\\n \\"Contrast\\": 0.6101377010345459,\\n \\"ExposureScore\\": 0.6101377010345459,\\n \\"ClarityScore\\": 0.6101377010345459,\\n \\"Clarity\\": 0.6101377010345459,\\n \\"Exposure\\": 0.6101377010345459,\\n \\"CompositionScore\\": 0.6101377010345459\\n },\\n \\"CroppingSuggestionModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"ImageFormat\\": \\"jpg\\",\\n \\"ImageWidth\\": 500,\\n \\"RemarksArrayB\\": \\"[\\\\\\"remarkb1\\\\\\",\\\\\\"remarkb2\\\\\\"]\\",\\n \\"CroppingSuggestion\\": [\\n {\\n \\"Score\\": 0.8812195897102356,\\n \\"CroppingBoundary\\": {\\n \\"Top\\": 70,\\n \\"Width\\": 200,\\n \\"Height\\": 200,\\n \\"Left\\": 10\\n },\\n \\"AspectRatio\\": \\"1:1\\"\\n }\\n ],\\n \\"Orientation\\": \\"{\\\\\\"val\\\\\\":\\\\\\"Right-top\\\\\\",\\\\\\"type\\\\\\":3}\\",\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"TagsStatus\\": \\"Success\\",\\n \\"CroppingSuggestionFailReason\\": \\"Timeout\\",\\n \\"RemarksA\\": \\"remarka\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"TagsModifyTime\\": \\"2020-11-25T10:12:59.57Z\\",\\n \\"OCRStatus\\": \\"NotProcessed\\",\\n \\"AddressStatus\\": \\"Success\\",\\n \\"Exif\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"},\\\\\\"ImageHeight\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"417\\\\\\"},\\\\\\"ImageWidth\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"500\\\\\\"},\\\\\\"ResolutionUnit\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"},\\\\\\"XResolution\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"96/1\\\\\\"},\\\\\\"YResolution\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"96/1\\\\\\"}}\\",\\n \\"Location\\": \\"30.134390,120.074997\\",\\n \\"RemarksB\\": \\"remarkb\\"\\n }\\n ],\\n \\"NextMarker\\": \\"CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk=\\",\\n \\"SetId\\": \\"set001\\"\\n}","errorExample":""},{"type":"xml","example":"A9C250B8-AC5B-4570-A7FE-73448DFCEFC8\\n\\n \\n 0.7759467363357544\\n \\n 2020-11-25T10:12:59.57Z\\n \\n 转塘街道\\n 中国浙江省杭州市西湖区转塘街道石龙山西路\\n 中国\\n 杭州市\\n 西湖区\\n 浙江省\\n \\n oss://imm-test/testcases/face1.jpg\\n image\\n \\n NotProcessed\\n \\n remarka\\n 2020-11-25T10:12:59.57Z\\n remarkb\\n jpg\\n [\\"remarkb1\\",\\"remarkb2\\"]\\n \\n {\\"FileSize\\":{\\"value\\":\\"29304\\"},\\"Format\\":{\\"value\\":\\"jpg\\"},\\"ImageHeight\\":{\\"value\\":\\"417\\"},\\"ImageWidth\\":{\\"value\\":\\"500\\"},\\"ResolutionUnit\\":{\\"value\\":\\"2\\"},\\"XResolution\\":{\\"value\\":\\"96/1\\"},\\"YResolution\\":{\\"value\\":\\"96/1\\"}}\\n 2020-11-25T10:12:59.57Z\\n remarkc\\n remarkd\\n 500\\n [\\"remarka1\\",\\"remarka2\\"]\\n \\n 0.9608758687973022\\n 59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\n \\n 0.2918718755245209\\n 0.0000014976058082538657\\n 0.7079545259475708\\n 0.00001527295717096422\\n 0.00006676767952740192\\n 0.00001282201901631197\\n 0.000033771051676012576\\n \\n 0.96\\n 0.9321779608726501\\n \\n NONE\\n \\n 95\\n 191\\n 252\\n 269\\n \\n 1\\n \\n 18.385589599609375\\n 4.204030513763428\\n 2.4945924282073975\\n \\n NONE\\n 1\\n NONE\\n 1\\n \\n 1\\n 0.7079545259475708\\n FEMALE\\n HAPPY\\n 29\\n group-not-grouped\\n \\n \\n 0.9812195897102356\\n 脸\\n 2\\n 人物\\n \\n \\n 0.9812195897102356\\n 人物\\n 1\\n \\n \\n 0.7626392841339111\\n 微笑\\n 3\\n 日常行为\\n \\n \\n 0.7626392841339111\\n 日常行为\\n 2\\n 生活\\n \\n \\n 0.7626392841339111\\n 生活\\n 1\\n \\n Success\\n Success\\n 2020-11-25T10:12:59.57Z\\n externalId001\\n 2020-11-25T10:12:59.57Z\\n 2020-11-25T10:12:59.57Z\\n \\n \\n oss://imm-test/testcases/face1.jpg\\n NotProcessed\\n \\n \\n Success\\n Success\\n 861\\n \\n 30.134390,120.074997\\n 69732\\n\\nCAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk=\\nset001","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'UpdateImage' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'RemarksA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksa1'],
],
[
'name' => 'RemarksB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksb1'],
],
[
'name' => 'SourceType',
'in' => 'query',
'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'],
],
[
'name' => 'SourcePosition',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/'],
],
[
'name' => 'RemarksC',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksc1'],
],
[
'name' => 'RemarksD',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksd1'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId002'],
],
[
'name' => 'RemarksArrayA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarka11","remarka12"]'],
],
[
'name' => 'RemarksArrayB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarkb11","remarkb12"]'],
],
[
'name' => 'Faces',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '',
'type' => 'array',
'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'],
],
'required' => false,
],
'required' => false,
],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RemarksArrayB\\": \\"[\\\\\\"remarkb11\\\\\\",\\\\\\"remarkb12\\\\\\"]\\",\\n \\"ModifyTime\\": \\"2020-11-25T10:56:52.461Z\\",\\n \\"RemarksC\\": \\"remarksc1\\",\\n \\"RemarksD\\": \\"remarksd1\\",\\n \\"RequestId\\": \\"7A25A44E-5E7D-4F0C-95C5-BA5BD96B7890\\",\\n \\"CreateTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"ExternalId\\": \\"externalId002\\",\\n \\"RemarksArrayA\\": \\"[\\\\\\"remarka11\\\\\\",\\\\\\"remarka12\\\\\\"]\\",\\n \\"RemarksA\\": \\"remarksa1\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"SetId\\": \\"set001\\",\\n \\"RemarksB\\": \\"remarksb1\\"\\n}","errorExample":""},{"type":"xml","example":"2020-11-25T10:56:52.461Z\\n7A25A44E-5E7D-4F0C-95C5-BA5BD96B7890\\nexternalId002\\n2020-11-24T10:56:52.461Z\\nremarksa1\\noss://imm-test/testcases/face1.jpg\\nremarksb1\\n[\\"remarkb11\\",\\"remarkb12\\"]\\nremarksc1\\nremarksd1\\n[\\"remarka11\\",\\"remarka12\\"]\\nset001","errorExample":""}]',
'title' => 'UpdateImage',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'IndexImage' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'RemarksA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AdminGroup/AdminUserA/'],
],
[
'name' => 'RemarksB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'nas://path/to/file'],
],
[
'name' => 'SourceType',
'in' => 'query',
'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'],
],
[
'name' => 'SourcePosition',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '00000000.010'],
],
[
'name' => 'RemarksC',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarkc'],
],
[
'name' => 'RemarksD',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarkd'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'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'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'topic2'],
],
[
'name' => 'RemarksArrayA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarka1","remarka2"]'],
],
[
'name' => 'RemarksArrayB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarkb1","remarkb2"]'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RemarksArrayB\\": \\"[\\\\\\"remarkb1\\\\\\",\\\\\\"remarkb2\\\\\\"]\\",\\n \\"ModifyTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"RequestId\\": \\"144A2D4C-12D5-46D6-BEC9-9AAEE1F10C25\\",\\n \\"CreateTime\\": \\"2020-11-24T10:56:52.461Z\\",\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"RemarksArrayA\\": \\"[\\\\\\"remarka1\\\\\\",\\\\\\"remarka2\\\\\\"]\\",\\n \\"RemarksA\\": \\"AdminGroup/AdminUserA/\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"SetId\\": \\"set001\\",\\n \\"RemarksB\\": \\"nas://path/to/file\\"\\n}","errorExample":""},{"type":"xml","example":"2020-11-24T10:56:52.461Z\\n144A2D4C-12D5-46D6-BEC9-9AAEE1F10C25\\nexternalId001\\n2020-11-24T10:56:52.461Z\\nAdminGroup/AdminUserA/\\noss://imm-test/testcases/face1.jpg\\nnas://path/to/file\\n[\\"remarkb1\\",\\"remarkb2\\"]\\nremarkc\\nremarkd\\n[\\"remarka1\\",\\"remarka2\\"]\\nset001","errorExample":""}]',
'title' => 'IndexImage',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'FindSimilarFaces' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'FaceId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51'],
],
[
'name' => 'Limit',
'in' => 'query',
'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'],
],
[
'name' => 'ResponseFormat',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'v2'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
'properties' => [
'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'],
],
],
],
],
'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'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
'properties' => [
'FaceBoundary' => [
'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'],
],
],
],
],
'Similarity' => ['description' => '', 'type' => 'number', 'format' => 'float', 'example' => '0.8609305739402771'],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31A201C4-6824-4A8F-81FE-E0659FDDF1D7\\",\\n \\"Faces\\": [\\n {\\n \\"FaceId\\": \\"59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"ExternalId\\": \\"external001\\",\\n \\"FaceAttributes\\": {\\n \\"FaceBoundary\\": {\\n \\"Top\\": 191,\\n \\"Width\\": 269,\\n \\"Height\\": 252,\\n \\"Left\\": 95\\n }\\n },\\n \\"Similarity\\": 0.860930573940277,\\n \\"SimilarFaces\\": [\\n {\\n \\"FaceId\\": \\"98ae3c032337161f997a92f8ab9ac9624113368b9e4f93f6143d54a16e51b623\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face3.jpg\\",\\n \\"ExternalId\\": \\"external003\\",\\n \\"FaceAttributes\\": {\\n \\"FaceBoundary\\": {\\n \\"Top\\": 152,\\n \\"Width\\": 139,\\n \\"Height\\": 141,\\n \\"Left\\": 267\\n }\\n },\\n \\"Similarity\\": 0.860930573940277\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"31A201C4-6824-4A8F-81FE-E0659FDDF1D7\\n\\n 59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\n \\n \\n 95\\n 191\\n 252\\n 269\\n \\n \\n 0.9999998807907104\\n \\n oss://imm-test/testcases/face1.jpg\\n\\n\\n 98ae3c032337161f997a92f8ab9ac9624113368b9e4f93f6143d54a16e51b623\\n \\n \\n 267\\n 152\\n 141\\n 139\\n \\n \\n 0.6609989404678345\\n \\n oss://imm-test/testcases/face3.jpg.jpg\\n","errorExample":""}]',
'title' => 'FindSimilarFaces',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CompareImageFaces' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'ImageUriB',
'in' => 'query',
'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****'],
],
[
'name' => 'FaceIdB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****'],
],
],
'responses' => [
200 => [
'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'],
'FaceA' => [
'description' => '',
'type' => 'object',
'properties' => [
'FaceId' => ['description' => '', 'type' => 'string', 'example' => '59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
'properties' => [
'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'],
],
],
],
],
],
],
'FaceB' => [
'description' => '',
'type' => 'object',
'properties' => [
'FaceId' => ['description' => '', 'type' => 'string', 'example' => 'b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****'],
'FaceAttributes' => [
'description' => '',
'type' => 'object',
'properties' => [
'FaceBoundary' => [
'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'],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F73AC982-2B9E-4ECD-AED5-F8331C5A1988\\",\\n \\"Similarity\\": 0.8848152756690983,\\n \\"SetId\\": \\"set001\\",\\n \\"FaceA\\": {\\n \\"FaceId\\": \\"59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****\\",\\n \\"FaceAttributes\\": {\\n \\"FaceBoundary\\": {\\n \\"Top\\": 191,\\n \\"Width\\": 269,\\n \\"Height\\": 252,\\n \\"Left\\": 95\\n }\\n }\\n },\\n \\"FaceB\\": {\\n \\"FaceId\\": \\"b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****\\",\\n \\"FaceAttributes\\": {\\n \\"FaceBoundary\\": {\\n \\"Top\\": 72,\\n \\"Width\\": 83,\\n \\"Height\\": 89,\\n \\"Left\\": 249\\n }\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 0.8848152756690983\\n F73AC982-2B9E-4ECD-AED5-F8331C5A1988\\n set001\\n \\n 59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a040****\\n \\n \\n 95\\n 191\\n 252\\n 269\\n \\n \\n \\n \\n b4a15b4f1618cdfa45a812974cfc160570052487ca1053e20bfdc12917e2****\\n \\n \\n 249\\n 72\\n 89\\n 83\\n \\n \\n \\n","errorExample":""}]',
'title' => 'CompareImageFaces',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListFaceGroups' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'CAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA=='],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
[
'name' => 'OrderBy',
'in' => 'query',
'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"]}'],
],
[
'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"]}'],
],
[
'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"]}'],
],
[
'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"]}'],
],
[
'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"]}'],
],
[
'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"]}'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId001'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => ''],
'GroupCoverFace' => [
'description' => '',
'type' => 'object',
'properties' => [
'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'],
],
],
'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'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6CD6F064-6999-4B64-B057-5FBD09E48C46\\",\\n \\"NextMarker\\": \\"CAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA==\\",\\n \\"FaceGroups\\": [\\n {\\n \\"Gender\\": \\"MALE\\",\\n \\"CreateTime\\": \\"2021-01-11T02:18:26.174Z\\",\\n \\"RemarksC\\": \\"浙江省杭州市\\",\\n \\"GroupCoverFace\\": {\\n \\"FaceId\\": \\"b30a7a36997ce986965680fed90c397fc70a533af511346f819976c6a138c594\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/face1.jpg\\",\\n \\"FaceBoundary\\": {\\n \\"Top\\": 49,\\n \\"Width\\": 46,\\n \\"Height\\": 45,\\n \\"Left\\": 80\\n },\\n \\"ExternalId\\": \\"61e24632982b3e7598f74d4a95a2706cb11b3408#61e2463254140e7b68044db1aeca52771ae6bdb3\\",\\n \\"ImageHeight\\": 374,\\n \\"ImageWidth\\": 739\\n },\\n \\"FaceCount\\": 5,\\n \\"RemarksArrayB\\": \\"[\\\\\\"remarksb1\\\\\\",\\\\\\"remarksb2\\\\\\"]\\",\\n \\"RemarksD\\": \\"浙江省杭州市\\",\\n \\"MaxAge\\": 28,\\n \\"GroupId\\": \\"Group-48fdd4bd-62c3-4daa-ad98-ae6a4173a130\\",\\n \\"GroupName\\": \\"facegrouptest\\",\\n \\"RemarksA\\": \\"oss://imm-test/testcases/\\",\\n \\"AverageAge\\": 26.4,\\n \\"RemarksArrayA\\": \\"[\\\\\\"remarksa1\\\\\\",\\\\\\"remarksa2\\\\\\"]\\",\\n \\"MinAge\\": 23,\\n \\"ImageCount\\": 5,\\n \\"ExternalId\\": \\"externalIdtest\\",\\n \\"RemarksB\\": \\"face1.jpg\\",\\n \\"ModifyTime\\": \\"2021-01-11T02:18:26.174Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"6CD6F064-6999-4B64-B057-5FBD09E48C46\\nCAESEQoPCg0KCUZhY2VDb3VudBABGAEirQEKCQAFAAAAAAAAAAqfAQOaAAAAMVMzMTM3MzQzNjM0MzkzNTM4MzUzNzM2MzAzMjM3MzQzNTNhNjk2ZDZkNjk2ZDYxNjc2NTNhNzM2NTc0NzQ2NTczNzQuUzQ3NzI2Zjc1NzAyZDM0Mzg2NjY0NjQzNDYyNjQyZDM2MzI2MzMzMmQzNDY0NjE2MTJkNjE2NDM5MzgyZDYxNjUzNjYxMzQzMTM3MzM2MTMxMzMzMA==\\n\\n facegrouptest\\n \\n b30a7a36997ce986965680fed90c397fc70a533af511346f819976c6a138c594\\n \\n 80\\n 49\\n 45\\n 46\\n \\n oss://imm-test/testcases/face1.jpg\\n \\n 2021-01-11T02:18:26.174Z\\n externalIdtest\\n 2021-01-11T02:18:26.174Z\\n 28\\n MALE\\n 26.4\\n oss://imm-test/testcases/\\n face1.jpg\\n Group-48fdd4bd-62c3-4daa-ad98-ae6a4173a130\\n [\\"remarksb1\\",\\"remarksb2\\"]\\n 23\\n 5\\n 浙江省杭州市\\n 浙江省杭州市\\n [\\"remarksa1\\",\\"remarksa2\\"]\\n 5\\n","errorExample":""}]',
'title' => 'ListFaceGroups',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'UpdateFaceGroup' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'GroupName',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'mygroup'],
],
[
'name' => 'GroupCoverFaceId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '8ba3460c1dcaa81f53b56e30c69d46693db215cf19aa19265f979913c24c8ef1'],
],
[
'name' => 'RemarksA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksa11'],
],
[
'name' => 'RemarksB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksb11'],
],
[
'name' => 'RemarksC',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksc11'],
],
[
'name' => 'RemarksD',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarksd11'],
],
[
'name' => 'RemarksArrayA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarka11","remarka12"]'],
],
[
'name' => 'RemarksArrayB',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["remarkb11","remarkb12"]'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalIdtest'],
],
[
'name' => 'ResetItems',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["GroupName"]'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A1104C7E-AA5E-4D5F-8A00-6BFD608103D2\\",\\n \\"SetId\\": \\"set001\\",\\n \\"GroupId\\": \\"Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09\\"\\n}","errorExample":""},{"type":"xml","example":"A1104C7E-AA5E-4D5F-8A00-6BFD608103D2\\nset001\\nGroup-c5fdad70-fd60-4c2a-8a08-ed86aca21f09","errorExample":""}]',
'title' => 'UpdateFaceGroup',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateGroupFacesJob' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"JobType\\": \\"GroupImageFacesJob\\",\\n \\"RequestId\\": \\"BCF7B6EC-F97D-4594-866C-B421B82B24FE\\",\\n \\"SetId\\": \\"set001\\",\\n \\"JobId\\": \\"GroupImageFacesJob-fb9586a7-f91d-46b9-8e70-b669892cf34d\\"\\n}","errorExample":""},{"type":"xml","example":"GroupImageFacesJob\\nBCF7B6EC-F97D-4594-866C-B421B82B24FE\\nset001\\nGroupImageFacesJob-fb9586a7-f91d-46b9-8e70-b669892cf34d","errorExample":""}]',
'title' => 'CreateGroupFacesJob',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateMergeFaceGroupsJob' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'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'],
],
[
'name' => 'GroupIdFrom',
'in' => 'query',
'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'],
],
[
'name' => 'CustomMessage',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
],
'responses' => [
200 => [
'schema' => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupIdFrom\\": \\"Group-c1f55987-360b-4640-9e2c-f5c29f930a3b\\",\\n \\"JobType\\": \\"MergeFaceGroupsJob\\",\\n \\"RequestId\\": \\"3FF344BF-87A9-4AC3-A3DE-9E1FAED7D1FE\\",\\n \\"SetId\\": \\"set001\\",\\n \\"GroupIdTo\\": \\"Group-c5fdad70-fd60-4c2a-8a08-ed86aca21f09\\",\\n \\"JobId\\": \\"MergeFaceGroupsJob-055995ef-9c5e-4db4-a99a-0900d1e31d26\\"\\n}","errorExample":""},{"type":"xml","example":"Group-c1f55987-360b-4640-9e2c-f5c29f930a3b\\nMergeFaceGroupsJob\\n3FF344BF-87A9-4AC3-A3DE-9E1FAED7D1FE\\nset001\\nGroup-c5fdad70-fd60-4c2a-8a08-ed86aca21f09\\nMergeFaceGroupsJob-055995ef-9c5e-4db4-a99a-0900d1e31d26","errorExample":""}]',
'title' => 'CreateMergeFaceGroupsJob ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListSetTags' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immimagetest'],
],
[
'name' => 'SetId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'set001'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC5CF0A7-7A3A-43D0-888C-AC275EA4A6F9\\",\\n \\"SetId\\": \\"set001\\",\\n \\"Tags\\": [\\n {\\n \\"TagName\\": \\"人物\\",\\n \\"TagCount\\": 5,\\n \\"TagLevel\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"DC5CF0A7-7A3A-43D0-888C-AC275EA4A6F9\\nset001\\n\\n 5\\n 人物\\n 1\\n\\n\\n 5\\n 脸\\n 2\\n","errorExample":""}]',
'title' => 'ListSetTags',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetImageQuality' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
],
],
'RequestId' => ['description' => '', 'type' => 'string', 'example' => '7F89F18C-40BF-4E1C-95C4-324FF00BFAE8'],
'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/qualitytest.jpg'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ImageQuality\\": {\\n \\"OverallScore\\": 0.7759467363357544,\\n \\"Color\\": 0.6101377010345459,\\n \\"ColorScore\\": 0.6101377010345459,\\n \\"ContrastScore\\": 0.6101377010345459,\\n \\"Contrast\\": 0.6101377010345459,\\n \\"ExposureScore\\": 0.6101377010345459,\\n \\"ClarityScore\\": 0.6101377010345459,\\n \\"Clarity\\": 0.6101377010345459,\\n \\"Exposure\\": 0.6101377010345459,\\n \\"CompositionScore\\": 0.6101377010345459\\n },\\n \\"RequestId\\": \\"7F89F18C-40BF-4E1C-95C4-324FF00BFAE8\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/qualitytest.jpg\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0.7759467363357544\\n\\n7F89F18C-40BF-4E1C-95C4-324FF00BFAE8\\noss://imm-test/testcases/qualitytest.jpg","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetImageCroppingSuggestions' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'AspectRatios',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["1:1","2:3"]'],
],
],
'responses' => [
200 => [
'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'],
'CroppingSuggestions' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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'],
],
],
'AspectRatio' => ['description' => '', 'type' => 'string', 'example' => '1:1'],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EA153782-13A5-44EE-835A-90A14FC51352\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/imagecroppingtest.jpg\\",\\n \\"CroppingSuggestions\\": [\\n {\\n \\"Score\\": 0.6979608535766602,\\n \\"CroppingBoundary\\": {\\n \\"Top\\": 77,\\n \\"Width\\": 500,\\n \\"Height\\": 500,\\n \\"Left\\": 0\\n },\\n \\"AspectRatio\\": \\"1:1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"EA153782-13A5-44EE-835A-90A14FC51352\\noss://imm-test/testcases/imagecroppingtest.jpg\\n\\n 1:1\\n 0.6979608535766602\\n \\n 0\\n 77\\n 500\\n 500\\n \\n\\n\\n 2:3\\n 0.781792938709259\\n \\n 0\\n 77\\n 750\\n 500\\n \\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DetectQRCodes' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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”]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'SuccessDetails' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'SrcUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/QRcodetest.jpg'],
'QRCodes' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'QRCodesRectangle' => [
'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'],
],
],
'Content' => ['description' => '', 'type' => 'string', 'example' => 'https://www.aliyun.com/product/imm'],
],
],
],
],
],
],
'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'],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"SuccessDetails\\": [\\n {\\n \\"SrcUri\\": \\"oss://imm-test/testcases/QRcodetest.jpg\\",\\n \\"QRCodes\\": [\\n {\\n \\"QRCodesRectangle\\": {\\n \\"Top\\": \\"295\\",\\n \\"Width\\": \\"741\\",\\n \\"Height\\": \\"706\\",\\n \\"Left\\": \\"460\\"\\n },\\n \\"Content\\": \\"https://www.aliyun.com/product/imm\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"E6A558B8-87C1-45BE-90B9-26049B0BAB01\\",\\n \\"FailDetails\\": [\\n {\\n \\"ErrorMessage\\": \\"The resource SrcUris is not valid. Please check.\\",\\n \\"SrcUri\\": \\"oss://imm-test/testcases/QRcodetest.jpg\\",\\n \\"ErrorCode\\": \\"InvalidSrcUris\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n oss://imm-test/testcases/QRcodetest.jpg\\n \\n \\n 460\\n 295\\n 706\\n 741\\n \\n https://www.aliyun.com/product/imm\\n \\n\\nE6A558B8-87C1-45BE-90B9-26049B0BAB01","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'DetectImageQRCodes' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
'QRCodes' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"52D33EAE-88B2-4ADE-A5DB-18BD426617A5\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/QRcodetest.jpg\\",\\n \\"QRCodes\\": [\\n {\\n \\"Content\\": \\"https://www.aliyun.com/product/imm\\",\\n \\"QRCodeBoundary\\": {\\n \\"Top\\": 295,\\n \\"Width\\": 741,\\n \\"Height\\": 706,\\n \\"Left\\": 460\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"52D33EAE-88B2-4ADE-A5DB-18BD426617A5\\noss://imm-test/testcases/QRcodetest.jpg\\n\\n https://www.aliyun.com/product/imm\\n \\n 460\\n 295\\n 706\\n 741\\n \\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DetectImageTags' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
'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' => ''],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"91AC8C98-0F36-49D2-8290-742E24DF1F69\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/facetest.jpg\\",\\n \\"Tags\\": [\\n {\\n \\"ParentTagEnName\\": \\"person\\",\\n \\"TagName\\": \\"脸\\",\\n \\"TagConfidence\\": 0.9897482395172119,\\n \\"CentricScore\\": 0,\\n \\"TagEnName\\": \\"face\\",\\n \\"TagLevel\\": 2,\\n \\"ParentTagName\\": \\"人物\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"91AC8C98-0F36-49D2-8290-742E24DF1F69\\noss://imm-test/testcases/facetest.jpg\\n\\n 脸\\n 0.9897482395172119\\n 2\\n 人物\\n\\n\\n 人物\\n 0.9897482395172119\\n 1\\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DetectImageFaces' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'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'],
'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'],
'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'],
'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'],
],
'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'],
],
'type' => 'object',
],
'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'],
'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'],
],
'type' => 'object',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D2C628B8-35DF-473C-8A41-757F30202ADC\\",\\n \\"ImageUri\\": \\"oss://imm-test/testcases/facetest.png\\",\\n \\"Faces\\": [\\n {\\n \\"AttractiveConfidence\\": 0.9321795701980591,\\n \\"Gender\\": \\"FEMALE\\",\\n \\"GenderConfidence\\": 1,\\n \\"FaceId\\": \\"59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\",\\n \\"FaceAttributes\\": {\\n \\"GlassesConfidence\\": 1,\\n \\"Glasses\\": \\"NONE\\",\\n \\"Mask\\": \\"NONE\\",\\n \\"BeardConfidence\\": 1,\\n \\"MaskConfidence\\": 1,\\n \\"FaceBoundary\\": {\\n \\"Top\\": 191,\\n \\"Width\\": 269,\\n \\"Height\\": 252,\\n \\"Left\\": 95\\n },\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.38559913635254,\\n \\"Roll\\": 4.204077243804932,\\n \\"Yaw\\": 2.49458646774292\\n },\\n \\"Beard\\": \\"NONE\\"\\n },\\n \\"FaceQuality\\": 0.9321795701980591,\\n \\"Emotion\\": \\"HAPPY\\",\\n \\"Age\\": 29,\\n \\"FaceConfidence\\": 0.960875928401947,\\n \\"EmotionConfidence\\": 0.7078456878662109,\\n \\"Attractive\\": 0.96,\\n \\"AgeConfidence\\": 0.9321795701980591,\\n \\"EmotionDetails\\": {\\n \\"HAPPY\\": 0.7078456878662109,\\n \\"CALM\\": 0.2919808030128479,\\n \\"SURPRISED\\": 0.00006672900053672493,\\n \\"DISGUSTED\\": 0.00003373104118509218,\\n \\"ANGRY\\": 0.000012824941222788766,\\n \\"SAD\\": 0.00001525594689155696,\\n \\"SCARED\\": 0.0000014968593404773856\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"D2C628B8-35DF-473C-8A41-757F30202ADC\\noss://imm-test/testcases/facetest.png\\n\\n 0.960875928401947\\n 59edc040d0a8f4952b183d1b5044913a0ccd8739500ee2705ffe4965a0406a51\\n 0.9321795701980591\\n 0.96\\n 1\\n 0.7078456878662109\\n HAPPY\\n FEMALE\\n 29\\n\\n\\n \\n 0.2919808030128479\\n 0.0000014968593404773856\\n 0.7078456878662109\\n 0.00006672900053672493\\n 0.00001525594689155696\\n 0.00003373104118509218\\n 0.000012824941222788766\\n \\n \\n NONE\\n \\n 95\\n 191\\n 252\\n 269\\n \\n 1\\n \\n 18.38559913635254\\n 4.204077243804932\\n 2.49458646774292\\n \\n 1\\n NONE\\n NONE\\n 1\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'DetectImageBodies' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
'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'],
],
],
],
],
],
'ImageUri' => ['description' => '', 'type' => 'string', 'example' => 'oss://imm-test/testcases/bodytest.jpg'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8AE4DA72-07F7-4BBC-8ECD-CBE8877BAD06\\",\\n \\"Bodies\\": [\\n {\\n \\"BodyConfidence\\": 0.9966312050819397,\\n \\"BodyBoundary\\": {\\n \\"Top\\": 65,\\n \\"Width\\": 372,\\n \\"Height\\": 560,\\n \\"Left\\": 51\\n }\\n }\\n ],\\n \\"ImageUri\\": \\"oss://imm-test/testcases/bodytest.jpg\\"\\n}","errorExample":""},{"type":"xml","example":"8AE4DA72-07F7-4BBC-8ECD-CBE8877BAD06\\n\\n 0.9966312050819397\\n \\n 51\\n 65\\n 560\\n 372\\n \\n\\noss://imm-test/testcases/bodytest.jpg","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EncodeBlindWatermark' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'WatermarkUri',
'in' => 'query',
'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'],
],
[
'name' => 'ImageQuality',
'in' => 'query',
'schema' => ['description' => '', 'example' => '90', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Content',
'in' => 'query',
'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TargetImageType',
'in' => 'query',
'schema' => ['description' => '', 'example' => 'jpg', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Model',
'in' => 'query',
'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'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8E0DD64B-28C6-4653-8FF7-93E4C234BCF0\\",\\n \\"Content\\": \\"阿里云版权所有\\",\\n \\"TargetUri\\": \\"oss://imm-test/testcases/watermarktestafter.jpg\\"\\n}","errorExample":""},{"type":"xml","example":"8E0DD64B-28C6-4653-8FF7-93E4C234BCF0\\n阿里云版权所有\\noss://imm-test/testcases/watermarktestafter.jpg","errorExample":""}]',
'extraInfo' => ' ',
'responseParamsDescription' => ' ',
],
'DecodeBlindWatermark' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'OriginalImageUri',
'in' => 'query',
'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'],
],
[
'name' => 'ImageQuality',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3B2ED30A-5C90-40D7-903B-8C31C7DBA3C6\\",\\n \\"TargetUri\\": \\"oss://imm-test/testcases/decodewatermarktest.jpg\\"\\n}","errorExample":""},{"type":"xml","example":"\\n3B2ED30A-5C90-40D7-903B-8C31C7DBA3C6\\noss://imm-test/testcases/decodewatermarktest.jpg\\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetMediaMeta' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
'MediaMeta' => [
'description' => '',
'type' => 'object',
'properties' => [
'MediaFormat' => [
'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'],
'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'],
],
],
'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' => ''],
],
],
'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' => [
'description' => '',
'type' => 'object',
'properties' => [
'VideoStreams' => [
'description' => '',
'type' => 'array',
'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'],
],
],
],
'AudioStreams' => [
'description' => '',
'type' => 'array',
'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'],
],
],
],
'SubtitleStreams' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Index' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'Language' => ['description' => '', 'type' => 'string', 'example' => 'eng'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"MediaUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"RequestId\\": \\"2213B1A9-EB3D-4666-84E0-24980BCC4649\\",\\n \\"MediaMeta\\": {\\n \\"MediaFormat\\": {\\n \\"CreationTime\\": \\"2020-10-25T09:16:09.000000Z\\",\\n \\"NumberPrograms\\": 2,\\n \\"NumberStreams\\": 2,\\n \\"Tag\\": {\\n \\"CreationTime\\": \\"2020-10-25T09:16:09.000000Z\\",\\n \\"Album\\": \\"unable\\",\\n \\"AlbumArtist\\": \\"unable\\",\\n \\"Performer\\": \\"unable\\",\\n \\"Composer\\": \\"unable\\",\\n \\"Artist\\": \\"unable\\",\\n \\"Title\\": \\"unable\\",\\n \\"Language\\": \\"unable\\"\\n },\\n \\"Bitrate\\": \\"13164131\\",\\n \\"StartTime\\": \\"0.000000\\",\\n \\"Size\\": \\"25115517\\",\\n \\"Address\\": {\\n \\"Township\\": \\"转塘街道\\",\\n \\"District\\": \\"西湖区\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市西湖区转塘街道石龙山西路\\",\\n \\"Country\\": \\"中国\\",\\n \\"City\\": \\"杭州市\\",\\n \\"Province\\": \\"浙江省\\"\\n },\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"Duration\\": \\"15.263000\\",\\n \\"FormatName\\": \\"mov,mp4,m4a,3gp,3g2,mj2\\",\\n \\"Location\\": \\"30.134390,120.074997\\"\\n },\\n \\"MediaStreams\\": {\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Height\\": 1920,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"AverageFrameRate\\": \\"41580000/1373627\\",\\n \\"Bitrate\\": \\"13091201\\",\\n \\"Rotate\\": \\"90\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"Language\\": \\"eng\\",\\n \\"HasBFrames\\": 2,\\n \\"FrameRrate\\": \\"90000/1\\",\\n \\"Profile\\": \\"Baseline\\",\\n \\"StartTime\\": \\"0.000000\\",\\n \\"Frames\\": \\"462\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"Width\\": 1080,\\n \\"Duration\\": \\"15.262522\\",\\n \\"DisplayAspectRatio\\": \\"9:16\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"TimeBase\\": \\"1/90000\\",\\n \\"Level\\": 40,\\n \\"PixelFormat\\": \\"yuv420p\\"\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"SampleRate\\": \\"44100\\",\\n \\"ChannelLayout\\": \\"mono\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"Channels\\": 1,\\n \\"Bitrate\\": \\"64003\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"Language\\": \\"eng\\",\\n \\"StartTime\\": \\"0.000000\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"Frames\\": \\"656\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"Duration\\": \\"15.256803\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"TimeBase\\": \\"1/44100\\"\\n }\\n ],\\n \\"SubtitleStreams\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"eng\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"oss://imm-test/testcases/video.mp4\\n2213B1A9-EB3D-4666-84E0-24980BCC4649\\n\\n \\n \\n 转塘街道\\n 中国浙江省杭州市西湖区转塘街道石龙山西路\\n 中国\\n 杭州市\\n 西湖区\\n 浙江省\\n \\n 25115517\\n 2\\n QuickTime / MOV\\n 2020-10-25T09:16:09.000000Z\\n 0\\n mov,mp4,m4a,3gp,3g2,mj2\\n 15.263\\n 13164131\\n 30.134390,120.074997\\n \\n \\n \\n \\n 0x31637661\\n 462\\n 1373627/83160000\\n 90\\n 1:1\\n 0\\n 15.262522\\n 0\\n 13091201\\n h264\\n Baseline\\n 9:16\\n 2\\n avc1\\n 41580000/1373627\\n eng\\n H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\n 40\\n yuv420p\\n 1920\\n 90000/1\\n 1080\\n 1/90000\\n \\n \\n eng\\n 2\\n \\n \\n 0x31637661\\n 656\\n 1/44100\\n mono\\n 0\\n 15.256803\\n 1\\n 64003\\n aac\\n 1\\n fltp\\n mp4a\\n 44100\\n eng\\n AAC (Advanced Audio Coding)\\n 1/44100\\n \\n \\n","errorExample":""}]',
'title' => 'GetMediaMeta',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'IndexVideo' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'RemarksA',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AdminGroup/AdminUserA/'],
],
[
'name' => 'RemarksB',
'in' => 'query',
'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'],
],
[
'name' => 'RemarksC',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'remarkc'],
],
[
'name' => 'RemarksD',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'remarkd'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'externalId001'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ModifyTime\\": \\"2021-01-21T07:40:41.683Z\\",\\n \\"RequestId\\": \\"896ABAD1-C452-4BED-B5E0-302955F8BAB5\\",\\n \\"CreateTime\\": \\"2021-01-21T07:40:41.683Z\\",\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"VideoUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"RemarksA\\": \\"AdminGroup/AdminUserA/\\",\\n \\"RemarksB\\": \\"nas://path/to/file\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"SetId\\": \\"videoset\\"\\n}","errorExample":""},{"type":"xml","example":"2021-01-21T07:40:41.683Z\\nremarkc\\nremarkd\\n896ABAD1-C452-4BED-B5E0-302955F8BAB5\\nexternalId001\\n2021-01-21T07:40:41.683Z\\noss://imm-test/testcases/video.mp4\\nAdminGroup/AdminUserA/\\nvideoset\\nnas://path/to/file","errorExample":""}]',
'title' => 'IndexVideo',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListVideos' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk='],
],
],
'responses' => [
200 => [
'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'],
'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'],
'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' => ''],
],
],
],
'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'],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B1469D0A-862A-405E-B81B-37760516627D\\",\\n \\"NextMarker\\": \\"CAESEgoQCg4KCkNyZWF0ZVRpbWUQABgBItcBCgkAIUv1J88rSRYKyQEDxAAAADFTMzEzNzM0MzYzNDM5MzUzODM1MzczNjMwMzIzNzM0MzUzYTY5NmQ2ZDY5NmQ2MTY3NjUzYTczNjU3NDMwMzAzMTNhMzc2NTY1NjM2NTMyMzQzNjYyMzUzMjM3MzgzODMwMzA2MzM4NjE2NDM4NjQ2MzY2NjE2MTMxNjMzNDMxNjY2MTY0MzEzODM0NjMzOTMzNjQ2MTM2MzUzMjY2NjYzMjMzNjUzNzM1NjUzNzM3MzM2MTY0MzEzMTM2MzYzMTM4Mzk=\\",\\n \\"SetId\\": \\"videoset\\",\\n \\"Videos\\": [\\n {\\n \\"CreateTime\\": \\"2021-01-21T07:40:41.683Z\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"VideoTagsFailReason\\": \\"Timeout\\",\\n \\"SourceType\\": \\"video\\",\\n \\"VideoDuration\\": 15.263,\\n \\"VideoTags\\": [\\n {\\n \\"TagName\\": \\"大型超市\\",\\n \\"TagConfidence\\": 0.8933850526809692,\\n \\"TagLevel\\": 2,\\n \\"ParentTagName\\": \\"内部场景\\"\\n }\\n ],\\n \\"ProcessModifyTime\\": \\"2021-01-21T07:40:53.955Z\\",\\n \\"VideoFrames\\": 462,\\n \\"VideoTagsStatus\\": \\"Success\\",\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"SourceUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"FileSize\\": 25115517,\\n \\"ModifyTime\\": \\"2021-01-21T07:40:41.683Z\\",\\n \\"SourcePosition\\": \\"00000000.010\\",\\n \\"VideoWidth\\": 1080,\\n \\"VideoFormat\\": \\"mov,mp4,m4a,3gp,3g2,mj2\\",\\n \\"VideoHeight\\": 1920,\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"VideoUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"ProcessFailReason\\": \\"Timeout\\",\\n \\"VideoTagsModifyTime\\": \\"2021-01-21T07:40:53.95Z\\",\\n \\"RemarksA\\": \\"AdminGroup/AdminUserA/\\",\\n \\"ProcessStatus\\": \\"Success\\",\\n \\"RemarksB\\": \\"nas://path/to/file\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"B1469D0A-862A-405E-B81B-37760516627D\\n\\nvideoset\\n\\n 2021-01-21T07:40:41.683Z\\n Success\\n 1080\\n oss://imm-test/testcases/video.mp4\\n video\\n AdminGroup/AdminUserA/\\n nas://path/to/file\\n remarkc\\n remarkd\\n 1920\\n Timeout\\n 2021-01-21T07:40:53.95Z\\n 462\\n 2021-01-21T07:40:53.955Z\\n Timeout\\n externalId001\\n 2021-01-21T07:40:41.683Z\\n oss://imm-test/testcases/video.mp4\\n mov,mp4,m4a,3gp,3g2,mj2\\n 15.263\\n Success\\n 25115517\\n \\n 内部场景\\n 0.9230213165283203\\n 1\\n \\n \\n 大型超市\\n 0.8933850526809692\\n 2\\n 内部场景\\n \\n","errorExample":""}]',
'title' => 'ListVideos',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetVideo' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
'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' => ''],
],
],
],
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ModifyTime\\": \\"2021-01-21T07:40:41.683Z\\",\\n \\"ProcessStatus\\": \\"Success\\",\\n \\"VideoWidth\\": 1080,\\n \\"SourceType\\": \\"video\\",\\n \\"SourceUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"VideoInfo\\": \\"{\\\\\\"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\\\\\\":{}}}\\",\\n \\"VideoFrameTagsModifyTime\\": \\"1970-01-01T00:00:00Z\\",\\n \\"RemarksA\\": \\"AdminGroup/AdminUserA/\\",\\n \\"VideoFacesFailReason\\": \\"Timeout\\",\\n \\"RemarksB\\": \\"nas://path/to/file\\",\\n \\"VideoFacesStatus\\": \\"Success\\",\\n \\"RemarksC\\": \\"remarkc\\",\\n \\"VideoOCRModifyTime\\": \\"1970-01-01T00:00:00Z\\",\\n \\"RemarksD\\": \\"remarkd\\",\\n \\"VideoHeight\\": 1920,\\n \\"SourcePosition\\": \\"00000000.010\\",\\n \\"VideoOCRFailReason\\": \\"Timeout\\",\\n \\"VideoFrameTagsStatus\\": \\"Success\\",\\n \\"VideoTagsFailReason\\": \\"Timeout\\",\\n \\"VideoTagsModifyTime\\": \\"2021-01-21T07:40:53.95Z\\",\\n \\"VideoOCRStatus\\": \\"Success\\",\\n \\"VideoFrames\\": 462,\\n \\"RequestId\\": \\"5FC2B195-B43E-45ED-9BEC-169358550193\\",\\n \\"ProcessModifyTime\\": \\"2021-01-21T07:40:53.955Z\\",\\n \\"VideoSTTModifyTime\\": \\"2021-01-21T07:40:53.95Z\\",\\n \\"ProcessFailReason\\": \\"Timeout\\",\\n \\"CreateTime\\": \\"2021-01-21T07:40:41.683Z\\",\\n \\"ExternalId\\": \\"externalId001\\",\\n \\"VideoSTTFailReason\\": \\"Timeout\\",\\n \\"VideoUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"VideoFrameTagsFailReason\\": \\"Timeout\\",\\n \\"VideoFormat\\": \\"mov,mp4,m4a,3gp,3g2,mj2\\",\\n \\"VideoSTTStatus\\": \\"Success\\",\\n \\"VideoFacesModifyTime\\": \\"1970-01-01T00:00:00Z\\",\\n \\"VideoTags\\": [\\n {\\n \\"TagName\\": \\"大型超市\\",\\n \\"TagConfidence\\": 0.8933850526809692,\\n \\"TagLevel\\": 2,\\n \\"ParentTagName\\": \\"内部场景\\"\\n }\\n ],\\n \\"VideoDuration\\": 15.263,\\n \\"SetId\\": \\"videoset\\",\\n \\"VideoTagsStatus\\": \\"Success\\",\\n \\"FileSize\\": 25115517\\n}","errorExample":""},{"type":"xml","example":"2021-01-21T07:40:41.683Z\\nSuccess\\n1080\\noss://imm-test/testcases/video.mp4\\nvideo\\n{\\"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\\":[{\\"Index\\":1,\\"CodecName\\":\\"aac\\",\\"CodecLongName\\":\\"AAC (Advanced Audio Coding)\\",\\"CodecTimeBase\\":\\"1/44100\\",\\"CodecTagString\\":\\"mp4a\\",\\"CodecTag\\":\\"0x6134706d\\",\\"SampleFormat\\":\\"fltp\\",\\"SampleRate\\":\\"44100\\",\\"Channels\\":1,\\"ChannelLayout\\":\\"mono\\",\\"TimeBase\\":\\"1/44100\\",\\"StartTime\\":\\"0.000000\\",\\"Duration\\":\\"15.256803\\",\\"Bitrate\\":\\"64003\\",\\"Frames\\":\\"656\\",\\"Language\\":\\"eng\\"}],\\"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\\":{\\"CreationTime\\":\\"2020-10-25T09:16:09.000000Z\\"}}}\\n1970-01-01T00:00:00Z\\nAdminGroup/AdminUserA/\\nnas://path/to/file\\nSuccess\\n1970-01-01T00:00:00Z\\nremarkc\\nremarkd\\n1920\\n0.01\\nSuccess\\n2021-01-21T07:40:53.95Z\\nSuccess\\n462\\n5FC2B195-B43E-45ED-9BEC-169358550193\\n2021-01-21T07:40:53.95Z\\n2021-01-21T07:40:53.955Z\\nexternalId001\\n2021-01-21T07:40:41.683Z\\noss://imm-test/testcases/video.mp4\\nmp4\\nSuccess\\n1970-01-01T00:00:00Z\\n\\n 内部场景\\n 0.9230213165283203\\n 1\\n\\n\\n 大型超市\\n 0.8933850526809692\\n 2\\n 内部场景\\n\\n15.263\\nvideoset\\nSuccess\\n25115517","errorExample":""}]',
'title' => 'GetVideo',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteVideo' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'SetId',
'in' => 'query',
'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'],
],
[
'name' => 'Resources',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7A740EB3-23C6-4002-98D8-F4183328D40C\\",\\n \\"VideoUri\\": \\"oss://imm-test/testcases/video.mp4\\",\\n \\"SetId\\": \\"videoset\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7A740EB3-23C6-4002-98D8-F4183328D40C\\n oss://imm-test/testcases/video.mp4\\n videoset\\n","errorExample":""}]',
'title' => 'DeleteVideo',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetVideoTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'TaskType',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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\\"}"}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Finished\\",\\n \\"Progress\\": 100,\\n \\"NotifyEndpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"Parameters\\": \\"{\\\\n \\\\\\"EndTime\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"GrabType\\\\\\": \\\\\\"time\\\\\\",\\\\n \\\\\\"Interval\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"RequestId\\\\\\": \\\\\\"B8982C37-E03A-47CD-A715-D83D128D9FEB\\\\\\",\\\\n \\\\\\"SrcUri\\\\\\": \\\\\\"oss://imm-test/testcases/video.mp4\\\\\\",\\\\n \\\\\\"StartTime\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"TaskType\\\\\\": \\\\\\"CompressVideoTask\\\\\\",\\\\n \\\\\\"TgtUri\\\\\\": \\\\\\"oss://imm-test/testcases\\\\\\"\\\\n}\\",\\n \\"TaskId\\": \\"CompressVideoTask-c091c3f5-e6a5-46ce-a0f2-454bd779\\",\\n \\"EndTime\\": \\"2021-01-28T03:24:25.915048Z\\",\\n \\"RequestId\\": \\"C7593402-F428-47B1-80B2-F94B6859F119\\",\\n \\"TaskType\\": \\"CompressVideoTask\\",\\n \\"StartTime\\": \\"2021-01-28T03:24:23.726372Z\\",\\n \\"NotifyTopicName\\": \\"topic1\\",\\n \\"ErrorMessage\\": \\"Invalid Argument:VideoUri\\",\\n \\"Result\\": \\"{\\\\\\"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\\\\\\\\\\\\\\"}\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"Finished\\n\\n{\\"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\\"}\\nVideoAnalyseTask-c091c3f5-e6a5-46ce-a0f2-454bd779\\n2021-01-28T03:24:25.915048Z\\nC7593402-F428-47B1-80B2-F94B6859F119\\n2021-01-28T03:24:23.726372Z\\n{\\"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\\\\\\"}\\"}\\nhttp://1111111111.mns.cn-hangzhou.aliyuncs.com\\nVideoAnalyseTask\\ntopic1\\nSuccess","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListVideoTasks' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'MaxKeys',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoAnalyseTask'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Tasks' => [
'description' => '',
'type' => 'array',
'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'],
],
],
],
'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'B70908A5-02B8-4CEC-A660-2A8A10ADE862'],
'NextMarker' => ['description' => '', 'type' => 'string', 'example' => 'VideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Tasks\\": [\\n {\\n \\"EndTime\\": \\"2021-01-28T03:24:25.915048Z\\",\\n \\"Status\\": \\"Finished\\",\\n \\"StartTime\\": \\"2021-01-28T03:24:23.726372Z\\",\\n \\"TaskType\\": \\"VideoAnalyseTask\\",\\n \\"Progress\\": 100,\\n \\"NotifyEndpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"ErrorMessage\\": \\"Invalid Argument:VideoUri\\",\\n \\"Parameters\\": \\"{\\\\\\"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\\\\\\"}\\",\\n \\"Result\\": \\"{\\\\\\"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\\\\\\\\\\\\\\"}\\\\\\"}\\",\\n \\"TaskId\\": \\"VideoAnalyseTask-8d7a4a32-f445-47fd-bdff-397a87651879\\",\\n \\"NotifyTopicName\\": \\"topic1\\"\\n }\\n ],\\n \\"RequestId\\": \\"B70908A5-02B8-4CEC-A660-2A8A10ADE862\\",\\n \\"NextMarker\\": \\"VideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b\\"\\n}","errorExample":""},{"type":"xml","example":"\\n Finished\\n \\n http://1111111111.mns.cn-hangzhou.aliyuncs.com\\n {\\"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\\"}\\n VideoAnalyseTask-8d7a4a32-f445-47fd-bdff-397a87651879\\n 2021-01-28T03:24:25.915048Z\\n VideoAnalyseTask\\n 2021-01-28T03:24:23.726372Z\\n topic1\\n Success\\n {\\"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\\\\\\"}\\"}\\n\\nB70908A5-02B8-4CEC-A660-2A8A10ADE862\\nVideoAnalyseTask-4b5c5b94-ba39-4008-9342-30abe341792b","errorExample":""}]',
'title' => 'ListVideoTasks',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteVideoTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'immvideotest'],
],
[
'name' => 'TaskType',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '', 'type' => 'string', 'example' => '02CDECFE-4234-4734-9D4A-F1BB8D3C3374'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"02CDECFE-4234-4734-9D4A-F1BB8D3C3374\\"\\n}","errorExample":""},{"type":"xml","example":"02CDECFE-4234-4734-9D4A-F1BB8D3C3374","errorExample":""}]',
'title' => 'DeleteVideoTask',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateVideoCompressTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'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'],
],
[
'name' => 'TargetList',
'in' => 'query',
'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'],
],
[
'name' => 'TargetSegment',
'in' => 'query',
'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":[]}'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"CompressVideoTask-c09b0943-ed79-4983-8dbe-7a882574****\\",\\n \\"RequestId\\": \\"CB4D73A3-BAF4-4A9D-A631-15F219AF****\\",\\n \\"TaskType\\": \\"CompressVideoTask\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CompressVideoTask-c09b0943-ed79-4983-8dbe-7a882574****\\n CB4D73A3-BAF4-4A9D-A631-15F219AF****\\n CompressVideoTask\\n","errorExample":""}]',
'title' => 'CreateVideoCompressTask',
],
'CreateGrabFrameTask' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'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'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'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'],
],
[
'name' => 'TargetList',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"GrabFrameTask-ffcdec0c-73ba-451a-bec4-a9fe3f4cd765\\",\\n \\"RequestId\\": \\"10AFFE69-73BA-47C2-8A85-029AA9DA72A3\\",\\n \\"TaskType\\": \\"GrabFrameTask\\"\\n}","errorExample":""},{"type":"xml","example":"GrabFrameTask-ffcdec0c-73ba-451a-bec4-a9fe3f4cd765\\n10AFFE69-73BA-47C2-8A85-029AA9DA72A3\\nGrabFrameTask","errorExample":""}]',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'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'],
],
];