'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'viapi', 'version' => '2021-09-30', ], 'components' => [ 'schemas' => [ 'AiStoreApiNode' => [ 'type' => 'object', 'properties' => [ 'Product' => [ 'type' => 'string', ], 'ProductDesc' => [ 'type' => 'string', ], 'Apis' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/AiStoreUserTask', ], ], ], ], 'AiStoreReceiveConfig' => [ 'type' => 'object', 'properties' => [ 'EventBridge' => [ 'type' => 'object', 'properties' => [ 'EventBus' => [ 'type' => 'string', ], 'EventRule' => [ 'type' => 'string', ], ], ], 'Mns' => [ 'type' => 'object', 'properties' => [ 'Queue' => [ 'type' => 'string', ], ], ], 'RocketMQ' => [ 'type' => 'object', 'properties' => [ 'InstanceId' => [ 'type' => 'string', ], 'TopicName' => [ 'type' => 'string', ], ], ], 'DingTalk' => [ 'type' => 'object', 'properties' => [ 'Address' => [ 'type' => 'string', ], 'Secret' => [ 'type' => 'string', ], ], ], 'Http' => [ 'type' => 'object', 'properties' => [ 'Url' => [ 'type' => 'string', ], ], ], 'Https' => [ 'type' => 'object', 'properties' => [ 'Url' => [ 'type' => 'string', ], ], ], 'Custom' => [ 'type' => 'string', ], ], ], 'AiStoreTemplate' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], 'apis' => [ 'EnableAiStoreUserTask' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AistoreVersion', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'ListAiStoreBuckets' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Product', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ApiName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'QueryAiStoreRegions' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'UpdateAiStoreUserTask' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Product', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ApiName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'BucketName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'BucketKeyPrefix', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ParamInfo', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Remark', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ReceiveConfig', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Status', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], 'CreateAiStoreReceiveConfig' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Product', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ApiName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'CreateAiStoreBucket' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BucketName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'GetAiStoreUserTask' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], ], ], 'CreateAiStoreUserTask' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Product', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ApiName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'BucketName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'BucketKeyPrefix', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ParamInfo', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Remark', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Status', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'CreateConfig', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ReceiveConfig', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'DisableAiStoreUserTask' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AistoreVersion', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'QueryAiStoreApiTree' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'DeleteAiStoreUserTask' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AistoreVersion', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'GetAiStoreReceiveConfig' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Product', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ApiName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], ], 'GetAiStoreUserTaskByName' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'QueryAiStoreUserTaskPage' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Product', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'ApiName', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'BucketName', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'viapi.cn-shanghai.aliyuncs.com', ], ], ];