summaryrefslogtreecommitdiff
path: root/data/viapi
diff options
context:
space:
mode:
Diffstat (limited to 'data/viapi')
-rw-r--r--data/viapi/2021-09-30/api-docs.php472
-rw-r--r--data/viapi/2023-01-17/api-docs.php144
2 files changed, 152 insertions, 464 deletions
diff --git a/data/viapi/2021-09-30/api-docs.php b/data/viapi/2021-09-30/api-docs.php
index 16deaa7..26d9b5a 100644
--- a/data/viapi/2021-09-30/api-docs.php
+++ b/data/viapi/2021-09-30/api-docs.php
@@ -1,26 +1,16 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'viapi',
- 'version' => '2021-09-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'viapi', 'version' => '2021-09-30'],
'components' => [
'schemas' => [
'AiStoreApiNode' => [
'type' => 'object',
'properties' => [
- 'Product' => [
- 'type' => 'string',
- ],
- 'ProductDesc' => [
- 'type' => 'string',
- ],
+ 'Product' => ['type' => 'string'],
+ 'ProductDesc' => ['type' => 'string'],
'Apis' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AiStoreUserTask',
- ],
+ 'items' => ['$ref' => '#/components/schemas/AiStoreUserTask'],
],
],
],
@@ -30,154 +20,83 @@
'EventBridge' => [
'type' => 'object',
'properties' => [
- 'EventBus' => [
- 'type' => 'string',
- ],
- 'EventRule' => [
- 'type' => 'string',
- ],
+ 'EventBus' => ['type' => 'string'],
+ 'EventRule' => ['type' => 'string'],
],
],
'Mns' => [
'type' => 'object',
'properties' => [
- 'Queue' => [
- 'type' => 'string',
- ],
+ 'Queue' => ['type' => 'string'],
],
],
'RocketMQ' => [
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'TopicName' => [
- 'type' => 'string',
- ],
+ 'InstanceId' => ['type' => 'string'],
+ 'TopicName' => ['type' => 'string'],
],
],
'DingTalk' => [
'type' => 'object',
'properties' => [
- 'Address' => [
- 'type' => 'string',
- ],
- 'Secret' => [
- 'type' => 'string',
- ],
+ 'Address' => ['type' => 'string'],
+ 'Secret' => ['type' => 'string'],
],
],
'Http' => [
'type' => 'object',
'properties' => [
- 'Url' => [
- 'type' => 'string',
- ],
+ 'Url' => ['type' => 'string'],
],
],
'Https' => [
'type' => 'object',
'properties' => [
- 'Url' => [
- 'type' => 'string',
- ],
+ 'Url' => ['type' => 'string'],
],
],
- 'Custom' => [
- 'type' => 'string',
- ],
+ 'Custom' => ['type' => 'string'],
],
],
'AiStoreTemplate' => [
'type' => 'object',
'properties' => [
- 'TemplateVariable' => [
- 'type' => 'string',
- ],
- 'TemplateContext' => [
- 'type' => 'string',
- ],
+ 'TemplateVariable' => ['type' => 'string'],
+ 'TemplateContext' => ['type' => 'string'],
],
],
'AiStoreUserTask' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'GmtCreate' => [
- 'type' => 'string',
- ],
- 'GmtModified' => [
- 'type' => 'string',
- ],
- 'Region' => [
- 'type' => 'string',
- ],
- 'RegionDesc' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Product' => [
- 'type' => 'string',
- ],
- 'ProductDesc' => [
- 'type' => 'string',
- ],
- 'ApiName' => [
- 'type' => 'string',
- ],
- 'ApiDesc' => [
- 'type' => 'string',
- ],
- 'Version' => [
- 'type' => 'string',
- ],
- 'ParamInfo' => [
- 'type' => 'string',
- ],
- 'BucketName' => [
- 'type' => 'string',
- ],
- 'BucketKeyPrefix' => [
- 'type' => 'string',
- ],
- 'Remark' => [
- 'type' => 'string',
- ],
- 'ReceiveConfig' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'EnableTime' => [
- 'type' => 'string',
- ],
- 'DisableTime' => [
- 'type' => 'string',
- ],
- 'TaskVersion' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
+ 'GmtCreate' => ['type' => 'string'],
+ 'GmtModified' => ['type' => 'string'],
+ 'Region' => ['type' => 'string'],
+ 'RegionDesc' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Product' => ['type' => 'string'],
+ 'ProductDesc' => ['type' => 'string'],
+ 'ApiName' => ['type' => 'string'],
+ 'ApiDesc' => ['type' => 'string'],
+ 'Version' => ['type' => 'string'],
+ 'ParamInfo' => ['type' => 'string'],
+ 'BucketName' => ['type' => 'string'],
+ 'BucketKeyPrefix' => ['type' => 'string'],
+ 'Remark' => ['type' => 'string'],
+ 'ReceiveConfig' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'EnableTime' => ['type' => 'string'],
+ 'DisableTime' => ['type' => 'string'],
+ 'TaskVersion' => ['type' => 'string'],
],
],
],
],
'apis' => [
'EnableAiStoreUserTask' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -188,30 +107,18 @@
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AistoreVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'ListAiStoreBuckets' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -222,28 +129,18 @@
[
'name' => 'Product',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ApiName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'QueryAiStoreRegions' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -253,14 +150,8 @@
'parameters' => [],
],
'UpdateAiStoreUserTask' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -271,85 +162,58 @@
[
'name' => 'Product',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ApiName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'BucketName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'BucketKeyPrefix',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ParamInfo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Remark',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ReceiveConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Status',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
'CreateAiStoreReceiveConfig' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -360,28 +224,18 @@
[
'name' => 'Product',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ApiName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'CreateAiStoreBucket' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -392,21 +246,13 @@
[
'name' => 'BucketName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'GetAiStoreUserTask' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -417,23 +263,13 @@
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
'CreateAiStoreUserTask' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -444,84 +280,58 @@
[
'name' => 'Product',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ApiName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'BucketName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'BucketKeyPrefix',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ParamInfo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Remark',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Status',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'CreateConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ReceiveConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'DisableAiStoreUserTask' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -532,30 +342,18 @@
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AistoreVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'QueryAiStoreApiTree' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -565,14 +363,8 @@
'parameters' => [],
],
'DeleteAiStoreUserTask' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -583,30 +375,18 @@
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'AistoreVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'GetAiStoreReceiveConfig' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -617,28 +397,18 @@
[
'name' => 'Product',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ApiName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'GetAiStoreUserTaskByName' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -649,22 +419,13 @@
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'QueryAiStoreUserTaskPage' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -675,61 +436,42 @@
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ApiName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'BucketName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'viapi.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'viapi.cn-shanghai.aliyuncs.com'],
],
];
diff --git a/data/viapi/2023-01-17/api-docs.php b/data/viapi/2023-01-17/api-docs.php
index 8621d16..133f755 100644
--- a/data/viapi/2023-01-17/api-docs.php
+++ b/data/viapi/2023-01-17/api-docs.php
@@ -1,22 +1,47 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'viapi',
- 'version' => '2023-01-17',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'viapi', 'version' => '2023-01-17'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'QueryAsyncJobList' => [
- 'methods' => [
- 'post',
+ 'CancelWaitingAsyncJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'GetAsyncJobResult' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'QueryAsyncJobList' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,124 +52,45 @@
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'JobId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PopProduct',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PopApiName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNum',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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,
- ],
- ],
- ],
- ],
- 'CancelWaitingAsyncJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'JobId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'viapi.cn-shanghai.aliyuncs.com',
- ],
],
+ 'endpoints' => [],
];