summaryrefslogtreecommitdiff
path: root/data/imageaudit/2019-12-30/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/imageaudit/2019-12-30/api-docs.php')
-rw-r--r--data/imageaudit/2019-12-30/api-docs.php72
1 files changed, 14 insertions, 58 deletions
diff --git a/data/imageaudit/2019-12-30/api-docs.php b/data/imageaudit/2019-12-30/api-docs.php
index 6f479c0..b1f664e 100644
--- a/data/imageaudit/2019-12-30/api-docs.php
+++ b/data/imageaudit/2019-12-30/api-docs.php
@@ -1,22 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'imageaudit',
- 'version' => '2019-12-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'imageaudit', 'version' => '2019-12-30'],
'components' => [
'schemas' => [],
],
'apis' => [
'ScanImage' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -35,29 +26,11 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ImageTimeMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'Interval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'ImageURL' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'MaxFrames' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'DataId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'ImageTimeMillisecond' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'Interval' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'ImageURL' => ['type' => 'string', 'required' => true],
+ 'MaxFrames' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'DataId' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 10,
@@ -70,23 +43,15 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 6,
],
],
],
],
'ScanText' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -105,10 +70,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Content' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Content' => ['type' => 'string', 'required' => true],
],
],
'maxItems' => 10,
@@ -125,10 +87,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Label' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Label' => ['type' => 'string', 'required' => true],
],
],
'maxItems' => 10,
@@ -138,9 +97,6 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'imageaudit.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'imageaudit.cn-shanghai.aliyuncs.com', 'endpoint' => 'imageaudit.cn-shanghai.aliyuncs.com', 'vpc' => 'imageaudit-vpc.cn-shanghai.aliyuncs.com'],
],
];