From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/en_us/goodstech/2019-12-30/api-docs.php | 102 +++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 data/en_us/goodstech/2019-12-30/api-docs.php (limited to 'data/en_us/goodstech/2019-12-30/api-docs.php') diff --git a/data/en_us/goodstech/2019-12-30/api-docs.php b/data/en_us/goodstech/2019-12-30/api-docs.php new file mode 100644 index 0000000..6cfb8ac --- /dev/null +++ b/data/en_us/goodstech/2019-12-30/api-docs.php @@ -0,0 +1,102 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'goodstech', + 'version' => '2019-12-30', + ], + 'directories' => [ + 'ClassifyCommodity', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ClassifyCommodity' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/goodstech/ClassifyCommodity/ClassifyCommodity1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '87C5AF93-F641-54C2-873D-0501E637489C', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Categories' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'example' => '0.417248', + 'format' => 'float', + 'type' => 'number', + ], + 'CategoryId' => [ + 'description' => '', + 'example' => '584', + 'type' => 'string', + ], + 'CategoryName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"87C5AF93-F641-54C2-873D-0501E637489C\\",\\n \\"Data\\": {\\n \\"Categories\\": [\\n {\\n \\"Score\\": 0.417248,\\n \\"CategoryId\\": \\"584\\",\\n \\"CategoryName\\": \\"旁轴相机\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 87C5AF93-F641-54C2-873D-0501E637489C\\n \\n \\n 584\\n 0.417248\\n 旁轴相机\\n \\n \\n 4856\\n 0.309264\\n 数码单反\\n \\n \\n 733\\n 0.103179\\n 单电微单\\n \\n \\n 5978\\n 0.0654835\\n 单反镜头\\n \\n \\n","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'goodstech.cn-shanghai.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3