summaryrefslogtreecommitdiff
path: root/data/videorecog
diff options
context:
space:
mode:
Diffstat (limited to 'data/videorecog')
-rw-r--r--data/videorecog/2020-03-20/api-docs.php194
1 files changed, 47 insertions, 147 deletions
diff --git a/data/videorecog/2020-03-20/api-docs.php b/data/videorecog/2020-03-20/api-docs.php
index 4e5c3b2..690b700 100644
--- a/data/videorecog/2020-03-20/api-docs.php
+++ b/data/videorecog/2020-03-20/api-docs.php
@@ -1,22 +1,30 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'videorecog',
- 'version' => '2020-03-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'videorecog', 'version' => '2020-03-20'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'GenerateVideoCover' => [
- 'methods' => [
- 'post',
+ 'DetectVideoShot' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'VideoUrl',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'EvaluateVideoQuality' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,29 +35,18 @@
[
'name' => 'VideoUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'IsGif',
+ 'name' => 'Mode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DetectVideoShot' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GenerateVideoCover' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -60,21 +57,18 @@
[
'name' => 'VideoUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'IsGif',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => true],
],
],
],
- 'UnderstandVideoContent' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAsyncJobResult' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -83,23 +77,15 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'VideoURL',
+ 'name' => 'JobId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'RecognizeVideoCastCrewList' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -110,10 +96,7 @@
[
'name' => 'VideoUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Params',
@@ -126,10 +109,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Type' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Type' => ['type' => 'string', 'required' => false],
],
],
],
@@ -137,13 +117,8 @@
],
],
'SplitVideoParts' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -154,102 +129,27 @@
[
'name' => 'VideoUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Template',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MinTime',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'MaxTime',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'EvaluateVideoQuality' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'VideoUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Mode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GetAsyncJobResult' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'JobId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'videorecog.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'videorecog.cn-shanghai.aliyuncs.com', 'endpoint' => 'videorecog.cn-shanghai.aliyuncs.com', 'vpc' => 'videorecog-vpc.cn-shanghai.aliyuncs.com'],
],
];