summaryrefslogtreecommitdiff
path: root/data/en_us/ivpd/2019-06-25
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/ivpd/2019-06-25
downloadacs-metadata-full-1.0.0+20260212.tar.gz
acs-metadata-full-1.0.0+20260212.zip
Diffstat (limited to 'data/en_us/ivpd/2019-06-25')
-rw-r--r--data/en_us/ivpd/2019-06-25/api-docs.php887
1 files changed, 887 insertions, 0 deletions
diff --git a/data/en_us/ivpd/2019-06-25/api-docs.php b/data/en_us/ivpd/2019-06-25/api-docs.php
new file mode 100644
index 0000000..0d23320
--- /dev/null
+++ b/data/en_us/ivpd/2019-06-25/api-docs.php
@@ -0,0 +1,887 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'ivpd',
+ 'version' => '2019-06-25',
+ ],
+ 'directories' => [
+ [
+ 'id' => 65055,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ChangeImageSize',
+ 'DetectImageElements',
+ 'ExtendImageStyle',
+ 'MakeSuperResolutionImage',
+ 'RecognizeImageColor',
+ 'RecognizeImageStyle',
+ 'SegmentImage',
+ 'RecolorImage',
+ 'SegmentBody',
+ ],
+ ],
+ [
+ 'id' => 161635,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'ChangeImageSize' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Width',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '5000',
+ 'minimum' => '10',
+ 'example' => '1920',
+ ],
+ ],
+ [
+ 'name' => 'Height',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '5000',
+ 'minimum' => '10',
+ 'example' => '1080',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://a.b.cn/1.jpg',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://a.b.c/2.jpg',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"Url\\": \\"http://a.b.c/2.jpg\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DetectImageElements' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://a.b.c/1.jpg',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Elements' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Height' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1920',
+ ],
+ 'Score' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.9556',
+ ],
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'character',
+ ],
+ 'Width' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1080',
+ ],
+ 'X' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '211',
+ ],
+ 'Y' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '65',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Type\\": \\"character\\",\\n \\"Width\\": 1080,\\n \\"Height\\": 1920,\\n \\"Y\\": 65,\\n \\"Score\\": 0.9556,\\n \\"X\\": 211\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ExtendImageStyle' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StyleUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/extend-style-style-src.jpeg',
+ ],
+ ],
+ [
+ 'name' => 'MajorUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/extend-style-major-src.jpeg',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MajorUrl' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://luban-vgd-invi.oss-cn-hangzhou.aliyuncs.com/upload/filterwrapper-et3invipre-filterplan-1930545240-f79fb/2019-8-27/invi__015668930975431000123_vq9uY7.jpg?Expires=1566896697&OSSAccessKeyId=LTAIDTT5xL3nv1sI&Signature=uRh3gwFcUmJ2XcfHWQIWIMkvl3E%3D',
+ ],
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://luban-vgd-invi.oss-cn-hangzhou.aliyuncs.com/upload/filterwrapper-et3invipre-filterplan-1930545240-f79fb/2019-8-27/invi__015668930975431000123_vq9uY7.jpg?Expires=1566896697&OSSAccessKeyId=LTAIDTT5xL3nv1sI&Signature=uRh3gwFcUmJ2XcfHWQIWIMkvl3E%3D',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"Url\\": \\"http://luban-vgd-invi.oss-cn-hangzhou.aliyuncs.com/upload/filterwrapper-et3invipre-filterplan-1930545240-f79fb/2019-8-27/invi__015668930975431000123_vq9uY7.jpg?Expires=1566896697&OSSAccessKeyId=LTAIDTT5xL3nv1sI&Signature=uRh3gwFcUmJ2XcfHWQIWIMkvl3E%3D\\",\\n \\"MajorUrl\\": \\"http://luban-vgd-invi.oss-cn-hangzhou.aliyuncs.com/upload/filterwrapper-et3invipre-filterplan-1930545240-f79fb/2019-8-27/invi__015668930975431000123_vq9uY7.jpg?Expires=1566896697&OSSAccessKeyId=LTAIDTT5xL3nv1sI&Signature=uRh3gwFcUmJ2XcfHWQIWIMkvl3E%3D\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'MakeSuperResolutionImage' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/super-resolution-src.png',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/super-resolution-result.png',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"Url\\": \\"http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/super-resolution-result.png\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ ],
+ 'RecognizeImageColor' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/recognizer-image-color-src.png',
+ ],
+ ],
+ [
+ 'name' => 'ColorCount',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '3',
+ 'pattern' => '^\\d+$',
+ 'default' => '3',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ColorTemplateList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Color' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '291A18',
+ ],
+ 'Label' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'gray',
+ ],
+ 'Percentage' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.3',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"ColorTemplateList\\": [\\n {\\n \\"Percentage\\": 0.3,\\n \\"Color\\": \\"291A18\\",\\n \\"Label\\": \\"gray\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RecognizeImageStyle' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/recoginzer-image-type-src.png',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Styles' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'promotion',
+ ],
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"Styles\\": [\\n \\"promotion\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SegmentImage' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/segment-image-src.jpg',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://a.b.c/2.png',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"Url\\": \\"http://a.b.c/2.png\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ ],
+ 'RecolorImage' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/recolor-1-src.png',
+ ],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'AUTO',
+ ],
+ ],
+ [
+ 'name' => 'RefUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'http://vigen-invi-cdn.alibaba.com/aliyun-doc/pop/images/recolor-refurl-src.png',
+ ],
+ ],
+ [
+ 'name' => 'ColorCount',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '8',
+ 'minimum' => '1',
+ 'example' => '3',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ColorTemplate',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Color' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0A0B0C',
+ ],
+ ],
+ ],
+ 'required' => false,
+ 'maxItems' => 8,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://a.b.c/3.png',
+ ],
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7308917D-9E1B-4F11-8A79-0F140270E672',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"7308917D-9E1B-4F11-8A79-0F140270E672\\",\\n \\"Data\\": {\\n \\"ImageList\\": [\\n \\"http://a.b.c/3.png\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ ],
+ 'SegmentBody' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ImageUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageUrl' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。',
+ ],
+ 'responseDemo' => null,
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'ivpd.cn-huhehaote.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'ivpd.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'ivpd.cn-shanghai.aliyuncs.com',
+ ],
+ ],
+];