summaryrefslogtreecommitdiff
path: root/data/en_us/airec
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/airec')
-rw-r--r--data/en_us/airec/2018-10-12/api-docs.php6996
-rw-r--r--data/en_us/airec/2020-11-26/api-docs.php19365
2 files changed, 26361 insertions, 0 deletions
diff --git a/data/en_us/airec/2018-10-12/api-docs.php b/data/en_us/airec/2018-10-12/api-docs.php
new file mode 100644
index 0000000..f4bf321
--- /dev/null
+++ b/data/en_us/airec/2018-10-12/api-docs.php
@@ -0,0 +1,6996 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'Airec',
+ 'version' => '2018-10-12',
+ ],
+ 'directories' => [
+ [
+ 'id' => 99338,
+ 'title' => 'Service',
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteDiversify',
+ 'DeleteMix',
+ 'ListSceneItems',
+ 'PushDocument',
+ 'Recommend',
+ ],
+ ],
+ [
+ 'id' => 99344,
+ 'title' => 'Area',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeRegions',
+ ],
+ ],
+ [
+ 'id' => 99346,
+ 'title' => 'Examples',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateInstance',
+ 'ModifyInstance',
+ 'ModifyDataSource',
+ 'DescribeInstance',
+ 'ListDashboardUid',
+ 'DescribeExposureSettings',
+ 'ListDashboardDetails',
+ 'ListDashboardDetailsFlows',
+ 'ListDashboardMetrics',
+ 'ListDashboardMetricsFlows',
+ 'DowngradeInstance',
+ ],
+ ],
+ [
+ 'id' => 99358,
+ 'title' => 'Data Set',
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteDataSet',
+ 'DescribeDataSetMessage',
+ 'DescribeDataSetReport',
+ 'ListDataSet',
+ ],
+ ],
+ [
+ 'id' => 99363,
+ 'title' => 'Training',
+ 'type' => 'directory',
+ 'children' => [
+ 'AttachDataset',
+ ],
+ ],
+ [
+ 'id' => 99365,
+ 'title' => 'Scene',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateScene',
+ 'DeleteScene',
+ 'ModifyScene',
+ 'DescribeScene',
+ 'DescribeSceneThroughput',
+ 'ListDashboardParameters',
+ 'ListScenes',
+ ],
+ ],
+ [
+ 'id' => 99373,
+ 'title' => 'Rules',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRule',
+ 'ModifyRule',
+ 'ListDataSource',
+ 'ListInstance',
+ 'ListInstanceTask',
+ 'DescribeRule',
+ 'ListRuleConditions',
+ 'ListRules',
+ 'ListRuleTasks',
+ 'UpgradeInstance',
+ 'ValidateInstance',
+ 'PublishRule',
+ ],
+ ],
+ [
+ 'id' => 99386,
+ 'title' => 'Data',
+ 'type' => 'directory',
+ 'children' => [
+ 'ModifyExposureSettings',
+ 'DescribeSyncReportDetail',
+ 'DescribeSyncReportOutliers',
+ 'DescribeUserMetrics',
+ 'ListDashboard',
+ 'ListLogs',
+ 'QueryDataMessage',
+ 'QueryDataMessageStatistics',
+ 'QueryExceptionHistory',
+ 'QuerySingleAggregationReport',
+ 'QuerySyncReportAggregation',
+ ],
+ ],
+ [
+ 'id' => 195641,
+ 'title' => '其他',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateDiversify',
+ 'CreateMix',
+ 'DescribeDiversify',
+ 'DescribeMix',
+ 'DescribeQuota',
+ 'ListDiversify',
+ 'ListItems',
+ 'ListMix',
+ 'ListUmengAppkeys',
+ 'ModifyDiversify',
+ 'ModifyItems',
+ 'ModifyMix',
+ 'PushIntervention',
+ 'QueryRawData',
+ 'QuerySingleReport',
+ 'RunInstance',
+ 'StopDataSet',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'DeleteDiversify' => [
+ 'path' => '/openapi/instances/{InstanceId}/diversifies/{Name}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '58944',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Window' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DeleteMix' => [
+ 'path' => '/openapi/instances/{InstanceId}/mixes/{Name}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '58945',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Settings' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListSceneItems' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes/{SceneId}/items',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58980',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'OperationRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SelectionRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PreviewType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'QueryCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'PubTime' => [
+ 'type' => 'string',
+ ],
+ 'ExpireTime' => [
+ 'type' => 'string',
+ ],
+ 'ItemType' => [
+ 'type' => 'string',
+ ],
+ 'Author' => [
+ 'type' => 'string',
+ ],
+ 'ItemId' => [
+ 'type' => 'string',
+ ],
+ 'CategoryPath' => [
+ 'type' => 'string',
+ ],
+ 'ShopId' => [
+ 'type' => 'string',
+ ],
+ 'BrandId' => [
+ 'type' => 'string',
+ ],
+ 'Duration' => [
+ 'type' => 'string',
+ ],
+ 'Channel' => [
+ 'type' => 'string',
+ ],
+ 'Title' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'Total' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'WeightItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'InstanceRecommendItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'TotalCount' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'SceneRecommendItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'SceneWeightItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PushDocument' => [
+ 'path' => '/openapi/instances/{InstanceId}/tables/{TableName}/actions/bulk',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58992',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TableName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'Recommend' => [
+ 'path' => '/openapi/instances/{InstanceId}/actions/recommend',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '59001',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Imei',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ReturnCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'header',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Items',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TraceInfo' => [
+ 'type' => 'string',
+ ],
+ 'Weight' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'MatchInfo' => [
+ 'type' => 'string',
+ ],
+ 'ItemType' => [
+ 'type' => 'string',
+ ],
+ 'Position' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ItemId' => [
+ 'type' => 'string',
+ ],
+ 'TraceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeRegions' => [
+ 'path' => '/openapi/configurations/regions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58954',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'ConsoleUrl' => [
+ 'type' => 'string',
+ ],
+ 'LocalName' => [
+ 'type' => 'string',
+ ],
+ 'Endpoint' => [
+ 'type' => 'string',
+ ],
+ 'RegionId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'CreateInstance' => [
+ 'path' => '/openapi/instances',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '58939',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyInstance' => [
+ 'path' => '/openapi/instances/{InstanceId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58986',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecDTVO6V',
+ 'FEATUREairecIDS0JZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'CommodityCode' => [
+ 'type' => 'string',
+ ],
+ 'ChargeType' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'LockMode' => [
+ 'type' => 'string',
+ ],
+ 'RegionId' => [
+ 'type' => 'string',
+ ],
+ 'DataSetVersion' => [
+ 'type' => 'string',
+ ],
+ 'Industry' => [
+ 'type' => 'string',
+ ],
+ 'ExpiredTime' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Scene' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyDataSource' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSources/{TableName}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TableName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'TableName' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Meta' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'TableName' => [
+ 'type' => 'string',
+ ],
+ 'ProjectName' => [
+ 'type' => 'string',
+ ],
+ 'BucketName' => [
+ 'type' => 'string',
+ ],
+ 'Path' => [
+ 'type' => 'string',
+ ],
+ 'Partition' => [
+ 'type' => 'string',
+ ],
+ 'Timestamp' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'AccessKeyId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeInstance' => [
+ 'path' => '/openapi/instances/{InstanceId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58951',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'CommodityCode' => [
+ 'type' => 'string',
+ ],
+ 'ChargeType' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'LockMode' => [
+ 'type' => 'string',
+ ],
+ 'RegionId' => [
+ 'type' => 'string',
+ ],
+ 'DataSetVersion' => [
+ 'type' => 'string',
+ ],
+ 'Industry' => [
+ 'type' => 'string',
+ ],
+ 'ExpiredTime' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Scene' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboardUid' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/uid',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58968',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Num' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Uid' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeExposureSettings' => [
+ 'path' => '/openapi/instances/{InstanceId}/exposure-settings',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58950',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DurationSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ScenarioBased' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboardDetails' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/details',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58963',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TraceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TraceId' => [
+ 'type' => 'string',
+ ],
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'MetricRes' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Total' => [
+ 'type' => 'object',
+ ],
+ 'Detail' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboardDetailsFlows' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/details/flows',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58964',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TraceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricType' => [
+ 'type' => 'string',
+ ],
+ 'MetricData' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'TraceId' => [
+ 'type' => 'string',
+ ],
+ 'MetricRes' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboardMetrics' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/metrics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58965',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Total' => [
+ 'type' => 'object',
+ ],
+ 'Detail' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'type' => 'string',
+ ],
+ 'StartTime' => [
+ 'type' => 'string',
+ ],
+ 'Val' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboardMetricsFlows' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/metrics/flows',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58966',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricData' => [
+ 'type' => 'object',
+ ],
+ 'MetricType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DowngradeInstance' => [
+ 'path' => '/openapi/instances/{InstanceId}/actions/downgrade',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58961',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DeleteDataSet' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSets/{VersionId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '58943',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'VersionId' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'State' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeDataSetMessage' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSets/{VersionId}/messages',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58947',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'Timestamp' => [
+ 'type' => 'string',
+ ],
+ 'ErrorType' => [
+ 'type' => 'string',
+ ],
+ 'ErrorLevel' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeDataSetReport' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSets/{VersionId}/report',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58948',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UvCtr' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'BizDate' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'PerUvClick' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'Pv' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ActiveItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Ctr' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'PerUvBhv' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'Click' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Uv' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ClickUser' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ 'Overall' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UserRepetitiveRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'UserUserCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'BhvCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'BhvLegalRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'UserCompleteRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'ItemCompleteRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'UserLoginRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'ItemItemCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ItemRepetitiveRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'UserLegalRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'ItemLegalRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'ItemLoginRate' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDataSet' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSets',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58969',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'VersionId' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'State' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'AttachDataset' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSets/{VersionId}/actions/current',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58937',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'VersionId' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'State' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'CreateScene' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '58942',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DeleteScene' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes/{SceneId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '58946',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyScene' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes/{SceneId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58990',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeScene' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes/{SceneId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58956',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeSceneThroughput' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes/{SceneId}/throughput',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58957',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PvCount' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboardParameters' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/parameters',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58967',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TraceId' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'SceneId' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListScenes' => [
+ 'path' => '/openapi/instances/{InstanceId}/scenes',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58981',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'CreateRule' => [
+ 'path' => '/openapi/instances/{InstanceId}/rules',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '58941',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'RuleId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyRule' => [
+ 'path' => '/openapi/instances/{InstanceId}/rules/{RuleId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58989',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'RuleMeta' => [
+ 'type' => 'object',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'RuleId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDataSource' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSources',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58970',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'TableName' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Meta' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'TableName' => [
+ 'type' => 'string',
+ ],
+ 'ProjectName' => [
+ 'type' => 'string',
+ ],
+ 'BucketName' => [
+ 'type' => 'string',
+ ],
+ 'Path' => [
+ 'type' => 'string',
+ ],
+ 'Partition' => [
+ 'type' => 'string',
+ ],
+ 'Timestamp' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'AccessKeyId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListInstance' => [
+ 'path' => '/openapi/instances',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58972',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Running',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExpiredTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1608533404',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'Result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'CommodityCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'airecpre',
+ ],
+ 'ChargeType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-06T11:17:49.000Z',
+ ],
+ 'DataSetVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20181206170353',
+ ],
+ 'LockMode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Unlock',
+ ],
+ 'RegionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'Industry' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'news',
+ ],
+ 'ExpiredTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2019-01-06T16:00:00.000Z',
+ ],
+ 'GmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-06T06:14:01.000Z',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ 'Scene' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"InternalServerError\\",\\n \\"Message\\": \\"An internal server error occurred\\",\\n \\"RequestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"Result\\": [\\n {\\n \\"Type\\": \\"Standard\\",\\n \\"Status\\": \\"Running\\",\\n \\"CommodityCode\\": \\"airecpre\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"InstanceId\\": \\"airec-cn-o400whm78004\\",\\n \\"GmtModified\\": \\"2018-12-06T11:17:49.000Z\\",\\n \\"DataSetVersion\\": \\"20181206170353\\",\\n \\"LockMode\\": \\"Unlock\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Industry\\": \\"news\\",\\n \\"ExpiredTime\\": \\"2019-01-06T16:00:00.000Z\\",\\n \\"GmtCreate\\": \\"2018-12-06T06:14:01.000Z\\",\\n \\"Name\\": \\"airec-cn-o400whm78004\\",\\n \\"Scene\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListInstance',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListInstanceTask' => [
+ 'path' => '/openapi/instances/{InstanceId}/tasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58973',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'TotalProgress' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'SubProgressInfos' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'FinishedNum' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Progress' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'TotalNum' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Detail' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeRule' => [
+ 'path' => '/openapi/instances/{InstanceId}/rules/{RuleId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58955',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'RuleId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListRuleConditions' => [
+ 'path' => '/openapi/instances/{InstanceId}/rule-conditions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58977',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SelectType' => [
+ 'type' => 'string',
+ ],
+ 'SelectionOperation' => [
+ 'type' => 'string',
+ ],
+ 'SelectValue' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListRules' => [
+ 'path' => '/openapi/instances/{InstanceId}/rules',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58978',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'RuleId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListRuleTasks' => [
+ 'path' => '/openapi/instances/{InstanceId}/rule-tasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58979',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FinishTime' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'FinishRate' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'UpgradeInstance' => [
+ 'path' => '/openapi/instances/{InstanceId}/actions/upgrade',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '59004',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ValidateInstance' => [
+ 'path' => '/openapi/instances/{InstanceId}/actions/validate',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '59005',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PublishRule' => [
+ 'path' => '/openapi/instances/{InstanceId}/rules/{RuleId}/actions/publish',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58991',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyExposureSettings' => [
+ 'path' => '/openapi/instances/{InstanceId}/exposure-settings',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58985',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DurationSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ScenarioBased' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeSyncReportDetail' => [
+ 'path' => '/openapi/instances/{InstanceId}/sync-reports/detail',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58958',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'LevelType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'ErrorCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'SampleDisplay' => [
+ 'type' => 'boolean',
+ ],
+ 'DefaultDisplay' => [
+ 'type' => 'boolean',
+ ],
+ 'ErrorPercent' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'HistoryData' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'StartTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ErrorPercent' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeSyncReportOutliers' => [
+ 'path' => '/openapi/instances/{InstanceId}/sync-reports/outliers',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58959',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Key',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'LevelType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeUserMetrics' => [
+ 'path' => '/openapi/instances/{InstanceId}/metrics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58960',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'DataPoints' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'StartTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Val' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDashboard' => [
+ 'path' => '/openapi/instances/{InstanceId}/dashboard/statistics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58962',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TraceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Num' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'List' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BizDate' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'UvCtr' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'ActiveItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'PerUvBhv' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'Uv' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Pv' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'PerUvClick' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'Ctr' => [
+ 'type' => 'number',
+ 'format' => 'float',
+ ],
+ 'SceneId' => [
+ 'type' => 'string',
+ ],
+ 'TraceId' => [
+ 'type' => 'string',
+ ],
+ 'Click' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ClickUser' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListLogs' => [
+ 'path' => '/openapi/instances/{InstanceId}/logs',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58975',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'QueryParams',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '2147483647',
+ 'minimum' => '1565193600',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '2147483647',
+ 'minimum' => '1565193600',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ ],
+ ],
+ 'Headers' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'X-Total-Count' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryDataMessage' => [
+ 'path' => '/openapi/instances/{InstanceId}/tables/{Table}/data-message',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ [
+ 'BearerToken' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58994',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Table',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'CmdType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ItemId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ItemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'TraceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'BhvType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'MessageSource',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryDataMessageStatistics' => [
+ 'path' => '/openapi/instances/{InstanceId}/tables/{Table}/data-message-statistics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58995',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '946656000',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '946656000',
+ ],
+ ],
+ [
+ 'name' => 'Table',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'CmdType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ItemId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ItemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'TraceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'BhvType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'MessageSource',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryExceptionHistory' => [
+ 'path' => '/openapi/instances/{InstanceId}/sync-reports/exception-history',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58996',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QuerySingleAggregationReport' => [
+ 'path' => '/openapi/instances/{InstanceId}/sync-reports/single-aggregation-report',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58998',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QuerySyncReportAggregation' => [
+ 'path' => '/openapi/instances/{InstanceId}/sync-reports/aggregation',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '59000',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'CreateDiversify' => [
+ 'path' => '/openapi/instances/{InstanceId}/diversifies',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '58938',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Window' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'CreateMix' => [
+ 'path' => '/openapi/instances/{InstanceId}/mixes',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '58940',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Settings' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeDiversify' => [
+ 'path' => '/openapi/instances/{InstanceId}/diversifies/{Name}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58949',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Window' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeMix' => [
+ 'path' => '/openapi/instances/{InstanceId}/mixes/{Name}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58952',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Settings' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeQuota' => [
+ 'path' => '/openapi/instances/{InstanceId}/quota',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58953',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Qps' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ItemCount' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'CurrentQps' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'UserCount' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'UserCountUsed' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ItemCountUsed' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListDiversify' => [
+ 'path' => '/openapi/instances/{InstanceId}/diversifies',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '58971',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Window' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListItems' => [
+ 'path' => '/openapi/instances/{InstanceId}/items/actions/list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '58974',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'PubTime' => [
+ 'type' => 'string',
+ ],
+ 'ExpireTime' => [
+ 'type' => 'string',
+ ],
+ 'ItemType' => [
+ 'type' => 'string',
+ ],
+ 'Author' => [
+ 'type' => 'string',
+ ],
+ 'ItemId' => [
+ 'type' => 'string',
+ ],
+ 'CategoryPath' => [
+ 'type' => 'string',
+ ],
+ 'ShopId' => [
+ 'type' => 'string',
+ ],
+ 'BrandId' => [
+ 'type' => 'string',
+ ],
+ 'Duration' => [
+ 'type' => 'string',
+ ],
+ 'Channel' => [
+ 'type' => 'string',
+ ],
+ 'Title' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'Total' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'WeightItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'InstanceRecommendItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'QueryCount' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'TotalCount' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'SceneRecommendItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'SceneWeightItem' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListMix' => [
+ 'path' => '/openapi/instances/{InstanceId}/mixes',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '58976',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Settings' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ListUmengAppkeys' => [
+ 'path' => '/openapi/umeng/appkeys',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '58982',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Platform' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Appkey' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyDiversify' => [
+ 'path' => '/openapi/instances/{InstanceId}/diversifies/{Name}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58984',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Window' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyItems' => [
+ 'path' => '/openapi/instances/{InstanceId}/items',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58987',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'type' => 'boolean',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'ModifyMix' => [
+ 'path' => '/openapi/instances/{InstanceId}/mixes/{Name}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58988',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'string',
+ ],
+ 'Parameter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Settings' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PushIntervention' => [
+ 'path' => '/openapi/instances/{InstanceId}/actions/intervene',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '58993',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryRawData' => [
+ 'path' => '/openapi/instances/{InstanceId}/tables/{Table}/raw-data',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58997',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Table',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ItemId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ItemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QuerySingleReport' => [
+ 'path' => '/openapi/instances/{InstanceId}/sync-reports/single-report',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '58999',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ReportType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'RunInstance' => [
+ 'path' => '/openapi/instances/{InstanceId}/actions/import',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '59002',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'StopDataSet' => [
+ 'path' => '/openapi/instances/{InstanceId}/dataSets/{VersionId}/actions/stop',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '59003',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'VersionId' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'GmtModified' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'State' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'airec.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'airec.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'airec.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'airec.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'airec.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'airec.us-east-1.aliyuncs.com',
+ ],
+ ],
+];
diff --git a/data/en_us/airec/2020-11-26/api-docs.php b/data/en_us/airec/2020-11-26/api-docs.php
new file mode 100644
index 0000000..da9b724
--- /dev/null
+++ b/data/en_us/airec/2020-11-26/api-docs.php
@@ -0,0 +1,19365 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'Airec',
+ 'version' => '2020-11-26',
+ ],
+ 'directories' => [
+ [
+ 'id' => 156261,
+ 'title' => 'Examples',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateInstance',
+ 'ModifyInstance',
+ 'DescribeInstance',
+ 'ListInstance',
+ 'RunInstance',
+ 'UpgradeInstance',
+ 'ValidateInstance',
+ 'DowngradeInstance',
+ ],
+ ],
+ [
+ 'id' => 156270,
+ 'title' => 'External Data Sources',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateExtraDataSource',
+ 'DeleteExtraDataSource',
+ 'ListExtraDataSources',
+ ],
+ ],
+ [
+ 'id' => 156273,
+ 'title' => 'Data Set',
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteDataSet',
+ 'AttachDataset',
+ 'DescribeDataSetMessage',
+ 'ListDataSet',
+ ],
+ ],
+ [
+ 'id' => 156276,
+ 'title' => 'Experiment',
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteExperiment',
+ 'EnableExperiment',
+ 'UpdateExperimentBasicInfo',
+ 'UpdateExperimentConfig',
+ 'UpdateExperimentStatus',
+ 'DescribeBaseExperiment',
+ 'DescribeExperiment',
+ 'DescribeExperimentEnv',
+ 'DescribeExperimentEnvProgress',
+ 'ListExperiments',
+ 'CloneExperiment',
+ ],
+ ],
+ [
+ 'id' => 174242,
+ 'title' => 'flow regulation',
+ 'type' => 'directory',
+ 'children' => [
+ 'ListFlowControlTaskReports',
+ 'ListFlowControlTaskInvalidItems',
+ 'ListFlowControlTaskItems',
+ 'CreateFlowControlTask',
+ 'GetFlowControlTask',
+ 'DeleteFlowControlTask',
+ 'ListFlowControlTask',
+ 'ListFlowControlTaskItemReports',
+ 'ListFlowControlTaskReference',
+ 'ModifyFlowControlTask',
+ 'StopFlowControlTask',
+ 'PublishFlowControlTask',
+ ],
+ ],
+ [
+ 'id' => 156282,
+ 'title' => 'Recall Table',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateFilteringAlgorithm',
+ 'DeleteFilteringAlgorithm',
+ 'ModifyFilteringAlgorithmMeta',
+ 'DescribeFilteringAlgorithm',
+ 'ListFilteringAlgorithms',
+ 'OfflineFilteringAlgorithm',
+ ],
+ ],
+ [
+ 'id' => 156289,
+ 'title' => 'sorting system',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRankingSystem',
+ 'DeleteRankingSystem',
+ 'ModifyRankingSystem',
+ 'GetRankingSystem',
+ 'GetRankingSystemHistory',
+ 'ListRankingSystems',
+ 'ListRankingSystemHistories',
+ 'DeployRankingSystem',
+ 'VerifyRankingSystem',
+ 'RollbackRankingSystem',
+ ],
+ ],
+ [
+ 'id' => 156299,
+ 'title' => 'Sort Model Template',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRankingModelTemplate',
+ 'DeleteRankingModelTemplate',
+ 'ModifyRankingModelTemplate',
+ 'GetRankingModelTemplate',
+ 'RunRankingModelTemplate',
+ ],
+ ],
+ [
+ 'id' => 156305,
+ 'title' => 'sorting model',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRankingModel',
+ 'DeleteRankingModel',
+ 'DeleteRankingModelVersion',
+ 'ModifyRankingModel',
+ 'ListRankingModels',
+ 'ListRankingModelTemplates',
+ 'GetRankingModelVersion',
+ 'ListRankingModelVersions',
+ 'DecribeRankingModel',
+ 'CheckRankingModelReachable',
+ ],
+ ],
+ [
+ 'id' => 156255,
+ 'title' => 'Rules',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRule',
+ 'ModifyRule',
+ 'ListRules',
+ 'DescribeRule',
+ 'PublishRule',
+ ],
+ ],
+ [
+ 'id' => 156258,
+ 'title' => 'Scene',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateScene',
+ 'DeleteScene',
+ 'ModifyScene',
+ 'DescribeScene',
+ 'ListScenes',
+ ],
+ ],
+ [
+ 'id' => 156320,
+ 'title' => 'Sample',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateCustomSample',
+ 'CreateSampleFormatConfig',
+ 'DeleteSample',
+ 'ModifySample',
+ 'ListSamples',
+ 'GetSample',
+ 'CloneSample',
+ 'GenerateSample',
+ ],
+ ],
+ [
+ 'id' => 156251,
+ 'title' => 'Other',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateCustomAnalysisTask',
+ 'AttachIndexVersion',
+ 'ModifyDataSource',
+ 'ModifyFeatureTable',
+ 'ModifyItems',
+ 'ModifyOfflineStorages',
+ 'StopDataSet',
+ 'DescribeCustomAnalysisTask',
+ 'DescribeDefaultAlgorithms',
+ 'DescribeLatestTask',
+ 'DescribeQuota',
+ 'DescribeRegions',
+ 'DescribeSceneBucket',
+ 'DescribeSceneThroughput',
+ 'DescribeSyncReportDetail',
+ 'DescribeSyncReportOutliers',
+ 'DescribeUserMetrics',
+ 'GetExtraDataSource',
+ 'ListDashboardDetails',
+ 'ListDashboardDetailsFlows',
+ 'ListDashboardMetrics',
+ 'ListDashboardMetricsFlows',
+ 'ListFeatureTables',
+ 'ListIndexVersions',
+ 'ListInstanceTask',
+ 'ListItems',
+ 'ListLogs',
+ 'ListMixCategories',
+ 'ListOfflineStorages',
+ 'ListRuleConditions',
+ 'ListRuleTasks',
+ 'ListSampleFormatConfigs',
+ 'ListSceneItems',
+ 'ListSceneParameters',
+ 'ListUmengAppkeys',
+ 'ListUserClusters',
+ 'QueryDataMessage',
+ 'QueryDataMessageStatistics',
+ 'QueryExceptionHistory',
+ 'QueryRawData',
+ 'QuerySingleAggregationReport',
+ 'QuerySingleReport',
+ 'QuerySyncReportAggregation',
+ 'ListDataSource',
+ 'InitComputingResource',
+ 'PushDocument',
+ 'PushIntervention',
+ 'RebuildIndex',
+ 'Recommend',
+ 'RefreshFeatureTable',
+ 'RunSampleFormatConfig',
+ 'UnLockIndexVersion',
+ 'CreateDataDiagnoseTask',
+ 'CreateUmengToken',
+ 'GetLatestDataDiagnoseTaskStatus',
+ 'ListDataDiagnoseReports',
+ 'ListDataDiagnoseSampleDetails',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [
+ 'ExtraDataSource' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '',
+ 'backendName' => 'status',
+ ],
+ 'Meta' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Internal' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'backendName' => 'internal',
+ ],
+ 'MetaType' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ExtraDataSource',
+ 'backendName' => 'metaType',
+ ],
+ 'ProjectName' => [
+ 'title' => 'ODPS project name。',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'test_project',
+ 'backendName' => 'projectName',
+ ],
+ 'TableName' => [
+ 'title' => 'ODPS table name。',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'test_table',
+ 'backendName' => 'tableName',
+ ],
+ 'Type' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ 'backendName' => 'type',
+ ],
+ 'UpdateFrequency' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '86400',
+ 'backendName' => 'updateFrequency',
+ ],
+ ],
+ 'backendName' => 'meta',
+ ],
+ 'Type' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'UserCustomDataSource、ItemCustomDataSource、BehaviorCustomDataSource、SampleCustomDataSource',
+ 'backendName' => 'type',
+ ],
+ 'GmtCreate' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '2021-12-07T13:26:29.000Z',
+ 'backendName' => 'gmtCreate',
+ ],
+ 'GmtModified' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '2021-12-07T13:26:29.000Z',
+ 'backendName' => 'gmtModified',
+ ],
+ 'DataSourceId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'E01D574F-ABD0-4C55-A5E3-8D24FD8D42EA',
+ 'backendName' => 'dataSouceId',
+ ],
+ ],
+ ],
+ 'RankingModelVersion' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'TRAINING',
+ 'backendName' => 'status',
+ ],
+ 'RunTime' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '2021-12-08T20:00:00.0Z',
+ 'backendName' => 'runTime',
+ ],
+ 'RunLog' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'backendName' => 'runLog',
+ ],
+ 'TemplateName' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'Module-A',
+ 'backendName' => 'templateName',
+ ],
+ 'RunResult' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'AssessAuc' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'assessAuc',
+ ],
+ 'AssessGauc' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'assessGauc',
+ ],
+ 'AssessLoss' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'assessLoss',
+ ],
+ 'TrainAuc' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'trainAuc',
+ ],
+ 'TrainGauc' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'trainGauc',
+ ],
+ 'TrainLoss' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'trainLoss',
+ ],
+ ],
+ 'backendName' => 'runResult',
+ ],
+ 'Name' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '',
+ 'backendName' => 'name',
+ ],
+ 'TemplateId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'a-a-a',
+ 'backendName' => 'templateId',
+ ],
+ ],
+ ],
+ 'RankingSystem' => [
+ 'title' => '',
+ 'description' => 'The ranking service.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Meta' => [
+ 'title' => '',
+ 'description' => 'The metadata of the ranking service.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'AutoDeploy' => [
+ 'title' => '',
+ 'description' => 'Indicates whether the ranking service is automatically deployed.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'backendName' => 'autoDeploy',
+ ],
+ 'AutoDeployAuc' => [
+ 'title' => '',
+ 'description' => 'The area under the curve (AUC) threshold for automatic deployment.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'autoDeployAuc',
+ ],
+ 'Conf' => [
+ 'title' => '',
+ 'description' => 'The configuration file.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'backendName' => 'conf',
+ ],
+ 'PredictEngine' => [
+ 'title' => '',
+ 'description' => 'The configurations of the prediction engine.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'title' => '',
+ 'description' => 'The ID of the resource for the prediction engine.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'eas-oljkkdrggxhx7eizjd',
+ 'backendName' => 'resourceId',
+ ],
+ 'Version' => [
+ 'title' => '',
+ 'description' => 'The version of the prediction engine.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '1',
+ 'backendName' => 'version',
+ ],
+ 'ClusterId' => [
+ 'title' => '',
+ 'description' => 'The cluster ID of the prediction engine.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ 'backendName' => 'clusterId',
+ ],
+ ],
+ 'backendName' => 'predictEngine',
+ ],
+ 'PredictEngineType' => [
+ 'title' => '',
+ 'description' => 'The type of the prediction engine.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'EAS',
+ 'backendName' => 'predictEngineType',
+ ],
+ 'ModelVersionName' => [
+ 'title' => '',
+ 'description' => 'The name of the model version.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'Model A_T1638964800000'."\n",
+ 'backendName' => 'modelVersionName',
+ ],
+ 'FailMsg' => [
+ 'title' => '',
+ 'description' => 'The cause of the deployment failure.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'backendName' => 'failMsg',
+ ],
+ ],
+ 'backendName' => 'meta',
+ ],
+ 'ApplyStatus' => [
+ 'title' => '',
+ 'description' => 'The state of the service application.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'NOT_APPLIED',
+ 'backendName' => 'applyStatus',
+ ],
+ 'DeployStatus' => [
+ 'title' => '',
+ 'description' => 'The state of the service deployment.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'NOT_DEPLOYED',
+ 'backendName' => 'deployStatus',
+ ],
+ 'SceneIdList' => [
+ 'title' => '',
+ 'description' => 'The scenes where the service is used.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'array',
+ 'items' => [
+ 'visibility' => 'public',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[1, 2, 3]',
+ 'extendType' => 'true',
+ ],
+ 'backendName' => 'sceneIdList',
+ ],
+ 'Name' => [
+ 'title' => '',
+ 'description' => 'The name of the ranking service.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'servicea',
+ 'backendName' => 'name',
+ ],
+ 'ModelTemplateId' => [
+ 'title' => '',
+ 'description' => 'The ID of the model.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'a-a-a',
+ 'backendName' => 'modelTemplateId',
+ ],
+ ],
+ ],
+ 'RankingSystemHistory' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Meta' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'AutoDeploy' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'backendName' => 'autoDeploy',
+ ],
+ 'AutoDeployAuc' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '0.3',
+ 'backendName' => 'autoDeployAuc',
+ ],
+ 'Conf' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'backendName' => 'conf',
+ ],
+ 'ModelTemplateName' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '',
+ 'backendName' => 'modelTemplateName',
+ ],
+ 'PredictEngine' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'eas-oljkkdrggxhx7eizjd',
+ 'backendName' => 'resourceId',
+ ],
+ 'Version' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '1',
+ 'backendName' => 'version',
+ ],
+ ],
+ 'backendName' => 'predictEngine',
+ ],
+ 'PredictEngineType' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'EAS',
+ 'backendName' => 'predictEngineType',
+ ],
+ 'PreviousOperateId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'aaaa',
+ 'backendName' => 'previousOperateId',
+ ],
+ ],
+ 'backendName' => 'meta',
+ ],
+ 'OperateTime' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '2021-12-06T03:01:41.217Z',
+ 'backendName' => 'operateTime',
+ ],
+ 'OperateId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '8AC865AF-37D6-42ED-AA9A-B60D8ECDF640',
+ 'backendName' => 'operateId',
+ ],
+ 'OperateType' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'CONF_CHANGE',
+ 'backendName' => 'operateType',
+ ],
+ 'Name' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'servicea',
+ 'backendName' => 'name',
+ ],
+ ],
+ ],
+ 'Sample' => [
+ 'title' => 'The time when the sample was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in Coordinated Universal Time (UTC).'."\n",
+ 'description' => 'The time when the sample was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed UTC.'."\n",
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => 'The ID of the sample.'."\n",
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'Formatted',
+ 'backendName' => 'status',
+ ],
+ 'Meta' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'AutoUpdate' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'backendName' => 'autoUpdate',
+ ],
+ 'AutoUpdateFrequency' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1673341140',
+ 'backendName' => 'autoUpdateFrequency',
+ ],
+ 'ClonedId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '1638877561147',
+ 'backendName' => 'clonedId',
+ ],
+ 'Config' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'BhvTableSourceIds' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'array',
+ 'items' => [
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'extendType' => 'true',
+ ],
+ 'backendName' => 'bhvTableSourceIds',
+ ],
+ 'FeatureConfig' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemFeatures' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'deress,red',
+ 'backendName' => 'itemFeatures',
+ ],
+ 'UserFeatures' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'man',
+ 'backendName' => 'userFeatures',
+ ],
+ ],
+ 'backendName' => 'featureConfig',
+ ],
+ 'LabelLogic' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'BhvTimeWindow' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '86400',
+ 'backendName' => 'bBhvTimeWindow',
+ ],
+ 'NegativeBhvTypes' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'click,expose',
+ 'backendName' => 'negativeBhvTypes',
+ ],
+ 'PositiveBhvTypes' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'like',
+ 'backendName' => 'positiveBhvTypes',
+ ],
+ ],
+ 'backendName' => 'labelLogic',
+ ],
+ 'WeightLogicList' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'array',
+ 'items' => [
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bhv' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'click',
+ 'backendName' => 'bhv',
+ ],
+ 'Weight' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '1',
+ 'backendName' => 'weight',
+ ],
+ ],
+ 'extendType' => 'true',
+ ],
+ 'backendName' => 'weightLogicList',
+ ],
+ ],
+ 'backendName' => 'config',
+ ],
+ 'ExtendParams' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'object',
+ 'properties' => [
+ 'LatestTaskStatus' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ 'backendName' => 'latestTaskStatus',
+ ],
+ 'SampleCount' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ 'backendName' => 'sampleCount',
+ ],
+ ],
+ 'backendName' => 'extendParams',
+ ],
+ 'MetaType' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'Sample',
+ 'backendName' => 'metaType',
+ ],
+ 'Name' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '12345',
+ 'backendName' => 'name',
+ ],
+ 'StoreConfig' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'projectName.tableName',
+ 'backendName' => 'storeConfig',
+ ],
+ 'Type' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => 'System',
+ 'backendName' => 'type',
+ ],
+ ],
+ 'backendName' => 'meta',
+ ],
+ 'GmtCreate' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '2021-12-07T12:28:52.000Z',
+ 'backendName' => 'gmtCreate',
+ ],
+ 'GmtModified' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '2021-12-07T12:28:52.000Z',
+ 'backendName' => 'gmtModified',
+ ],
+ 'SampleId' => [
+ 'title' => '',
+ 'description' => '',
+ 'visibility' => 'public',
+ 'type' => 'string',
+ 'example' => '1638880131873',
+ 'backendName' => 'sampleId',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'CreateInstance' => [
+ 'path' => '/v2/openapi/instances',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '18666',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'instanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-xxxxx',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"instanceId\\": \\"airec-cn-****\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</RequestId>\\n<Result>\\n <InstanceId>airec-cn-xxxxx</InstanceId>\\n</Result>","errorExample":""}]',
+ 'title' => 'CreateInstance',
+ 'summary' => 'Creates an Artificial Intelligence Recommendation (AIRec) instance.',
+ 'requestParamsDescription' => '|Parameter|Type|Required|Description|'."\n"
+ .'|:---|:---|:---|:---|'."\n"
+ .'|type|String|Yes|The type of the instance. Valid values: Algorithm Configuration Edition and Industry Operation Edition.|'."\n"
+ .'|chargeType|String|Yes|The billing method of the instance. Valid values: PrePaid and PostPaid. PrePaid: the subscription billing method. If you set the value to PrePaid, make sure that your Alibaba Cloud account supports balance payment or credit payment. Otherwise, the system returns the InvalidPayMethod error message. If you set the value to PrePaid, you must also specify the paymentInfo parameter. PostPaid: the pay-as-you-go billing method. Currently, this method is not supported.|'."\n"
+ .'|quota|Map|Yes|The quotas that you want to apply for.|'."\n"
+ .'|userCount|Integer|Yes|The quota for the number of documents in the user table that you want to apply for. For more information about the limits on the quota, refer to the buy page.|'."\n"
+ .'|itemCount|Integer|Yes|The quota for the number of documents in the item table that you want to apply for. For more information about the limits on the quota, refer to the buy page.|'."\n"
+ .'|qps|Integer|Yes|The queries per second (QPS) quota for recommendation requests that you want to apply for. For more information about the limits on the quota, refer to the buy page.|'."\n"
+ .'|paymentInfo|Map|No|The billing information.|'."\n"
+ .'|duration|Integer|No|The billing cycle. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and 12.|'."\n"
+ .'|pricingCycle|String|No|The unit of the billing cycle. Valid values: Month and Year.|'."\n"
+ .'|autoRenew|Boolean|No|Specifies whether to enable auto-renewal. Valid values: true and false.|',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ModifyInstance' => [
+ 'path' => '/v2/openapi/instances/{instanceId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18721',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5G3YBA',
+ 'FEATUREairecX63J28',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-xxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'regionId' => [
+ 'description' => 'The region where the instance resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'type' => [
+ 'description' => 'The type of the instance. Only the Standard edition is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'lockMode' => [
+ 'description' => 'The lock mode of the instance. Valid values: Unlock, ManualLock, and LockByExpiration.'."\n",
+ 'type' => 'string',
+ 'example' => 'Unlock',
+ ],
+ 'expiredTime' => [
+ 'description' => 'The time when the instance expires. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format.The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-01-06T16:00:00.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The state of the instance. Valid values: Initializing, Ready, and Running.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T06:14:01.000Z',
+ ],
+ 'chargeType' => [
+ 'description' => 'The billing method. Valid values: PrePaid and PostPaid. Only the PrePaid billing method is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'industry' => [
+ 'description' => 'The type of the industry. Valid values: content, item, news, video, and sns.'."\n",
+ 'type' => 'string',
+ 'example' => 'news',
+ ],
+ 'commodityCode' => [
+ 'description' => 'The commodity code of the recommended item.'."\n",
+ 'type' => 'string',
+ 'example' => 'airecpre',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the instance was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T11:17:49.000Z',
+ ],
+ 'dataSetVersion' => [
+ 'description' => 'The version of the dataset that provides online services.'."\n",
+ 'type' => 'string',
+ 'example' => '20181206170353',
+ ],
+ 'name' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'Test instance'."\n",
+ ],
+ 'instanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"type\\": \\"Algorithm_configuration\\",\\n \\"lockMode\\": \\"Unlock\\",\\n \\"expiredTime\\": \\"2019-01-06T16:00:00.000Z\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-06T06:14:01.000Z\\",\\n \\"chargeType\\": \\"POSTPAY\\",\\n \\"industry\\": \\"news\\",\\n \\"commodityCode\\": \\"airecpre\\",\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"dataSetVersion\\": \\"20181206170353\\",\\n \\"name\\": \\"实例1\\",\\n \\"instanceId\\": \\"airec-cn-****\\"\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"9B5AA8EF-DB75-5BE9-ADFD-E645F9EA7374\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyInstance',
+ 'summary' => 'Modifies the configurations of a specified instance.',
+ ],
+ 'DescribeInstance' => [
+ 'path' => '/v2/openapi/instances/{instanceId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18683',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-xxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'regionId' => [
+ 'description' => 'The ID of the region where the instance resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'type' => [
+ 'description' => 'The type of the instance. Only the Standard edition is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'lockMode' => [
+ 'description' => 'The lock mode of the instance. Valid values: Unlock, ManualLock, and LockByExpiration.'."\n",
+ 'type' => 'string',
+ 'example' => 'Unlock',
+ ],
+ 'expiredTime' => [
+ 'description' => 'The time when the instance expires. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-01-06T16:00:00.000Z',
+ ],
+ 'scene' => [
+ 'description' => 'The name of the scene. Valid values: gul, rr, hot, and focus.'."\n",
+ 'type' => 'string',
+ 'example' => 'gul',
+ ],
+ 'status' => [
+ 'description' => 'The state of the instance. Valid values: Initializing, Ready, and Running.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T06:14:01.000Z',
+ ],
+ 'chargeType' => [
+ 'description' => 'The billing method. Valid values: PrePaid and PostPaid. Only the PrePaid billing method is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'industry' => [
+ 'description' => 'The type of the industry. Valid values: content, item, news, video, and sns.'."\n",
+ 'type' => 'string',
+ 'example' => 'news',
+ ],
+ 'commodityCode' => [
+ 'description' => 'The commodity code of the recommended item.'."\n",
+ 'type' => 'string',
+ 'example' => 'airecpre',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the instance was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T11:17:49.000Z',
+ ],
+ 'dataSetVersion' => [
+ 'description' => 'The version of the dataset that provides online services.'."\n",
+ 'type' => 'string',
+ 'example' => '20181206170353',
+ ],
+ 'name' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'Test instance'."\n",
+ ],
+ 'instanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"type\\": \\"Standard\\",\\n \\"lockMode\\": \\"Unlock\\",\\n \\"expiredTime\\": \\"2019-01-06T16:00:00.000Z\\",\\n \\"scene\\": \\"gul\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-06T06:14:01.000Z\\",\\n \\"chargeType\\": \\"PrePaid\\",\\n \\"industry\\": \\"news\\",\\n \\"commodityCode\\": \\"airecpre\\",\\n \\"gmtModified\\": \\"2018-12-06T11:17:49.000Z\\",\\n \\"dataSetVersion\\": \\"20181206170353\\",\\n \\"name\\": \\"实例1\\",\\n \\"instanceId\\": \\"airec-cn-****\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <InstanceId>airec-cn-xxxxxx</InstanceId>\\n <Name>airec-cn-xxxxxx</Name>\\n <Type>Standard</Type>\\n <Status>Running</Status>\\n <Industry>news</Industry>\\n <Scene>gul</Scene>\\n <RegionId>cn-beijing</RegionId>\\n <ChargeType>PrePaid</ChargeType>\\n <DataSetVersion>20181206170353</DataSetVersion>\\n <CommodityCode>airecpre</CommodityCode>\\n <GmtCreate>2018-12-06T06:14:01.000Z</GmtCreate>\\n <GmtModified>2018-12-06T11:17:49.000Z</GmtModified>\\n <ExpiredTime>2019-01-06T16:00:00.000Z</ExpiredTime>\\n <LockMode>Unlock</LockMode>\\n</Result>\\n<RequestId>B352FBD9-4643-441E-80ED-699D47D7B6A3</RequestId>","errorExample":""}]',
+ 'title' => 'DescribeInstance',
+ 'summary' => 'Queries the details about an instance based on the instance ID.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListInstance' => [
+ 'path' => '/v2/openapi/instances',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18705',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'GET /openapi/instances?name=test&instanceId=abc&page=1&size=10',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => [
+ [
+ 'type' => 'json',
+ 'example' => '',
+ 'errorExample' => '',
+ ],
+ [
+ 'type' => 'xml',
+ 'example' => '',
+ 'errorExample' => '',
+ ],
+ ],
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => ' ',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Running',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Default value: 1.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'The number of entries to return on each page. Valid values: 1 to 50. Default value: 10.'."\n",
+ ],
+ ],
+ [
+ 'name' => 'expiredTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The state of the instance. Valid values: Running, Ready, Initializing, and Starting.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1608533404',
+ ],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance. Fuzzy match is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Test instance'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The time when the instance expires. The value is a timestamp in seconds. Only instances whose expiration time is greater than the value of this parameter will be returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'regionId' => [
+ 'description' => 'The instance ID. Fuzzy match is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'type' => [
+ 'description' => 'airec-cn-xxxxxx',
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'lockMode' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'string',
+ 'example' => 'Unlock',
+ ],
+ 'expiredTime' => [
+ 'description' => 'The ID of the region where the instance resides.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-01-06T16:00:00.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The type of the instance. Only the Standard edition is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The lock mode of the instance. Valid values: Unlock, ManualLock, and LockByExpiration.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T06:14:01.000Z',
+ ],
+ 'chargeType' => [
+ 'description' => 'The time when the instance expires. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'industry' => [
+ 'description' => 'The state of the instance. Valid values: Initializing, Ready, and Running.'."\n",
+ 'type' => 'string',
+ 'example' => 'news',
+ ],
+ 'commodityCode' => [
+ 'description' => 'The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => 'airecpre',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The billing method. Valid values: PrePaid and PostPaid. Only the PrePaid billing method is supported.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T11:17:49.000Z',
+ ],
+ 'dataSetVersion' => [
+ 'description' => 'The type of the industry. Valid values: content, item, news, video, and sns.'."\n",
+ 'type' => 'string',
+ 'example' => '20181206170353',
+ ],
+ 'name' => [
+ 'description' => 'The commodity code of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'The time when the instance was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ ],
+ 'instanceId' => [
+ 'description' => 'The version of the dataset that provides online services.'."\n",
+ 'type' => 'string',
+ 'example' => 'The name of the instance.'."\n",
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'airec-cn-o400whm78004',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'airec-cn-o400whm78004',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"type\\": \\"Standard\\",\\n \\"lockMode\\": \\"Unlock\\",\\n \\"expiredTime\\": \\"2019-01-06T16:00:00.000Z\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-06T06:14:01.000Z\\",\\n \\"chargeType\\": \\"PrePaid\\",\\n \\"industry\\": \\"news\\",\\n \\"commodityCode\\": \\"airecpre\\",\\n \\"gmtModified\\": \\"2018-12-06T11:17:49.000Z\\",\\n \\"dataSetVersion\\": \\"20181206170353\\",\\n \\"name\\": \\"实例1\\",\\n \\"instanceId\\": \\"airec-cn-****\\"\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<result>\\n <instanceId>airec-cn-5i3mq380d9q6</instanceId>\\n <name>测试使用</name>\\n <type>Standard</type>\\n <status>Running</status>\\n <industry>item</industry>\\n <regionId>cn-hangzhou</regionId>\\n <chargeType>PrePaid</chargeType>\\n <dataSetVersion>20201220105251</dataSetVersion>\\n <commodityCode>airecpre</commodityCode>\\n <gmtCreate>2020-12-20T02:51:57.000Z</gmtCreate>\\n <gmtModified>2020-12-20T03:34:05.000Z</gmtModified>\\n <expiredTime>2021-01-20T16:00:00.000Z</expiredTime>\\n <lockMode>Unlock</lockMode>\\n</result>\\n<requestId>CD76827D-8D92-4C90-9C31-A01941834442</requestId>\\n<headers>\\n <X-Total-Count>1</X-Total-Count>\\n</headers>","errorExample":""}]',
+ 'title' => 'ListInstance',
+ 'summary' => 'Queries the information of instances.',
+ 'description' => 'You can call this API operation to query the list of instances. The returned instances are ranked in descending order based on the values of GmtCreate. You can specify multiple request parameters. These request parameters can be used to filter query results. The request parameters that you specify have logical AND relations. Only the specified parameters can be used to filter query results.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RunInstance' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/actions/import',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18739',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-xxxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'Indicates whether a dataset was created.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": false,\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</RequestId>\\n<Result>true</Result>","errorExample":""}]',
+ 'title' => 'RunInstance',
+ 'summary' => 'Runs an instance to start a full data import task.',
+ 'description' => 'You can call this API operation to run an instance to start a full data import task. After you call this API operation, the system creates a dataset. Then, the system imports all data from your data sources into the dataset for data training.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpgradeInstance' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/actions/upgrade',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18745',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ 'FEATUREairecDM7OX0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-xxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'instanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"instanceId\\": \\"airec-cn-****\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>90D6B8F5-FE97-4509-9AAB-367836C51818</RequestId>\\n<Result>\\n <InstanceId>airec-cn-xxxxxx</InstanceId>\\n</Result>","errorExample":""}]',
+ 'title' => 'UpgradeInstance',
+ 'summary' => 'Modifies the quotas of a specified instance.',
+ 'description' => 'You can call this operation to modify the quotas of a specified instance.'."\n"
+ ."\n"
+ .'The limits on the number of users: 1,000,000 to 10,000,000. The limits on the number of items: 1,000,000 to 10,000,000. The limits on the queries per second (QPS) for recommendation requests: 10 to 500.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ValidateInstance' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/actions/validate',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '18746',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '90D6B8F5-FE97-4509-9AAB-367836C51818',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": true,\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"90D6B8F5-FE97-4509-9AAB-367836C51818\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ValidateInstance',
+ 'summary' => 'Verifies the validity of information about a specified instance.',
+ ],
+ 'DowngradeInstance' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/actions/downgrade',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18694',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-xxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'Decreases the quotas of a specified instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'instanceId' => [
+ 'description' => 'The new quota must be less than the selected quota.'."\n"
+ ."\n"
+ .'The limits on the number of users: 1,000,000 to 10,000,000. The limits on the number of items: 1,000,000 to 10,000,000. The limits on the queries per second (QPS) of recommendation requests: 10 to 500.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"instanceId\\": \\"airec-cn-****\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>90D6B8F5-FE97-4509-9AAB-367836C51818</RequestId>\\n<Result>\\n <InstanceId>airec-cn-xxxxxx</InstanceId>\\n</Result>","errorExample":""}]',
+ 'title' => 'DowngradeInstance',
+ 'summary' => 'Decreases the quotas of a specified instance.',
+ 'description' => 'The returned results.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateExtraDataSource' => [
+ 'summary' => 'Creates a data source.',
+ 'path' => '/v2/openapi/instances/{instanceId}/extra-data-sources',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117103',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The schema of response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ '$ref' => '#/components/schemas/ExtraDataSource',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"Ready 待应用;Online 已应用;Failed失败\\",\\n \\"Meta\\": {\\n \\"Internal\\": true,\\n \\"MetaType\\": \\"ExtraDataSource\\",\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"Type\\": \\"ODPS\\",\\n \\"UpdateFrequency\\": 86400\\n },\\n \\"Type\\": \\"UserCustomDataSource、ItemCustomDataSource、BehaviorCustomDataSource、SampleCustomDataSource\\",\\n \\"GmtCreate\\": \\"2021-12-07T13:26:29.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T13:26:29.000Z\\",\\n \\"DataSourceId\\": \\"E01D574F-ABD0-4C55-A5E3-8D24FD8D42EA\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateExtraDataSource',
+ ],
+ 'DeleteExtraDataSource' => [
+ 'summary' => 'Deletes a data source.',
+ 'path' => '/v2/openapi/instances/{instanceId}/extra-data-sources/{type}/{dataSourceId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '117109',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '数据源类型 UserCustomDataSource ItemCustomDataSource BehaviorCustomDataSource SampleCustomDataSource',
+ ],
+ ],
+ [
+ 'name' => 'dataSourceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '数据源id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '返回参数。',
+ '$ref' => '#/components/schemas/ExtraDataSource',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"Ready 待应用;Online 已应用;Failed失败\\",\\n \\"Meta\\": {\\n \\"Internal\\": true,\\n \\"MetaType\\": \\"ExtraDataSource\\",\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"Type\\": \\"ODPS\\",\\n \\"UpdateFrequency\\": 86400\\n },\\n \\"Type\\": \\"UserCustomDataSource、ItemCustomDataSource、BehaviorCustomDataSource、SampleCustomDataSource\\",\\n \\"GmtCreate\\": \\"2021-12-07T13:26:29.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T13:26:29.000Z\\",\\n \\"DataSourceId\\": \\"E01D574F-ABD0-4C55-A5E3-8D24FD8D42EA\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'DeleteExtraDataSource',
+ ],
+ 'ListExtraDataSources' => [
+ 'summary' => 'Queries a list of MaxCompute data sources.',
+ 'path' => '/v2/openapi/instances/{instanceId}/extra-data-sources',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117105',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '根据数据源类型过滤',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'UserCustomDataSource ItemCustomDataSource BehaviorCustomDataSource SampleCustomDataSource',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/ExtraDataSource',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": [\\n {\\n \\"Status\\": \\"Ready 待应用;Online 已应用;Failed失败\\",\\n \\"Meta\\": {\\n \\"Internal\\": true,\\n \\"MetaType\\": \\"ExtraDataSource\\",\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TableName\\": \\"test_table\\",\\n \\"Type\\": \\"ODPS\\",\\n \\"UpdateFrequency\\": 86400\\n },\\n \\"Type\\": \\"UserCustomDataSource、ItemCustomDataSource、BehaviorCustomDataSource、SampleCustomDataSource\\",\\n \\"GmtCreate\\": \\"2021-12-07T13:26:29.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T13:26:29.000Z\\",\\n \\"DataSourceId\\": \\"E01D574F-ABD0-4C55-A5E3-8D24FD8D42EA\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListExtraDataSources',
+ ],
+ 'DeleteDataSet' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSets/{versionId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '18671',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The version number of the dataset.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '20181023214546',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The details about the dataset.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'versionId' => [
+ 'description' => 'The version number of the dataset.'."\n",
+ 'type' => 'string',
+ 'example' => '20181023214546',
+ ],
+ 'state' => [
+ 'description' => 'The state for the dataset of the current version. Example: Importing. The value indicates that the dataset of the current version is being imported.'."\n",
+ 'type' => 'string',
+ 'example' => 'Importing',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the data source was last modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the data source was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'instanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"versionId\\": \\"2018102321****\\",\\n \\"state\\": \\"Importing\\",\\n \\"gmtModified\\": 0,\\n \\"gmtCreate\\": 0,\\n \\"instanceId\\": \\"airec-cn-o400whm78004\\"\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteDataSet',
+ 'summary' => 'Deletes a dataset of a specified version for an instance.',
+ ],
+ 'AttachDataset' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSets/{versionId}/actions/current',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18661',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the version.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '20181023214546',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The details about the dataset.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'versionId' => [
+ 'description' => 'The version number of the dataset.'."\n",
+ 'type' => 'string',
+ 'example' => '20181023214546',
+ ],
+ 'state' => [
+ 'description' => 'The state for the dataset of the current version. Example: Importing. The value indicates that the dataset of the current version is being imported.'."\n",
+ 'type' => 'string',
+ 'example' => 'Importing',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the data source was last modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the data source was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'instanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"versionId\\": \\"2018102321****\\",\\n \\"state\\": \\"Importing\\",\\n \\"gmtModified\\": 0,\\n \\"gmtCreate\\": 0,\\n \\"instanceId\\": \\"airec-cn-****\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"F60021C4-57AF-5F46-9B3E-FCEF1C7A1459\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","type":"json"}]',
+ 'title' => 'AttachDataset',
+ 'summary' => 'Uses a dataset of a specified version of a specified instance to provide online services.',
+ ],
+ 'DescribeDataSetMessage' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSets/{versionId}/messages',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18677',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'timestamp' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20181211 17:27:44',
+ ],
+ 'errorLevel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'warn',
+ ],
+ 'errorType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"message\\": \\"item商品表合法率0.36,可被采纳数据(符合规范)较少。会影响预热期推荐效果。请检查数据,补充相关字段信息,重新导入。建议优化。\\",\\n \\"timestamp\\": \\"20181211 17:27:44\\",\\n \\"errorLevel\\": \\"warn\\",\\n \\"errorType\\": \\"合法率\\"\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</RequestId>\\n<Result>\\n <ErrorType>合法率</ErrorType>\\n <ErrorLevel>warn</ErrorLevel>\\n <Message>item商品表合法率0.36,可被采纳数据(符合规范)较少。会影响预热期推荐效果。请检查数据,补充相关字段信息,重新导入。建议优化。</Message>\\n <Timestamp>20181211 17:27:44</Timestamp>\\n</Result>","errorExample":""}]',
+ 'title' => 'DescribeDataSetMessage',
+ 'summary' => 'Queries the error details of data in a specified dataset version of a specified instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDataSet' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSets',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18700',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned datasets.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'versionId' => [
+ 'description' => 'The version number of the dataset.'."\n",
+ 'type' => 'string',
+ 'example' => '20181023214546',
+ ],
+ 'state' => [
+ 'description' => 'The state for the dataset of the current version. Example: Importing. The value indicates that the dataset of the current version is being imported.'."\n",
+ 'type' => 'string',
+ 'example' => 'Importing',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the data source was last modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the data source was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'instanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"versionId\\": \\"2018102321****\\",\\n \\"state\\": \\"Importing\\",\\n \\"gmtModified\\": 0,\\n \\"gmtCreate\\": 0,\\n \\"instanceId\\": \\"airec-cn-o400whm78004\\"\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ListDataSet',
+ 'summary' => 'Queries datasets of a specified instance.',
+ ],
+ 'DeleteExperiment' => [
+ 'summary' => 'Deletes a test.',
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '18672',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The response body.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Indicates whether the test was deleted. Valid values: true or false.'."\n",
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'experimentId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DeleteExperiment',
+ ],
+ 'EnableExperiment' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/actions/enable-experiment',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18695',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": true,\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","type":"json"}]',
+ 'title' => 'EnableExperiment',
+ 'summary' => 'Enables the test feature.',
+ ],
+ 'UpdateExperimentBasicInfo' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}/basic',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18742',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'experimentId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The information about the experiment.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => 'Indicates whether the experiment uses default configurations.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => 'The time when the experiment was published.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => 'The time when the experiment was unpublished.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'description' => [
+ 'description' => 'The description of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'demo1',
+ ],
+ 'status' => [
+ 'description' => 'The status of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'name' => [
+ 'description' => 'The name of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'algorithms' => [
+ 'description' => 'The parameters of the experiment.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The key of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'config' => [
+ 'description' => 'The information about the child configuration item.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The key of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'name' => [
+ 'description' => 'The name of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I filtering algorithm'."\n",
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'type' => [
+ 'description' => 'The type of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'hasConfig' => [
+ 'description' => 'Indicates whether child configuration items exist. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'category' => [
+ 'description' => 'The category of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'name' => [
+ 'description' => 'The name of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'buckets' => [
+ 'description' => 'The traffic buckets.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'string',
+ 'example' => '["1","2","3"]',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"offlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"description\\": \\"demo1\\",\\n \\"status\\": \\"1\\",\\n \\"name\\": \\"test\\",\\n \\"algorithms\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"defaultValue\\": \\"true\\",\\n \\"experimentValue\\": \\"400\\",\\n \\"name\\": \\"i2i召回链路\\"\\n }\\n ],\\n \\"defaultValue\\": \\"400\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"400\\",\\n \\"hasConfig\\": false,\\n \\"category\\": \\"2\\",\\n \\"name\\": \\"test\\"\\n }\\n ],\\n \\"buckets\\": [\\n \\"[\\\\\\"1\\\\\\",\\\\\\"2\\\\\\",\\\\\\"3\\\\\\"]\\"\\n ],\\n \\"experimentId\\": \\"12345\\"\\n },\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'UpdateExperimentBasicInfo',
+ 'summary' => 'Updates the basic information about an experiment.',
+ ],
+ 'UpdateExperimentConfig' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}/config',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18743',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'experimentId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-12-07T06:47:30.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-12-07T06:47:30.000Z',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'demo1',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Online',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'algorithms' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'config' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'defaultValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'experimentValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300',
+ ],
+ 'hasConfig' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'category' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RECALL',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'buckets' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'userid',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-12-07T06:47:30.000Z\\",\\n \\"offlineTime\\": \\"2020-12-07T06:47:30.000Z\\",\\n \\"description\\": \\"demo1\\",\\n \\"status\\": \\"Online\\",\\n \\"name\\": \\"I2I召回链路\\",\\n \\"algorithms\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"defaultValue\\": \\"true\\",\\n \\"experimentValue\\": \\"true\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"defaultValue\\": \\"400\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"300\\",\\n \\"hasConfig\\": true,\\n \\"category\\": \\"RECALL\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"buckets\\": [\\n \\"userid\\"\\n ],\\n \\"experimentId\\": \\"xxx\\"\\n },\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'UpdateExperimentConfig',
+ 'summary' => 'Updates the configurations of a test.',
+ ],
+ 'UpdateExperimentStatus' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}/status',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18744',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'experimentId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => 'Indicates whether the default configurations are used for the experiment.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => 'The time when the experiment was published.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => 'The time when the experiment was unpublished.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'description' => [
+ 'description' => 'The remarks of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'status' => [
+ 'description' => 'The experiment state. Valid values: init, online, finish, and offline.'."\n",
+ 'type' => 'string',
+ 'example' => 'init',
+ ],
+ 'name' => [
+ 'description' => 'The experiment name.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'algorithms' => [
+ 'description' => 'The algorithm configurations.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The algorithm key. Valid values: i2i: the I2I filtering algorithm. u2x2i: the U2X2I filtering algorithm. hot: the filtering algorithm for popular items. new: the filtering algorithm for new items. embedding: the vector filtering algorithm. mtorder: the priority of the filtering algorithm. rankservice: the ranking service.'."\n",
+ 'type' => 'string',
+ 'example' => 'hot',
+ ],
+ 'config' => [
+ 'description' => 'The experiment configurations.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The algorithm key. Valid values: i2i: the I2I filtering algorithm. u2x2i: the U2X2I filtering algorithm. hot: the filtering algorithm for popular items. new: the filtering algorithm for new items. embedding: the vector filtering algorithm. mtorder: the priority of the filtering algorithm. rankservice: the ranking service.'."\n",
+ 'type' => 'string',
+ 'example' => 'hot',
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm. If you set key to i2i, hot, or new, the value of this parameter is true or false. If you set key to mtorder, the value of this parameter is a list of filtering algorithms ranked by priority.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'name' => [
+ 'description' => 'The algorithm name. (Note: If you use the default algorithm, the console obtains the algorithm name from Medusa. If you customize an algorithm for the experiment, the algorithm name is directly returned.)'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'swing',
+ ],
+ 'type' => [
+ 'description' => 'The algorithm type. Valid values: SYSTEM and CUSTOM.'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'hasConfig' => [
+ 'description' => 'Indicates whether child configuration items exist. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'category' => [
+ 'description' => 'The algorithm category. Valid values: RECALL and RANK.'."\n",
+ 'type' => 'string',
+ 'example' => 'RECALL',
+ ],
+ 'name' => [
+ 'description' => 'The algorithm name. (Note: If you use the default algorithm, the console obtains the algorithm name from Medusa. If you customize an algorithm for the experiment, the algorithm name is directly returned.)'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'buckets' => [
+ 'description' => 'The buckets. This parameter takes effect only when the experiment is published.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The buckets. The parameter value must be of the STRING type. This parameter takes effect only when the experiment is published.'."\n",
+ 'type' => 'string',
+ 'example' => '["1","2","3"]',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"offlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"description\\": \\"xxx\\",\\n \\"status\\": \\"init\\",\\n \\"name\\": \\"test\\",\\n \\"algorithms\\": [\\n {\\n \\"key\\": \\"hot\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"hot\\",\\n \\"defaultValue\\": \\"xxx\\",\\n \\"experimentValue\\": \\"xxx\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"defaultValue\\": \\"swing\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"xxx\\",\\n \\"hasConfig\\": false,\\n \\"category\\": \\"RECALL\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"buckets\\": [\\n \\"[\\\\\\"1\\\\\\"、\\\\\\"2\\\\\\"、\\\\\\"3\\\\\\"]\\"\\n ],\\n \\"experimentId\\": \\"123\\"\\n },\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateExperimentStatusResponse>\\n <result>\\n <experimentId>12345</experimentId>\\n <name>实验1</name>\\n <description>demo1</description>\\n <buckets>1</buckets>\\n <buckets>2</buckets>\\n <buckets>3</buckets>\\n <status>init</status>\\n <base>true</base>\\n <onlineTime>2020-11-11t09:47:43.000z</onlineTime>\\n <offlineTime/>\\n <algorithms>\\n <key>i2i</key>\\n <name>i2i召回链路</name>\\n <category>recall</category>\\n <type>system</type>\\n <defaultValue>true</defaultValue>\\n <experimentValue/>\\n <hasConfig>true</hasConfig>\\n <config>\\n <key>i2i-truncedquantity</key>\\n <name>截断数量</name>\\n <defaultValue>400</defaultValue>\\n <experimentValue>300</experimentValue>\\n </config>\\n <config>\\n <key>i2i-algo</key>\\n <name>i2i算法</name>\\n <defaultValue>swing;commoni2i;pcategory;scategory</defaultValue>\\n <experimentValue/>\\n </config>\\n </algorithms>\\n <algorithms>\\n <key>mtorder</key>\\n <name>召回链路优先级</name>\\n <type>system</type>\\n <category>recall</category>\\n <defaultValue>i2i;u2x2i;new;hot;embedding;embedding</defaultValue>\\n <experimentValue/>\\n <hasConfig>false</hasConfig>\\n </algorithms>\\n </result>\\n <requestId>e3d6fe3b-b7c2-43da-9a13-5ea837aced9b</requestId>\\n</UpdateExperimentStatusResponse>","errorExample":""}]',
+ 'title' => 'UpdateExperimentStatus',
+ 'summary' => 'Updates the state of an experiment.',
+ ],
+ 'DescribeBaseExperiment' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/base-experiment',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18676',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-12-07T06:47:30.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-12-07T06:47:30.000Z',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Init',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'algorithms' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'config' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'defaultValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'experimentValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'hasConfig' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'category' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RECALL',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'buckets' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[1,2,3]',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'A74E3FB7-406C-5CBB-833E-E49308B5DC05',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-12-07T06:47:30.000Z\\",\\n \\"offlineTime\\": \\"2020-12-07T06:47:30.000Z\\",\\n \\"description\\": \\"xxx\\",\\n \\"status\\": \\"Init\\",\\n \\"name\\": \\"测试实验\\",\\n \\"algorithms\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"defaultValue\\": \\"true\\",\\n \\"experimentValue\\": \\"400\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"defaultValue\\": \\"true\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"400\\",\\n \\"hasConfig\\": false,\\n \\"category\\": \\"RECALL\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"buckets\\": [\\n \\"[1,2,3]\\"\\n ],\\n \\"experimentId\\": \\"xxx\\"\\n },\\n \\"requestId\\": \\"A74E3FB7-406C-5CBB-833E-E49308B5DC05\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeBaseExperiment',
+ 'summary' => 'Queries the information of the base experiment.',
+ ],
+ 'DescribeExperiment' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18679',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'experimentId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '23245',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => 'None'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => 'The time when the experiment was published.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => 'The time when the experiment was unpublished.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'description' => [
+ 'description' => 'The description of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'status' => [
+ 'description' => 'The state of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'name' => [
+ 'description' => 'The name of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'algorithms' => [
+ 'description' => 'The parameters about the experiment.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The key.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'config' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'key',
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'defaultValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'experimentValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => 'None'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'type' => [
+ 'description' => 'None'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => 'None'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'hasConfig' => [
+ 'description' => 'None'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'category' => [
+ 'description' => 'The category of the item.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'name' => [
+ 'description' => 'The name of the experiment.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'buckets' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["1","2","3"]',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"offlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"description\\": \\"xxx\\",\\n \\"status\\": \\"1\\",\\n \\"name\\": \\"test\\",\\n \\"algorithms\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"defaultValue\\": \\"true\\",\\n \\"experimentValue\\": \\"400\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"defaultValue\\": \\"true\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"空\\",\\n \\"hasConfig\\": false,\\n \\"category\\": \\"2\\",\\n \\"name\\": \\"test\\"\\n }\\n ],\\n \\"buckets\\": [\\n \\"[\\\\\\"1\\\\\\",\\\\\\"2\\\\\\",\\\\\\"3\\\\\\"]\\"\\n ],\\n \\"experimentId\\": \\"12345\\"\\n },\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DescribeExperiment',
+ 'summary' => 'Queries the details about an experiment.',
+ ],
+ 'DescribeExperimentEnv' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiment-env',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18680',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'bucketCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'divideType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'UID',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"bucketCount\\": 10,\\n \\"divideType\\": \\"UID\\"\\n },\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DescribeExperimentEnv',
+ 'summary' => 'Queries the information of an experiment scene.',
+ ],
+ 'DescribeExperimentEnvProgress' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiment-progress',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18681',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"status\\": \\"Processing\\",\\n \\"progress\\": 80\\n },\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeExperimentEnvProgress',
+ 'summary' => 'Queries the status of a test in a scene.',
+ ],
+ 'ListExperiments' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18702',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-12-07T06:47:30.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-12-07T06:47:30.000Z',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'init',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'buckets' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[1,2,3]',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-12-07T06:47:30.000Z\\",\\n \\"offlineTime\\": \\"2020-12-07T06:47:30.000Z\\",\\n \\"description\\": \\"xxx\\",\\n \\"status\\": \\"init\\",\\n \\"name\\": \\"test\\",\\n \\"buckets\\": [\\n \\"[1,2,3]\\"\\n ],\\n \\"experimentId\\": \\"123\\"\\n }\\n ],\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","errorExample":""},{"type":"xml","example":"<result>\\n <experimentId>12345</experimentId>\\n <name>实验1</name>\\n <description>demo1</description>\\n <buckets>1</buckets>\\n <buckets>2</buckets>\\n <buckets>3</buckets>\\n <status>init</status>\\n <base>true</base>\\n <onlineTime>2020-11-11t09:47:43.000z</onlineTime>\\n <offlineTime/>\\n</result>\\n<requestId>e3d6fe3b-b7c2-43da-9a13-5ea837aced9b</requestId>","errorExample":""}]',
+ 'title' => 'ListExperiments',
+ 'summary' => 'Queries a list of tests. Only the basic information about the tests is displayed. The algorithm configurations are not displayed. The pagination feature is not supported.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CloneExperiment' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}/actions/clone',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '18664',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'true: verifies experiment information. false (default): creates an experiment.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'experimentId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The information about the experiment.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'base' => [
+ 'description' => 'N/A'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'onlineTime' => [
+ 'description' => 'The time when the experiment was published.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'offlineTime' => [
+ 'description' => 'The time when the experiment was unpublished.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'description' => [
+ 'description' => 'The remarks.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'status' => [
+ 'description' => 'The experiment state.'."\n",
+ 'type' => 'string',
+ 'example' => 'Init',
+ ],
+ 'name' => [
+ 'description' => 'The experiment name.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'algorithms' => [
+ 'description' => 'The algorithm configurations.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The algorithm key. Valid values: I2I: the I2I filtering algorithm. u2X2I: the U2X2I filtering algorithm. hot: the filtering algorithm for popular items. new: the filtering algorithm for new items. embedding: the vector filtering algorithm. mtorder: the priority of the filtering algorithm. rankservice: the ranking service.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'config' => [
+ 'description' => 'The child configuration items.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The algorithm key.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I-truncedquantity',
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'swing;commoni2i;pcategory;scategory',
+ ],
+ 'name' => [
+ 'description' => 'The algorithm name. (Note: If you use the default algorithm, the console obtains the algorithm name from Medusa. If you customize an algorithm for the experiment, the algorithm name is directly returned.)'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'i2i;u2x2i;new;hot;embedding;embedding',
+ ],
+ 'type' => [
+ 'description' => 'The algorithm type. Valid values: SYSTEM and CUSTOM.'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => '300',
+ ],
+ 'hasConfig' => [
+ 'description' => 'Indicates whether child configuration items exist. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'category' => [
+ 'description' => 'The algorithm category. Valid values: RECALL and RANK.'."\n",
+ 'type' => 'string',
+ 'example' => 'RECALL',
+ ],
+ 'name' => [
+ 'description' => 'The algorithm name. (Note: If you use the default algorithm, the console obtains the algorithm name from Medusa. If you customize an algorithm for the experiment, the algorithm name is directly returned.)'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ ],
+ ],
+ ],
+ 'buckets' => [
+ 'description' => 'The buckets.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The buckets.'."\n",
+ 'type' => 'string',
+ 'example' => '["1","2","3"]',
+ ],
+ ],
+ 'experimentId' => [
+ 'description' => 'The experiment ID.'."\n",
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"base\\": true,\\n \\"onlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"offlineTime\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"description\\": \\"xxx\\",\\n \\"status\\": \\"Init\\",\\n \\"name\\": \\"xxx\\",\\n \\"algorithms\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"I2I-truncedquantity\\",\\n \\"defaultValue\\": \\"400\\",\\n \\"experimentValue\\": \\"swing;commoni2i;pcategory;scategory\\",\\n \\"name\\": \\"I2I算法\\"\\n }\\n ],\\n \\"defaultValue\\": \\"i2i;u2x2i;new;hot;embedding;embedding\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"300\\",\\n \\"hasConfig\\": true,\\n \\"category\\": \\"RECALL\\",\\n \\"name\\": \\"name\\"\\n }\\n ],\\n \\"buckets\\": [\\n \\"[\\\\\\"1\\\\\\",\\\\\\"2\\\\\\",\\\\\\"3\\\\\\"]\\"\\n ],\\n \\"experimentId\\": \\"12345\\"\\n },\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B</RequestId>","errorExample":""}]',
+ 'title' => 'CloneExperiment',
+ 'summary' => 'Clones an experiment.',
+ 'extraInfo' => ' ',
+ ],
+ 'ListFlowControlTaskReports' => [
+ 'summary' => '流量调控任务曝光分析',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/flowTaskReports',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '155143',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1666697299358',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1666195200',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1668268800',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '16B78383-2803-4964-9605-37B30C073B0E',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'accTaskCtr' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.1',
+ ],
+ 'accTaskPv' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000',
+ ],
+ 'accTotalCtr' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.2',
+ ],
+ 'InvalidPercent' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.3',
+ ],
+ ],
+ ],
+ 'metrics' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'taskPv',
+ ],
+ 'details' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'val' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'endTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1664035200',
+ ],
+ 'startTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1664000452',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"16B78383-2803-4964-9605-37B30C073B0E\\",\\n \\"result\\": {\\n \\"total\\": {\\n \\"accTaskCtr\\": 0.1,\\n \\"accTaskPv\\": 1000,\\n \\"accTotalCtr\\": 0.2,\\n \\"InvalidPercent\\": 0.3\\n },\\n \\"metrics\\": [\\n {\\n \\"type\\": \\"taskPv\\",\\n \\"details\\": [\\n {\\n \\"val\\": 0,\\n \\"endTime\\": 1664035200,\\n \\"startTime\\": 1664000452\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListFlowControlTaskReportsResponse>\\n <requestId>16B78383-2803-4964-9605-37B30C073B0E</requestId>\\n <result>\\n <total>\\n <accTaskPv>1000</accTaskPv>\\n <accPvPercent>0.2</accPvPercent>\\n <accTaskCtr>0.1</accTaskCtr>\\n <accTotalCtr>0.2</accTotalCtr>\\n <invalidPercent>0.2</invalidPercent>\\n </total>\\n <metrics>\\n <type>taskPv</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n <metrics>\\n <type>totalPv</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n <metrics>\\n <type>pvPercent</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n <metrics>\\n <type>taskCtr</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n <metrics>\\n <type>totalCtr</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n <metrics>\\n <type>totalCount</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n <metrics>\\n <type>invalidCount</type>\\n <details>\\n <val>0</val>\\n <startTime>1588003200</startTime>\\n <endTime>1588006800</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n <details>\\n <val>0</val>\\n <startTime>1588089600</startTime>\\n <endTime>1588093200</endTime>\\n <count>0</count>\\n <totalCount>0</totalCount>\\n </details>\\n </metrics>\\n </result>\\n</ListFlowControlTaskReportsResponse>","errorExample":""}]',
+ 'title' => 'ListFlowControlTaskReports',
+ ],
+ 'ListFlowControlTaskInvalidItems' => [
+ 'summary' => '查询失效物品 id_type',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/invalidItems',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '156202',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1661506482',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[ { "itemId": "10", "itemType": "itemType" }, { "itemId": "10", "itemType": "itemType" } ]',
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'invalidItems' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'itemId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '287723',
+ ],
+ 'itemType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'video',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": [\\n {\\n \\"invalidItems\\": [\\n {\\n \\"itemId\\": \\"287723\\",\\n \\"itemType\\": \\"video\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListFlowControlTaskInvalidItemsResponse>\\n <requestId>16B78383-2803-4964-9605-37B30C073B0E</requestId>\\n <result>\\n <invalidItems>\\n <itemId>itemId</itemId>\\n <itemType>111111</itemType>\\n </invalidItems>\\n </result>\\n</ListFlowControlTaskInvalidItemsResponse>","errorExample":""}]',
+ 'title' => 'ListFlowControlTaskInvalidItems',
+ ],
+ 'ListFlowControlTaskItems' => [
+ 'summary' => '流量调控预览',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/actions/items',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '155140',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1667369058068',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalCount' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'validCount' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'detail' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'author' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'duration' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '18',
+ ],
+ 'itemId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'itemType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'video',
+ ],
+ 'expireTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1612687809',
+ ],
+ 'categoryPath' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12_34',
+ ],
+ 'pubTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1661931487',
+ ],
+ 'lastModifyTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1662346558',
+ ],
+ 'channel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'news',
+ ],
+ 'weight' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'title' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"totalCount\\": \\"1\\",\\n \\"validCount\\": \\"1\\",\\n \\"detail\\": [\\n {\\n \\"author\\": \\"zhangsan\\",\\n \\"duration\\": \\"18\\",\\n \\"itemId\\": \\"123\\",\\n \\"itemType\\": \\"video\\",\\n \\"expireTime\\": \\"1612687809\\",\\n \\"categoryPath\\": \\"12_34\\",\\n \\"pubTime\\": \\"1661931487\\",\\n \\"lastModifyTime\\": \\"1662346558\\",\\n \\"channel\\": \\"news\\",\\n \\"weight\\": \\"10\\",\\n \\"title\\": \\"test\\",\\n \\"status\\": \\"1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListFlowControlTaskItemsResponse>\\n <requestId>16B78383-2803-4964-9605-37B30C073B0E</requestId>\\n <result>\\n <detail>\\n <duration>-1</duration>\\n <itemId>item1076848</itemId>\\n <itemType>video</itemType>\\n <expireTime>4102416000</expireTime>\\n <categoryPath>none</categoryPath>\\n <author>none</author>\\n <pubTime>1661931487</pubTime>\\n <lastModifyTime>1662025185</lastModifyTime>\\n <channel>none</channel>\\n <weight>1</weight>\\n <title>none</title>\\n <status>1</status>\\n </detail>\\n <detail>\\n <duration>-1</duration>\\n <itemId>item8281501</itemId>\\n <itemType>image</itemType>\\n <expireTime>4102416000</expireTime>\\n <categoryPath>none</categoryPath>\\n <author>none</author>\\n <pubTime>1661931487</pubTime>\\n <lastModifyTime>1662346558</lastModifyTime>\\n <channel>none</channel>\\n <weight>1</weight>\\n <title>none</title>\\n <status>1</status>\\n </detail>\\n <totalCount>19835</totalCount>\\n <validCount>19835</validCount>\\n </result>\\n</ListFlowControlTaskItemsResponse>","errorExample":""}]',
+ 'title' => 'ListFlowControlTaskItems',
+ ],
+ 'CreateFlowControlTask' => [
+ 'summary' => 'Creates a throttling task.',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '154018',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-2r42wuy7v002',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to perform only a dry run, without performing the actual request.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response schema.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1667297014460',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the task was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in Coordinated Universal Time (UTC).'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-06T11:17:49.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The task state.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the task was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'EDF43C1F-99E4-431F-A7C0-8B260A5A792E',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"taskId\\": \\"1667297014460\\",\\n \\"gmtModified\\": \\"2018-12-06T11:17:49.000Z\\",\\n \\"status\\": \\"DRAFT\\",\\n \\"gmtCreate\\": \\"2020-04-27T06:38:28.000Z\\"\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"EDF43C1F-99E4-431F-A7C0-8B260A5A792E\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateFlowControlTaskResponse>\\n <taskName>test</taskName>\\n <description>这是一个测试任务</description>\\n <startTime>1621267200</startTime>\\n <endTime>1621267200</endTime>\\n <selectionParams>\\n <selectType/>\\n <selectionOperation/>\\n <selectValue/>\\n </selectionParams>\\n <sceneIds>1,2,3</sceneIds>\\n <target>\\n <type>EXPOSE_PERCENT</type>\\n <value>50</value>\\n </target>\\n <metaType>FlowControlTask</metaType>\\n</CreateFlowControlTaskResponse>","errorExample":""}]',
+ 'title' => 'CreateFlowControlTask',
+ ],
+ 'GetFlowControlTask' => [
+ 'summary' => 'Obtains the details of a throttling task.',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '155268',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-wwo30psnd001',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1667979619806',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtCreate' => [
+ 'description' => 'The time when the task was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in Coordinated Universal Time (UTC).'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the data source was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ 'meta' => [
+ 'description' => 'The metadata of the task.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'description' => 'The task description.'."\n",
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'endTime' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1656518399',
+ ],
+ 'metaType' => [
+ 'description' => 'The metadata type.'."\n",
+ 'type' => 'string',
+ 'example' => 'FlowControlTask',
+ ],
+ 'sceneIds' => [
+ 'description' => 'The scene IDs.'."\n",
+ 'type' => 'string',
+ 'example' => '1,2,3',
+ ],
+ 'selectionParams' => [
+ 'description' => 'The parameters specified for the item selection rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'selectType' => [
+ 'description' => 'The type of the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'QUERY_PUB_TIME',
+ ],
+ 'selectValue' => [
+ 'description' => 'The value of the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => '10000',
+ ],
+ 'selectionOperation' => [
+ 'description' => 'The operation on the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'OPERATOR_HIGHER',
+ ],
+ ],
+ ],
+ ],
+ 'startTime' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1640739600',
+ ],
+ 'target' => [
+ 'description' => 'The exposure settings.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => 'EXPOSE_PERCENT: daily exposure percentage. EXPOSE_COUNT: total number of exposures.'."\n",
+ 'type' => 'string',
+ 'example' => 'EXPOSE_PERCENT',
+ ],
+ 'value' => [
+ 'description' => 'The exposure value.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'taskName' => [
+ 'description' => 'The task name.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'status' => [
+ 'description' => 'The task state. Valid values: DRAFT, READY, RUNNING, ENDED, and AUTO_END. The value AUTO_END is not used.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'taskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1666854602398',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": [\\n {\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"meta\\": {\\n \\"description\\": \\"用于首页推荐物品调控。\\",\\n \\"endTime\\": 1656518399,\\n \\"metaType\\": \\"FlowControlTask\\",\\n \\"sceneIds\\": \\"1,2,3\\",\\n \\"selectionParams\\": [\\n {\\n \\"selectType\\": \\"QUERY_PUB_TIME\\",\\n \\"selectValue\\": \\"10000\\",\\n \\"selectionOperation\\": \\"OPERATOR_HIGHER\\"\\n }\\n ],\\n \\"startTime\\": 1640739600,\\n \\"target\\": {\\n \\"type\\": \\"EXPOSE_PERCENT\\",\\n \\"value\\": 20\\n },\\n \\"taskName\\": \\"曝光任务\\"\\n },\\n \\"status\\": \\"DRAFT\\",\\n \\"taskId\\": \\"1666854602398\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'GetFlowControlTask',
+ ],
+ 'DeleteFlowControlTask' => [
+ 'summary' => 'Deletes a throttling task.',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '154373',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-7e22x6f75001',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1661506482',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The schema of response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '6E427B10-30FC-1873-922F-FC176D3398D4',
+ ],
+ 'result' => [
+ 'description' => 'Indicates whether the task was deleted. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"6E427B10-30FC-1873-922F-FC176D3398D4\\",\\n \\"result\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteFlowControlTaskResponse>\\n <requestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</requestId>\\n <result>true</result>\\n</DeleteFlowControlTaskResponse>","errorExample":""}]',
+ 'title' => 'DeleteFlowControlTask',
+ ],
+ 'ListFlowControlTask' => [
+ 'summary' => '查询流控任务列表',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '155267',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1661506482',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DRAFT',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6E427B10-30FC-1873-922F-FC176D3398D4',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2022-08-06T06:14:01.000Z',
+ ],
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2022-08-06T06:14:01.000Z',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'endTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1621267200',
+ ],
+ 'metaType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'metaType',
+ ],
+ 'sceneIds' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1,2,3',
+ ],
+ 'selectionParams' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'selectType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectType',
+ ],
+ 'selectValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectValue',
+ ],
+ 'selectionOperation' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectionOperation',
+ ],
+ ],
+ ],
+ ],
+ 'startTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1621267200',
+ ],
+ 'target' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'EXPOSE_PERCENT',
+ ],
+ 'value' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '50',
+ ],
+ ],
+ ],
+ 'taskName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testtaskname',
+ ],
+ ],
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1661506482',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"6E427B10-30FC-1873-922F-FC176D3398D4\\",\\n \\"result\\": [\\n {\\n \\"gmtCreate\\": \\"2022-08-06T06:14:01.000Z\\",\\n \\"gmtModified\\": \\"2022-08-06T06:14:01.000Z\\",\\n \\"meta\\": {\\n \\"description\\": \\"这是一个测试任务\\",\\n \\"endTime\\": 1621267200,\\n \\"metaType\\": \\"metaType\\",\\n \\"sceneIds\\": \\"1,2,3\\",\\n \\"selectionParams\\": [\\n {\\n \\"selectType\\": \\"selectType\\",\\n \\"selectValue\\": \\"selectValue\\",\\n \\"selectionOperation\\": \\"selectionOperation\\"\\n }\\n ],\\n \\"startTime\\": 1621267200,\\n \\"target\\": {\\n \\"type\\": \\"EXPOSE_PERCENT\\",\\n \\"value\\": 50\\n },\\n \\"taskName\\": \\"testtaskname\\"\\n },\\n \\"status\\": \\"DRAFT\\",\\n \\"TaskId\\": \\"1661506482\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListFlowControlTaskResponse>\\n <requestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</requestId>\\n <result>\\n <taskMeta>\\n <taskName>test</taskName>\\n <description>这是一个测试任务</description>\\n <startTime>1621267200</startTime>\\n <endTime>1621267200</endTime>\\n <selectionParams>\\n <selectType/>\\n <selectionOperation/>\\n <selectValue/>\\n </selectionParams>\\n <sceneIds>1,2,3</sceneIds>\\n <target>\\n <type>EXPOSE_PERCENT</type>\\n <value>50</value>\\n </target>\\n </taskMeta>\\n <taskId>1661506482</taskId>\\n <status>DRAFT</status>\\n <gmtCreate>2022-08-06T06:14:01.000Z</gmtCreate>\\n <gmtModified>2022-08-06T11:17:49.000Z</gmtModified>\\n </result>\\n <headers>\\n <X-Total-Count>1</X-Total-Count>\\n </headers>\\n</ListFlowControlTaskResponse>","errorExample":""}]',
+ 'title' => 'ListFlowControlTask',
+ ],
+ 'ListFlowControlTaskItemReports' => [
+ 'summary' => '流量调控曝光排名物品/失效物品查询',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/itemReports',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '155145',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1666854493104',
+ ],
+ ],
+ [
+ 'name' => 'selectTimeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'yesterDay',
+ ],
+ ],
+ [
+ 'name' => 'selectType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'invalidItem',
+ ],
+ ],
+ [
+ 'name' => 'count',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '5',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D486768B-8BF8-4D80-B491-43DC3D0AF8AB',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'detail' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1666669577221',
+ ],
+ 'itemId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'itemType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'video',
+ ],
+ 'taskRank' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12',
+ ],
+ 'itemPv' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'taskPv' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '50',
+ ],
+ 'pvPercent' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10.12',
+ ],
+ 'itemClick' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'taskClick' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'clickPercent' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1.23',
+ ],
+ 'itemCtr' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2.34',
+ ],
+ 'taskCtr' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1.23',
+ ],
+ 'accTaskRank' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'accItemPv' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '500',
+ ],
+ 'accTaskPv' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'accPvPercent' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20.12',
+ ],
+ 'accItemClick' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1000',
+ ],
+ 'accTaskClick' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '600',
+ ],
+ 'accClickPercent' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.24',
+ ],
+ 'accItemCtr' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '4.56',
+ ],
+ 'accTaskCtr' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.22',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ 'code' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"D486768B-8BF8-4D80-B491-43DC3D0AF8AB\\",\\n \\"result\\": {\\n \\"detail\\": [\\n {\\n \\"taskId\\": \\"1666669577221\\",\\n \\"itemId\\": \\"123\\",\\n \\"itemType\\": \\"video\\",\\n \\"taskRank\\": \\"12\\",\\n \\"itemPv\\": \\"100\\",\\n \\"taskPv\\": \\"50\\",\\n \\"pvPercent\\": \\"10.12\\",\\n \\"itemClick\\": \\"100\\",\\n \\"taskClick\\": \\"100\\",\\n \\"clickPercent\\": \\"1.23\\",\\n \\"itemCtr\\": \\"2.34\\",\\n \\"taskCtr\\": \\"1.23\\",\\n \\"accTaskRank\\": \\"10\\",\\n \\"accItemPv\\": \\"500\\",\\n \\"accTaskPv\\": \\"200\\",\\n \\"accPvPercent\\": \\"20.12\\",\\n \\"accItemClick\\": \\"1000\\",\\n \\"accTaskClick\\": \\"600\\",\\n \\"accClickPercent\\": \\"3.24\\",\\n \\"accItemCtr\\": \\"4.56\\",\\n \\"accTaskCtr\\": \\"3.22\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListFlowControlTaskItemReportsResponse>\\n <requestId>16B78383-2803-4964-9605-37B30C073B0E</requestId>\\n <result>\\n <detail>\\n <taskId>111111</taskId>\\n <itemId>itemId</itemId>\\n <itemType>itemType</itemType>\\n <title>title</title>\\n <categoryPath>人文关怀</categoryPath>\\n <author>张三</author>\\n <channel>渠道</channel>\\n <brandId>121</brandId>\\n <shopId>111</shopId>\\n <taskRank>12</taskRank>\\n <itemPv>100</itemPv>\\n <taskPv>50</taskPv>\\n <pvPercent>10.12</pvPercent>\\n <itemClick>100</itemClick>\\n <taskClick>100</taskClick>\\n <clickPercent>1.23</clickPercent>\\n <itemCtr>2.34</itemCtr>\\n <taskCtr>1.56</taskCtr>\\n <accTaskRank>10</accTaskRank>\\n <accItemPv>500</accItemPv>\\n <accTaskPv>200</accTaskPv>\\n <accPvPercent>20.12</accPvPercent>\\n <accItemClick>500</accItemClick>\\n <accTaskClick>300</accTaskClick>\\n <accClickPercent>3.24</accClickPercent>\\n <accItemCtr>4.56</accItemCtr>\\n <accTaskCtr>3.22</accTaskCtr>\\n </detail>\\n <detail>\\n <taskId>111111</taskId>\\n <itemId>itemId</itemId>\\n <itemType>itemType</itemType>\\n <taskRank>12</taskRank>\\n <itemPv>100</itemPv>\\n <taskPv>50</taskPv>\\n <pvPercent>10.12</pvPercent>\\n <itemClick>100</itemClick>\\n <taskClick>100</taskClick>\\n <clickPercent>1.23</clickPercent>\\n <itemCtr>2.34</itemCtr>\\n <taskCtr>1.56</taskCtr>\\n <accTaskRank>10</accTaskRank>\\n <accItemPv>500</accItemPv>\\n <accTaskPv>200</accTaskPv>\\n <accPvPercent>20.12</accPvPercent>\\n <accItemClick>500</accItemClick>\\n <accTaskClick>300</accTaskClick>\\n <accClickPercent>3.24</accClickPercent>\\n <accItemCtr>4.56</accItemCtr>\\n <accTaskCtr>3.22</accTaskCtr>\\n </detail>\\n </result>\\n</ListFlowControlTaskItemReportsResponse>","errorExample":""}]',
+ 'title' => 'ListFlowControlTaskItemReports',
+ ],
+ 'ListFlowControlTaskReference' => [
+ 'summary' => 'Queries reference data for throttling.',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/reference',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '155137',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-7mz2wuyd2001',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1666670046687',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'last7PvPercent' => [
+ 'description' => 'The average exposure rate of the item pool in the last seven days.'."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.1',
+ ],
+ 'last7ScenePv' => [
+ 'description' => 'The average number of exposures for the items in the selected scene in the last seven days.'."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'last7TaskPv' => [
+ 'description' => 'The average number of exposures for the item pool in the selected scene in the last seven days.'."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'lastPvPercent' => [
+ 'description' => 'The exposure rate of the item pool yesterday.'."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.1',
+ ],
+ 'lastScenePv' => [
+ 'description' => 'The total number of exposures for the items in the selected scene yesterday.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'lastTaskPv' => [
+ 'description' => 'The number of exposures for the item pool in the selected scene yesterday.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'referenceId' => [
+ 'description' => 'The ID of the reference data.'."\n",
+ 'type' => 'string',
+ 'example' => '421351235918',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request. The value is unique for each request. This helps troubleshoot issues later.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"last7PvPercent\\": 0.1,\\n \\"last7ScenePv\\": 10,\\n \\"last7TaskPv\\": 10,\\n \\"lastPvPercent\\": 0.1,\\n \\"lastScenePv\\": 10,\\n \\"lastTaskPv\\": 10,\\n \\"referenceId\\": \\"421351235918\\"\\n },\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\"\\n}","errorExample":""},{"type":"xml","example":"<ListFlowControlTaskReferenceResponse>\\n <requestId>16B78383-2803-4964-9605-37B30C073B0E</requestId>\\n <result>\\n <referenceId>421351235918</referenceId>\\n <lastTaskPv>10</lastTaskPv>\\n <lastScenePv>10</lastScenePv>\\n <lastPvPercent>0.1</lastPvPercent>\\n <last7TaskPv>10</last7TaskPv>\\n <last7ScenePv>10</last7ScenePv>\\n <last7PvPercent>0.1</last7PvPercent>\\n </result>\\n</ListFlowControlTaskReferenceResponse>","errorExample":""}]',
+ 'title' => 'ListFlowControlTaskReference',
+ ],
+ 'ModifyFlowControlTask' => [
+ 'summary' => 'Modifies a throttling task.',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '154309',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-zvp2tu7dz007',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1667297014460',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The request body.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskName' => [
+ 'description' => 'The name of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testname',
+ ],
+ 'description' => [
+ 'description' => 'The description of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Description'."\n",
+ ],
+ 'endTime' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1639519200',
+ ],
+ 'metaType' => [
+ 'description' => 'The type of the metadata.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FlowControlTask',
+ ],
+ 'sceneIds' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all,sy101',
+ ],
+ 'selectionParams' => [
+ 'description' => 'The parameters specified for the item selection rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'selectType' => [
+ 'description' => 'The type of the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'invalidItem',
+ ],
+ 'selectValue' => [
+ 'description' => 'The number of filtering conditions for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'selectionOperation' => [
+ 'description' => 'The operation on the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'OPERATOR_HIGHER',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'startTime' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1638460800',
+ ],
+ 'target' => [
+ 'description' => 'The settings for item exposure.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => 'The type of the exposure.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EXPOSE_PERCENT',
+ ],
+ 'value' => [
+ 'description' => 'The number of exposures.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => 'The ID of the request. The value is unique for each request. This facilitates troubleshooting.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtCreate' => [
+ 'description' => 'The time when the task was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the task was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'meta' => [
+ 'description' => 'The metadata.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'description' => 'The description of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'tst',
+ ],
+ 'endTime' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1656518399',
+ ],
+ 'metaType' => [
+ 'description' => 'The type of the metadata.'."\n",
+ 'type' => 'string',
+ 'example' => 'FlowControlTask',
+ ],
+ 'sceneIds' => [
+ 'description' => 'The IDs of scenes.'."\n",
+ 'type' => 'string',
+ 'example' => '1,2,3',
+ ],
+ 'selectionParams' => [
+ 'description' => 'The parameters specified for the item selection rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'selectType' => [
+ 'description' => 'The type of the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'QUERY_PUB_TIME',
+ ],
+ 'selectValue' => [
+ 'description' => 'The number of filtering conditions for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => '10000',
+ ],
+ 'selectionOperation' => [
+ 'description' => 'The operation on the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'OPERATOR_HIGHER',
+ ],
+ ],
+ ],
+ ],
+ 'startTime' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1640739600',
+ ],
+ 'target' => [
+ 'description' => 'The settings for item exposure.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => 'The type of the exposure.'."\n",
+ 'type' => 'string',
+ 'example' => 'EXPOSE_PERCENT',
+ ],
+ 'value' => [
+ 'description' => 'The number of exposures.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'taskName' => [
+ 'description' => 'The name of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'Active user test'."\n",
+ ],
+ ],
+ ],
+ 'status' => [
+ 'description' => 'The state of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => '1661506482',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"gmtModified\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"meta\\": {\\n \\"description\\": \\"tst\\",\\n \\"endTime\\": 1656518399,\\n \\"metaType\\": \\"FlowControlTask\\",\\n \\"sceneIds\\": \\"1,2,3\\",\\n \\"selectionParams\\": [\\n {\\n \\"selectType\\": \\"QUERY_PUB_TIME\\",\\n \\"selectValue\\": \\"10000\\",\\n \\"selectionOperation\\": \\"OPERATOR_HIGHER\\"\\n }\\n ],\\n \\"startTime\\": 1640739600,\\n \\"target\\": {\\n \\"type\\": \\"EXPOSE_PERCENT\\",\\n \\"value\\": 20\\n },\\n \\"taskName\\": \\"活动用户测试\\"\\n },\\n \\"status\\": \\"DRAFT\\",\\n \\"TaskId\\": \\"1661506482\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyFlowControlTaskResponse>\\n <taskName>test</taskName>\\n <description>这是一个测试任务</description>\\n <startTime>1621267200</startTime>\\n <endTime>1621267200</endTime>\\n <selectionParams>\\n <selectType/>\\n <selectionOperation/>\\n <selectValue/>\\n </selectionParams>\\n <sceneIds>1,2,3</sceneIds>\\n <target>\\n <type>EXPOSE_PERCENT</type>\\n <value>50</value>\\n </target>\\n <metaType>FlowControlTask</metaType>\\n</ModifyFlowControlTaskResponse>","errorExample":""}]',
+ 'title' => 'ModifyFlowControlTask',
+ ],
+ 'StopFlowControlTask' => [
+ 'summary' => '停止流调任务接口',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/actions/stop',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '154378',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1666854602398',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopFlowControlTaskResponse>\\n <requestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</requestId>\\n <result>true</result>\\n</StopFlowControlTaskResponse>","errorExample":""}]',
+ 'title' => 'StopFlowControlTask',
+ ],
+ 'PublishFlowControlTask' => [
+ 'summary' => '发布流调任务接口',
+ 'path' => '/v2/openapi/instances/{instanceId}/flowControlTasks/{taskId}/actions/publish',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '154377',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1666669577221',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 500 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": true\\n}","errorExample":""},{"type":"xml","example":"<PublishFlowControlTaskResponse>\\n <requestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</requestId>\\n <result>true</result>\\n</PublishFlowControlTaskResponse>","errorExample":""}]',
+ 'title' => 'PublishFlowControlTask',
+ ],
+ 'CreateFilteringAlgorithm' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '18665',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The state of the filtering table.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'xxx',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'Specifies whether to perform a dry run. Valid values: true: performs a dry run. false: performs a dry run and sends the request.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => 'The fluctuation threshold for the data entries in the source table.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The name of the filtering algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the filtering table was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in Coordinated Universal Time (UTC).'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'algorithmId' => [
+ 'description' => 'The additional information.'."\n",
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'meta' => [
+ 'description' => 'The threshold.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'extInfo' => [
+ 'description' => 'The name of the MaxCompute project.'."\n",
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'category' => [
+ 'description' => 'The response body.'."\n",
+ 'type' => 'string',
+ 'example' => '1_2',
+ ],
+ 'threshold' => [
+ 'description' => '0 0/12 0 * *"',
+ 'type' => 'object',
+ 'properties' => [
+ 'sourceDataSizeThreshold' => [
+ 'description' => 'The fluctuation threshold for the loss of the index data.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'sourceDataRecordThreshold' => [
+ 'description' => 'The category of the filtering table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexSizeThreshold' => [
+ 'description' => 'The fluctuation threshold for the size of the source table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexLossThreshold' => [
+ 'description' => 'The time when the filtering table was modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'status' => [
+ 'description' => 'The CRON expression of the scheduled task. Example: 0 0/12 0 \\* \\*, which indicates that the task is scheduled at 00:00 and 12:00 every day.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The information about the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'tableName' => [
+ 'description' => 'The metadata of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'table_test',
+ ],
+ 'cron' => [
+ 'description' => 'The fluctuation threshold for the size of the index.'."\n",
+ 'type' => 'string',
+ 'example' => '0 0/12 0 * *',
+ ],
+ 'description' => [
+ 'description' => 'The description of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'gmtModified' => [
+ 'description' => 'Indicates whether the scheduled task is enabled.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'projectName' => [
+ 'description' => 'The ID of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'testname',
+ ],
+ 'algorithmName' => [
+ 'description' => 'The name of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'algorithmTest',
+ ],
+ 'cronEnabled' => [
+ 'description' => 'The time when the filtering table was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed UTC.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The type of the data source.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"algorithmId\\": \\"abc\\",\\n \\"meta\\": {\\n \\"type\\": \\"ODPS\\",\\n \\"extInfo\\": {},\\n \\"category\\": \\"1_2\\",\\n \\"threshold\\": {\\n \\"sourceDataSizeThreshold\\": 1,\\n \\"sourceDataRecordThreshold\\": 1,\\n \\"indexSizeThreshold\\": 1,\\n \\"indexLossThreshold\\": 1\\n },\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"tableName\\": \\"table_test\\",\\n \\"cron\\": \\"0 0/12 0 * *\\",\\n \\"description\\": \\"xx\\",\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"projectName\\": \\"testname\\",\\n \\"algorithmName\\": \\"algorithmTest\\",\\n \\"cronEnabled\\": true\\n }\\n },\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'CreateFilteringAlgorithm',
+ 'summary' => 'Creates a filtering table. After the filtering table is trained on Machine Learning Platform for AI (PAI), export it to MaxCompute and specify the information about the MaxCompute table in Artificial Intelligence Recommendation (AIRec).',
+ ],
+ 'DeleteFilteringAlgorithm' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '18673',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the specified filtering table.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => 'The time when the filtering table was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The state of the filtering table. Valid values: Draft, Running, Offline, and Deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the filtering table was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'algorithmId' => [
+ 'description' => 'The ID of the specified filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'meta' => [
+ 'description' => 'The metadata of the filtering table.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'test01',
+ ],
+ 'metaType' => [
+ 'description' => 'The type of the metadata.'."\n",
+ 'type' => 'string',
+ 'example' => 'odps',
+ ],
+ 'type' => [
+ 'description' => 'The type of the data source. Only MaxCompute is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'extInfo' => [
+ 'description' => 'The additional information.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'kvSeparator' => [
+ 'description' => 'The delimiter that is used to separate keys and values.'."\n",
+ 'type' => 'string',
+ 'example' => ';',
+ ],
+ 'itemSeparator' => [
+ 'description' => 'The delimiter that is used to separate items.'."\n",
+ 'type' => 'string',
+ 'example' => ';',
+ ],
+ ],
+ ],
+ 'category' => [
+ 'description' => 'The category of the filtering algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'i2i',
+ ],
+ 'threshold' => [
+ 'description' => 'The threshold.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'sourceDataSizeThreshold' => [
+ 'description' => 'The fluctuation threshold for the size of the source table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'sourceDataRecordThreshold' => [
+ 'description' => 'The fluctuation threshold for the data entries in the source table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexSizeThreshold' => [
+ 'description' => 'The fluctuation threshold for the size of the index.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexLossThreshold' => [
+ 'description' => 'The fluctuation threshold for the loss of the index data.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'tableName' => [
+ 'description' => 'The name of the table.'."\n",
+ 'type' => 'string',
+ 'example' => 'table01',
+ ],
+ 'clusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '1001',
+ ],
+ 'cron' => [
+ 'description' => 'The CRON expression of the scheduled task. Example: 0 0/12 0 \\* \\*. The value indicates that the task is scheduled at 00:00 and 12:00 every day.'."\n",
+ 'type' => 'string',
+ 'example' => '0 0/12 0 * *',
+ ],
+ 'description' => [
+ 'description' => 'The description of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'Training task'."\n",
+ ],
+ 'projectName' => [
+ 'description' => 'The name of the project.'."\n",
+ 'type' => 'string',
+ 'example' => 'name01',
+ ],
+ 'algorithmName' => [
+ 'description' => 'The name of the filtering algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => 'user',
+ ],
+ 'cronEnabled' => [
+ 'description' => 'N/A'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '936BE457-5D14-4DBD-85AE-176F7BA8D96D',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"algorithmId\\": \\"123\\",\\n \\"meta\\": {\\n \\"taskId\\": \\"test01\\",\\n \\"metaType\\": \\"odps\\",\\n \\"type\\": \\"ODPS\\",\\n \\"extInfo\\": {\\n \\"kvSeparator\\": \\";\\",\\n \\"itemSeparator\\": \\";\\"\\n },\\n \\"category\\": \\"i2i\\",\\n \\"threshold\\": {\\n \\"sourceDataSizeThreshold\\": 1,\\n \\"sourceDataRecordThreshold\\": 1,\\n \\"indexSizeThreshold\\": 1,\\n \\"indexLossThreshold\\": 1\\n },\\n \\"tableName\\": \\"table01\\",\\n \\"clusterId\\": \\"1001\\",\\n \\"cron\\": \\"0 0/12 0 * *\\",\\n \\"description\\": \\"训练任务\\",\\n \\"projectName\\": \\"name01\\",\\n \\"algorithmName\\": \\"user\\",\\n \\"cronEnabled\\": true\\n }\\n },\\n \\"requestId\\": \\"936BE457-5D14-4DBD-85AE-176F7BA8D96D\\"\\n}","errorExample":""},{"type":"xml","example":"<algorithmId>abc</algorithmId>\\n<gmtCreate>2018-12-07t02:24:26.000z</gmtCreate>\\n<gmtModified>2018-12-07t02:24:26.000z</gmtModified>\\n<meta>\\n <algorithmName>user</algorithmName>\\n <category>i2i</category>\\n <cron>00***</cron>\\n <extInfo>\\n <itemSeparator>,</itemSeparator>\\n <kvseparator>;</kvseparator>\\n </extInfo>\\n <fields>\\n <dest>triggeritemId</dest>\\n <source>abc</source>\\n </fields>\\n <fields>\\n <dest>targeitemId</dest>\\n <source>def</source>\\n </fields>\\n <fields>\\n <dest>weight</dest>\\n <source>ade</source>\\n </fields>\\n <partition/>\\n <projectName>openrecGray</projectName>\\n <tableName>userFakeAna</tableName>\\n <type>odps</type>\\n</meta>","errorExample":""}]',
+ 'title' => 'DeleteFilteringAlgorithm',
+ 'summary' => 'Deletes the configurations of a specified filtering table and the information about the related index table.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ModifyFilteringAlgorithmMeta' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/meta',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18720',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'Indicates whether the scheduled task is enabled.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'The request ID.'."\n",
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'algorithmId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'taskId',
+ ],
+ 'metaType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'metaType',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'extInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'kvSeparator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => ':',
+ ],
+ 'itemSeparator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => ',',
+ ],
+ ],
+ ],
+ 'category' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1_2',
+ ],
+ 'threshold' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'sourceDataSizeThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'sourceDataRecordThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexSizeThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexLossThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'tableName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_table',
+ ],
+ 'clusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '244',
+ ],
+ 'cron' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '* * 24 7 0',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'projectName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'algorithmName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'cronEnabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"algorithmId\\": \\"abc\\",\\n \\"meta\\": {\\n \\"taskId\\": \\"taskId\\",\\n \\"metaType\\": \\"metaType\\",\\n \\"type\\": \\"ODPS\\",\\n \\"extInfo\\": {\\n \\"kvSeparator\\": \\":\\",\\n \\"itemSeparator\\": \\",\\"\\n },\\n \\"category\\": \\"1_2\\",\\n \\"threshold\\": {\\n \\"sourceDataSizeThreshold\\": 1,\\n \\"sourceDataRecordThreshold\\": 1,\\n \\"indexSizeThreshold\\": 1,\\n \\"indexLossThreshold\\": 1\\n },\\n \\"tableName\\": \\"test_table\\",\\n \\"clusterId\\": \\"244\\",\\n \\"cron\\": \\"* * 24 7 0\\",\\n \\"description\\": \\"test\\",\\n \\"projectName\\": \\"test\\",\\n \\"algorithmName\\": \\"test\\",\\n \\"cronEnabled\\": true\\n }\\n },\\n \\"requestId\\": \\"7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ModifyFilteringAlgorithmMeta',
+ 'summary' => 'Modifies configurations of a filtering table.',
+ 'description' => 'The name of the filtering algorithm.'."\n",
+ ],
+ 'DescribeFilteringAlgorithm' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18682',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The name of the filtering algorithm.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'The additional information.'."\n",
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The delimiter that is used to separate items.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The threshold.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => 'The name of the project.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => 'N/A'."\n",
+ 'type' => 'string',
+ 'example' => 'The threshold for the loss of the index data.'."\n",
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The category of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'algorithmId' => [
+ 'description' => 'The fluctuation threshold for the size of the source table.'."\n",
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'meta' => [
+ 'description' => 'The time when the filtering table was modified.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => 'The CRON expression of the scheduled task.'."\n",
+ 'type' => 'string',
+ 'example' => 'taskId',
+ ],
+ 'metaType' => [
+ 'description' => 'The information about the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'metaType',
+ ],
+ 'type' => [
+ 'description' => 'The metadata of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'extInfo' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'kvSeparator' => [
+ 'description' => 'The fluctuation threshold for the size of the index.'."\n",
+ 'type' => 'string',
+ 'example' => ':',
+ ],
+ 'itemSeparator' => [
+ 'description' => 'The description of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => ',',
+ ],
+ ],
+ ],
+ 'category' => [
+ 'description' => 'Indicates whether the scheduled task is enabled.'."\n",
+ 'type' => 'string',
+ 'example' => '1_2',
+ ],
+ 'threshold' => [
+ 'description' => 'The ID of the filtering table.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'sourceDataSizeThreshold' => [
+ 'description' => 'The name of the filtering table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'sourceDataRecordThreshold' => [
+ 'description' => 'The type of the data source.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexSizeThreshold' => [
+ 'description' => 'Queries specific configuration information about a filtering table based on the ID of the filtering table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexLossThreshold' => [
+ 'description' => 'The ID of the specified instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'tableName' => [
+ 'description' => 'The ID of the specified filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_table',
+ ],
+ 'clusterId' => [
+ 'description' => 'N/A'."\n",
+ 'type' => 'string',
+ 'example' => '244',
+ ],
+ 'cron' => [
+ 'description' => 'The information about the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => '* * 24 7 0',
+ ],
+ 'description' => [
+ 'description' => 'The time when the filtering table was modified.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'projectName' => [
+ 'description' => 'The status of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'algorithmName' => [
+ 'description' => 'The time when the filtering table was created.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'cronEnabled' => [
+ 'description' => 'The ID of the filtering table.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'Y',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The metadata of the filtering table.'."\n",
+ 'type' => 'string',
+ 'example' => '7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"Draft\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"algorithmId\\": \\"abc\\",\\n \\"meta\\": {\\n \\"taskId\\": \\"taskId\\",\\n \\"metaType\\": \\"metaType\\",\\n \\"type\\": \\"ODPS\\",\\n \\"extInfo\\": {\\n \\"kvSeparator\\": \\":\\",\\n \\"itemSeparator\\": \\",\\"\\n },\\n \\"category\\": \\"1_2\\",\\n \\"threshold\\": {\\n \\"sourceDataSizeThreshold\\": 1,\\n \\"sourceDataRecordThreshold\\": 1,\\n \\"indexSizeThreshold\\": 1,\\n \\"indexLossThreshold\\": 1\\n },\\n \\"tableName\\": \\"test_table\\",\\n \\"clusterId\\": \\"244\\",\\n \\"cron\\": \\"* * 24 7 0\\",\\n \\"description\\": \\"test\\",\\n \\"projectName\\": \\"test\\",\\n \\"algorithmName\\": \\"test\\",\\n \\"cronEnabled\\": true\\n }\\n },\\n \\"requestId\\": \\"7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DescribeFilteringAlgorithm',
+ 'summary' => 'Queries the configurations of a filtering table based on the ID of the filtering table.',
+ ],
+ 'ListFilteringAlgorithms' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18703',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'Running',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '123',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'algorithmId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'metaType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps',
+ ],
+ 'extInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'kvSeparator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => ':',
+ ],
+ 'itemSeparator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => ',',
+ ],
+ ],
+ ],
+ 'category' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps',
+ ],
+ 'threshold' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'sourceDataSizeThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'sourceDataRecordThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexSizeThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexLossThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'tableName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'item',
+ ],
+ 'clusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'cron' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0/12 0 * *',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'projectName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'airec123',
+ ],
+ 'algorithmName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'cronEnabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'headers' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'X-Total-Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"Running\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"algorithmId\\": \\"123\\",\\n \\"meta\\": {\\n \\"taskId\\": \\"123\\",\\n \\"metaType\\": \\"ODPS\\",\\n \\"type\\": \\"odps\\",\\n \\"extInfo\\": {\\n \\"kvSeparator\\": \\":\\",\\n \\"itemSeparator\\": \\",\\"\\n },\\n \\"category\\": \\"odps\\",\\n \\"threshold\\": {\\n \\"sourceDataSizeThreshold\\": 1,\\n \\"sourceDataRecordThreshold\\": 1,\\n \\"indexSizeThreshold\\": 1,\\n \\"indexLossThreshold\\": 1\\n },\\n \\"tableName\\": \\"item\\",\\n \\"clusterId\\": \\"123\\",\\n \\"cron\\": \\"0 0/12 0 * *\\",\\n \\"description\\": \\"test\\",\\n \\"projectName\\": \\"airec123\\",\\n \\"algorithmName\\": \\"test\\",\\n \\"cronEnabled\\": true\\n }\\n }\\n ],\\n \\"headers\\": {\\n \\"X-Total-Count\\": 12\\n },\\n \\"requestId\\": \\"7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3\\"\\n}","errorExample":""},{"type":"xml","example":"<headers>\\n <x-total-count>12</x-total-count>\\n</headers>\\n<requestId>7585c2b2-0d61-4c96-ac5d-b960bfedd4a3</requestId>\\n<result>\\n <algorithmId>abc</algorithmId>\\n <gmtCreate>2018-12-07t02:24:26.000z</gmtCreate>\\n <gmtModified>2018-12-07t02:24:26.000z</gmtModified>\\n <meta>\\n <algorithmName>user</algorithmName>\\n <category>i2i</category>\\n <cron>00***</cron>\\n <extInfo>\\n <itemSeparator>,</itemSeparator>\\n <kvseparator>;</kvseparator>\\n </extInfo>\\n <fields>\\n <dest>triggeritemId</dest>\\n <source>abc</source>\\n </fields>\\n <fields>\\n <dest>targeitemId</dest>\\n <source>def</source>\\n </fields>\\n <fields>\\n <dest>weight</dest>\\n <source>ade</source>\\n </fields>\\n <partition/>\\n <projectName>openrecGray</projectName>\\n <tableName>userFakeAna</tableName>\\n <type>odps</type>\\n </meta>\\n <status>running</status>\\n</result>","errorExample":""}]',
+ 'title' => 'ListFilteringAlgorithms',
+ 'summary' => 'Queries the information about all filtering tables.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'OfflineFilteringAlgorithm' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/actions/offline',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18726',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Init',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'algorithmId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'taskId',
+ ],
+ 'metaType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'metaType',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'extInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'kvSeparator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => ':',
+ ],
+ 'itemSeparator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => ',',
+ ],
+ ],
+ ],
+ 'category' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1_2',
+ ],
+ 'threshold' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'sourceDataSizeThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'sourceDataRecordThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexSizeThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'indexLossThreshold' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'tableName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_table',
+ ],
+ 'clusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '244',
+ ],
+ 'cron' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '* * 24 7 0',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'projectName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'algorithmName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'cronEnabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"Init\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"algorithmId\\": \\"abc\\",\\n \\"meta\\": {\\n \\"taskId\\": \\"taskId\\",\\n \\"metaType\\": \\"metaType\\",\\n \\"type\\": \\"ODPS\\",\\n \\"extInfo\\": {\\n \\"kvSeparator\\": \\":\\",\\n \\"itemSeparator\\": \\",\\"\\n },\\n \\"category\\": \\"1_2\\",\\n \\"threshold\\": {\\n \\"sourceDataSizeThreshold\\": 1,\\n \\"sourceDataRecordThreshold\\": 1,\\n \\"indexSizeThreshold\\": 1,\\n \\"indexLossThreshold\\": 1\\n },\\n \\"tableName\\": \\"test_table\\",\\n \\"clusterId\\": \\"244\\",\\n \\"cron\\": \\"* * 24 7 0\\",\\n \\"description\\": \\"test\\",\\n \\"projectName\\": \\"test\\",\\n \\"algorithmName\\": \\"test\\",\\n \\"cronEnabled\\": true\\n }\\n },\\n \\"requestId\\": \\"7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'OfflineFilteringAlgorithm',
+ 'summary' => 'Unpublishes a filtering table.',
+ ],
+ 'CreateRankingSystem' => [
+ 'summary' => 'Creates a ranking service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117162',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'result' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/RankingSystem',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\",\\n \\"ClusterId\\": \\"cn-shanghai\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"ModelVersionName\\": \\"模型A_T1638964800000\\",\\n \\"FailMsg\\": \\"\\"\\n },\\n \\"ApplyStatus\\": \\"NOT_APPLIED\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"SceneIdList\\": [\\n 0\\n ],\\n \\"Name\\": \\"servicea\\",\\n \\"ModelTemplateId\\": \\"a-a-a\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>\\n<result>\\n <name>service-a</name>\\n <deployStatus>NOT_DEPLOYED</deployStatus>\\n <applyStatus>NOT_APPLIED</applyStatus>\\n <modelTemplateId>123465</modelTemplateId>\\n <modelTemplateName>排序模型A</modelTemplateName>\\n <sceneIdList>1</sceneIdList>\\n <sceneIdList>2</sceneIdList>\\n <sceneIdList>3</sceneIdList>\\n <meta>\\n <autoDeploy>true</autoDeploy>\\n <autoDeployAuc>0.9</autoDeployAuc>\\n <conf/>\\n <predictEngineType>EAS</predictEngineType>\\n <predictEngine>\\n <clusterId>cn-shanghai</clusterId>\\n <resourceId>eas-oljkkdrggxhx7eizjd</resourceId>\\n <version>v1</version>\\n </predictEngine>\\n </meta>\\n</result>","errorExample":""}]',
+ 'title' => 'CreateRankingSystem',
+ ],
+ 'DeleteRankingSystem' => [
+ 'summary' => 'Deletes a ranking service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '117181',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ 'title' => '排序服务名称',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/RankingSystem',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\",\\n \\"ClusterId\\": \\"cn-shanghai\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"ModelVersionName\\": \\"模型A_T1638964800000\\",\\n \\"FailMsg\\": \\"\\"\\n },\\n \\"ApplyStatus\\": \\"NOT_APPLIED\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"SceneIdList\\": [\\n 0\\n ],\\n \\"Name\\": \\"servicea\\",\\n \\"ModelTemplateId\\": \\"a-a-a\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'DeleteRankingSystem',
+ ],
+ 'ModifyRankingSystem' => [
+ 'summary' => 'Modifies a ranking service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117165',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务',
+ 'description' => 'The name of the ranking service.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '"service-a',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The configurations that you want to modify.'."\n",
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The schema of response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => 'The ranking service that was modified.'."\n",
+ '$ref' => '#/components/schemas/RankingSystem',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\",\\n \\"ClusterId\\": \\"cn-shanghai\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"ModelVersionName\\": \\"模型A_T1638964800000\\",\\n \\"FailMsg\\": \\"\\"\\n },\\n \\"ApplyStatus\\": \\"NOT_APPLIED\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"SceneIdList\\": [\\n 0\\n ],\\n \\"Name\\": \\"servicea\\",\\n \\"ModelTemplateId\\": \\"a-a-a\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ModifyRankingSystem',
+ ],
+ 'GetRankingSystem' => [
+ 'summary' => 'Queries the information of a ranking service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117168',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test-service',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'result' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/RankingSystem',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\",\\n \\"ClusterId\\": \\"cn-shanghai\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"ModelVersionName\\": \\"模型A_T1638964800000\\",\\n \\"FailMsg\\": \\"\\"\\n },\\n \\"ApplyStatus\\": \\"NOT_APPLIED\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"SceneIdList\\": [\\n 0\\n ],\\n \\"Name\\": \\"servicea\\",\\n \\"ModelTemplateId\\": \\"a-a-a\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>\\n<result>\\n <name>service-a</name>\\n <deployStatus>DEPLOY_SUCCESS</deployStatus>\\n <applyStatus>NOT_APPLIED</applyStatus>\\n <modelTemplateName>排序模型A</modelTemplateName>\\n <modelTemplateId>123455</modelTemplateId>\\n <sceneIdList>1</sceneIdList>\\n <sceneIdList>2</sceneIdList>\\n <sceneIdList>3</sceneIdList>\\n <meta>\\n <autoDeploy>true</autoDeploy>\\n <autoDeployAuc>0.9</autoDeployAuc>\\n <conf>{\\n\\t\\"fg_threads\\": 4,\\n \\"fg_mode\\":\\"normal\\",\\n\\t\\"inter_op_parallelism_threads\\": 4,\\n\\t\\"intra_op_parallelism_threads\\": 4,\\n\\t\\"remote_type\\": \\"hologres\\",\\n\\t\\"url\\": \\"postgres://user:password@addr:port/db_name\\",\\n\\t\\"period\\": 2880,\\n\\t\\"timeout\\": 600,\\n\\t\\"tables\\": [{\\n\\t\\t\\"name\\": \\"table1\\",\\n\\t\\t\\"key\\": \\"svid\\",\\n\\t\\t\\"value\\": \\"feat1,feat2,feat3,feat4 as alt_feat4\\",\\n\\t\\t\\"timekey\\": \\"update_time\\",\\n\\t\\t\\"condition\\": \\"feat1 &lt; 50\\"\\n\\t}, {\\n\\t\\t\\"name\\": \\"table2\\",\\n\\t\\t\\"key\\": \\"svid\\",\\n\\t\\t\\"value\\": \\"feat5,feat6,feat7,feat8\\",\\n\\t\\t\\"timekey\\": \\"update_time\\"\\n\\t}]\\n}</conf>\\n <predictEngineType>EAS</predictEngineType>\\n <predictEngine>\\n <clusterId>cn-shanghai</clusterId>\\n <resourceId>eas-oljkkdrggxhx7eizjd</resourceId>\\n <version>v1</version>\\n </predictEngine>\\n </meta>\\n</result>","errorExample":""}]',
+ 'title' => 'GetRankingSystem',
+ ],
+ 'GetRankingSystemHistory' => [
+ 'summary' => 'Queries an operation record for a ranking service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}/histories/{operateId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117155',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'service-a',
+ ],
+ ],
+ [
+ 'name' => 'operateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '操作记录id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'u-s-a',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/RankingSystemHistory',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"ModelTemplateName\\": \\"排序模型A\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"PreviousOperateId\\": \\"aaaa\\"\\n },\\n \\"OperateTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OperateId\\": \\"8AC865AF-37D6-42ED-AA9A-B60D8ECDF640\\",\\n \\"OperateType\\": \\"CONF_CHANGE\\",\\n \\"Name\\": \\"servicea\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'GetRankingSystemHistory',
+ ],
+ 'ListRankingSystems' => [
+ 'summary' => 'Queries a list of ranking services.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117169',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'Queries the list of ranking services.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'service-a',
+ ],
+ ],
+ [
+ 'name' => 'deployStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '查询部署状态',
+ 'description' => 'The name of the ranking service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'NOT_DEPLOYED',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,页码',
+ 'description' => 'The state of the deployment. Valid values: NOT_DEPLOYED: The ranking service is not deployed. DEPLOY_SUCCESS: The ranking service is deployed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,大小',
+ 'description' => 'The number of the page to return.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The schema of the response parameters.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The returned result.'."\n",
+ '$ref' => '#/components/schemas/RankingSystem',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": [\\n {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\",\\n \\"ClusterId\\": \\"cn-shanghai\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"ModelVersionName\\": \\"模型A_T1638964800000\\",\\n \\"FailMsg\\": \\"\\"\\n },\\n \\"ApplyStatus\\": \\"NOT_APPLIED\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"SceneIdList\\": [\\n 0\\n ],\\n \\"Name\\": \\"servicea\\",\\n \\"ModelTemplateId\\": \\"a-a-a\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListRankingSystems',
+ ],
+ 'ListRankingSystemHistories' => [
+ 'summary' => 'Queries operation records for a ranking service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}/histories',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117159',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The name of the ranking service.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => 'The type of the operation. Valid values: CONF_CHANGE: configuration changes. DEPLOY_CHANGE: changes in deployment methods.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'service-a',
+ ],
+ ],
+ [
+ 'name' => 'operateType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '操作类型',
+ 'description' => 'The number of the page to return.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CONF_CHANGE',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,页码',
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,大小',
+ 'description' => 'The schema of the response parameters.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => 'The response body.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '__null__',
+ '$ref' => '#/components/schemas/RankingSystemHistory',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": [\\n {\\n \\"Meta\\": {\\n \\"AutoDeploy\\": true,\\n \\"AutoDeployAuc\\": \\"0.3\\",\\n \\"Conf\\": \\"\\",\\n \\"ModelTemplateName\\": \\"排序模型A\\",\\n \\"PredictEngine\\": {\\n \\"ResourceId\\": \\"eas-oljkkdrggxhx7eizjd\\",\\n \\"Version\\": \\"1\\"\\n },\\n \\"PredictEngineType\\": \\"EAS\\",\\n \\"PreviousOperateId\\": \\"aaaa\\"\\n },\\n \\"OperateTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OperateId\\": \\"8AC865AF-37D6-42ED-AA9A-B60D8ECDF640\\",\\n \\"OperateType\\": \\"CONF_CHANGE\\",\\n \\"Name\\": \\"servicea\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListRankingSystemHistories',
+ ],
+ 'DeployRankingSystem' => [
+ 'summary' => 'Deploys or redeploys a ranking service. For a ranking service that has been deployed, you need to redeploy the service if you modify the configurations of the service.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}/actions/deploy',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117176',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The name of the ranking service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => 'The configuration that you want to modify.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The schema of the response parameters.'."\n",
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => ' "meta": {'."\n"
+ .' "autoDeploy": true,'."\n"
+ .' "autoDeployAuc": "0.9",'."\n"
+ .' "conf":"",'."\n"
+ .' "predictEngineType": "EAS",'."\n"
+ .' "predictEngine":{'."\n"
+ .' "resourceId": "eas-oljkkdrggxhx7eizjd"'."\n"
+ .' }'."\n"
+ .' }',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => '__null__',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<code>InternalServerError</code>\\n<message>An internal server error occurred.</message>\\n<requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>","errorExample":""}]',
+ 'title' => 'DeployRankingSystem',
+ ],
+ 'VerifyRankingSystem' => [
+ 'summary' => '调试排序服务。',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}/actions/verify',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '117171',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'service-a',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "userFeatures": "a:c,d:b",'."\n"
+ .' "itemFeatures": "a:1,b:2"'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": \\"test\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'VerifyRankingSystem',
+ ],
+ 'RollbackRankingSystem' => [
+ 'summary' => '回滚某个排序服务',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-systems/{name}/actions/rollback',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '117180',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序服务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'service-a',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "operateId": "a-b-c"'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'RollbackRankingSystem',
+ ],
+ 'CreateRankingModelTemplate' => [
+ 'summary' => '创建排序模型模板配置',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-templates',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117139',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'result' => [
+ 'title' => '排序模型模板信息',
+ 'description' => '',
+ '$ref' => '#/components/schemas/RankingModelTemplate',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"Status\\": \\"TRAINING_SUCCESS\\",\\n \\"Meta\\": {\\n \\"Authorized\\": true,\\n \\"AutoRun\\": true,\\n \\"AutoRunTime\\": 1,\\n \\"AutoRunType\\": \\"DAY\\",\\n \\"Conf\\": \\"train_config {}\\",\\n \\"LastEditTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OssArn\\": \\"acs:ram::111:role/aliyunodpspaidefaultrole\\",\\n \\"OssBucket\\": \\"bucket-a\\",\\n \\"OssEndpoint\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"SampleId\\": \\"1111\\",\\n \\"SampleName\\": \\"样本1\\",\\n \\"SampleTimeWindow\\": 3,\\n \\"SampleTimeWindowType\\": \\"DAY\\",\\n \\"Type\\": \\"MULTI_TOWER\\",\\n \\"Name\\": \\"模型A\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"CanDeploy\\": true\\n },\\n \\"VersionNum\\": 3,\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateRankingModelTemplate',
+ ],
+ 'DeleteRankingModelTemplate' => [
+ 'summary' => 'Deletes a ranking model.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-templates/{templateId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '117145',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'templateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序模型模板ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a-a-a',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/RankingModelTemplate',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"Status\\": \\"TRAINING_SUCCESS\\",\\n \\"Meta\\": {\\n \\"Authorized\\": true,\\n \\"AutoRun\\": true,\\n \\"AutoRunTime\\": 1,\\n \\"AutoRunType\\": \\"DAY\\",\\n \\"Conf\\": \\"train_config {}\\",\\n \\"LastEditTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OssArn\\": \\"acs:ram::111:role/aliyunodpspaidefaultrole\\",\\n \\"OssBucket\\": \\"bucket-a\\",\\n \\"OssEndpoint\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"SampleId\\": \\"1111\\",\\n \\"SampleName\\": \\"样本1\\",\\n \\"SampleTimeWindow\\": 3,\\n \\"SampleTimeWindowType\\": \\"DAY\\",\\n \\"Type\\": \\"MULTI_TOWER\\",\\n \\"Name\\": \\"模型A\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"CanDeploy\\": true\\n },\\n \\"VersionNum\\": 3,\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DeleteRankingModelTemplate',
+ ],
+ 'ModifyRankingModelTemplate' => [
+ 'summary' => 'Modifies a ranking model.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-templates/{templateId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117144',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'templateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '排序模型模板ID',
+ 'description' => 'The ID of the ranking model.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'a-a-a',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The request body.'."\n",
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The schema of the response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'description' => 'The information about the ranking model.'."\n",
+ '$ref' => '#/components/schemas/RankingModelTemplate',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"Status\\": \\"TRAINING_SUCCESS\\",\\n \\"Meta\\": {\\n \\"Authorized\\": true,\\n \\"AutoRun\\": true,\\n \\"AutoRunTime\\": 1,\\n \\"AutoRunType\\": \\"DAY\\",\\n \\"Conf\\": \\"train_config {}\\",\\n \\"LastEditTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OssArn\\": \\"acs:ram::111:role/aliyunodpspaidefaultrole\\",\\n \\"OssBucket\\": \\"bucket-a\\",\\n \\"OssEndpoint\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"SampleId\\": \\"1111\\",\\n \\"SampleName\\": \\"样本1\\",\\n \\"SampleTimeWindow\\": 3,\\n \\"SampleTimeWindowType\\": \\"DAY\\",\\n \\"Type\\": \\"MULTI_TOWER\\",\\n \\"Name\\": \\"模型A\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"CanDeploy\\": true\\n },\\n \\"VersionNum\\": 3,\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ModifyRankingModelTemplate',
+ ],
+ 'GetRankingModelTemplate' => [
+ 'summary' => 'Queries the configuration details of a ranking model.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-templates/{templateId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117142',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'templateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ 'title' => '模型模板ID',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/RankingModelTemplate',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"Status\\": \\"TRAINING_SUCCESS\\",\\n \\"Meta\\": {\\n \\"Authorized\\": true,\\n \\"AutoRun\\": true,\\n \\"AutoRunTime\\": 1,\\n \\"AutoRunType\\": \\"DAY\\",\\n \\"Conf\\": \\"train_config {}\\",\\n \\"LastEditTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OssArn\\": \\"acs:ram::111:role/aliyunodpspaidefaultrole\\",\\n \\"OssBucket\\": \\"bucket-a\\",\\n \\"OssEndpoint\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"SampleId\\": \\"1111\\",\\n \\"SampleName\\": \\"样本1\\",\\n \\"SampleTimeWindow\\": 3,\\n \\"SampleTimeWindowType\\": \\"DAY\\",\\n \\"Type\\": \\"MULTI_TOWER\\",\\n \\"Name\\": \\"模型A\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"CanDeploy\\": true\\n },\\n \\"VersionNum\\": 3,\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>\\n<result>\\n <templateId>a-a-a</templateId>\\n <status>TRAINING_READY</status>\\n <versionNum>3</versionNum>\\n <meta>\\n <name>模型a</name>\\n <metaType>RankingModelTemplate</metaType>\\n <lastEditTime>2021-12-06T03:01:41.217Z</lastEditTime>\\n <type>MULTI_TOWER</type>\\n <conf>train_config {\\n batch_size: 1024\\n log_step_count_steps: 100\\n optimizer_config: {\\n adam_optimizer: {\\n learning_rate: {\\n exponential_decay_learning_rate {\\n initial_learning_rate: 0.001\\n decay_steps: 1000\\n decay_factor: 0.5\\n min_learning_rate: 0.00001\\n }\\n }\\n }\\n use_moving_average: false\\n }\\n save_checkpoints_steps: 100\\n sync_replicas: True\\n num_steps: 2500\\n}\\n\\nmodel_config {\\n model_class: \\"MultiTower\\"\\n feature_groups {\\n group_name: \\"item\\"\\n feature_names: \\"adgroup_id\\"\\n feature_names: \\"cate_id\\"\\n feature_names: \\"campaign_id\\"\\n feature_names: \\"customer\\"\\n feature_names: \\"brand\\"\\n feature_names: \\"price\\"\\n feature_names: \\"pid\\"\\n wide_deep: DEEP\\n }\\n feature_groups {\\n group_name: \\"user\\"\\n feature_names: \\"user_id\\"\\n feature_names: \\"cms_segid\\"\\n feature_names: \\"cms_group_id\\"\\n feature_names: \\"age_level\\"\\n feature_names: \\"pvalue_level\\"\\n feature_names: \\"shopping_level\\"\\n feature_names: \\"occupation\\"\\n feature_names: \\"new_user_class_level\\"\\n feature_names: \\"user_tag_cate\\"\\n wide_deep: DEEP\\n }\\n feature_groups {\\n group_name: \\"combo\\"\\n feature_names: \\"combo__user_id_occupation\\"\\n feature_names: \\"combo__age_level_customer\\"\\n feature_names: \\"combo__pvalue_level_brand\\"\\n wide_deep: DEEP\\n }\\n embedding_regularization: 1e-05\\n multi_tower {\\n towers {\\n input: \\"item\\"\\n dnn {\\n hidden_units: 192\\n hidden_units: 256\\n hidden_units: 192\\n hidden_units: 128\\n }\\n }\\n towers {\\n input: \\"user\\"\\n dnn {\\n hidden_units: 192\\n hidden_units: 256\\n hidden_units: 192\\n hidden_units: 128\\n }\\n }\\n towers {\\n input: \\"combo\\"\\n dnn {\\n hidden_units: 192\\n hidden_units: 256\\n hidden_units: 192\\n hidden_units: 128\\n }\\n }\\n final_dnn {\\n hidden_units: 256\\n hidden_units: 192\\n hidden_units: 128\\n hidden_units: 64\\n }\\n l2_regularization: 0.0001\\n }\\n}</conf>\\n <sampleId>123</sampleId>\\n <sampleName>样本1</sampleName>\\n <sampleTimeWindow>30</sampleTimeWindow>\\n <sampleTimeWindowType>HOUR</sampleTimeWindowType>\\n <authorized>true</authorized>\\n <ossBucket>keluo</ossBucket>\\n <ossEndpoint>oss-cn-beijing.aliyuncs.com</ossEndpoint>\\n <ossArn>acs:ram::111:role/aliyunodpspaidefaultrole</ossArn>\\n <autoRun>true</autoRun>\\n <autoRunTime>3</autoRunTime>\\n <autoRunType>HOUR</autoRunType>\\n <deployStatus>NOT_DEPLOYED</deployStatus>\\n <canDeploy>true</canDeploy>\\n </meta>\\n</result>","errorExample":""}]',
+ 'title' => 'GetRankingModelTemplate',
+ ],
+ 'RunRankingModelTemplate' => [
+ 'summary' => 'Runs a ranking model.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-templates/{templateId}/actions/run',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117149',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'templateId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '模型模板ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>","errorExample":""}]',
+ 'title' => 'RunRankingModelTemplate',
+ ],
+ 'CreateRankingModel' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-models',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '18667',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'rankingModelId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ranktest',
+ ],
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'map',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"rankingModelId\\": \\"testRankingId\\",\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"meta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'CreateRankingModel',
+ 'summary' => 'Creates a ranking model.',
+ ],
+ 'DeleteRankingModel' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-models/{rankingModelId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '18674',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'rankingModelId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'rankingModelId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'meta' => [
+ 'description' => 'meta',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D486768B-8BF8-4D80-B491-43DC3D0AF8AB',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"rankingModelId\\": \\"testRankingId\\",\\n \\"meta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"D486768B-8BF8-4D80-B491-43DC3D0AF8AB\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteRankingModel',
+ 'summary' => 'Deletes a ranking model.',
+ ],
+ 'DeleteRankingModelVersion' => [
+ 'summary' => 'Deletes a version of a ranking model.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-versions/{versionId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '119230',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DeleteRankingModelVersion',
+ ],
+ 'ModifyRankingModel' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-models/{rankingModelId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18723',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The time when the ranking model was modified.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'rankingModelId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The time when the ranking model was created.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test1234',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The data source of the filtering table. Only MaxCompute tables are supported.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'rankingModelId' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'test1234',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'meta' => [
+ 'description' => '__null__',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"rankingModelId\\": \\"test1234\\",\\n \\"gmtModified\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"gmtCreate\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"meta\\": {}\\n },\\n \\"code\\": \\"1\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ModifyRankingModel',
+ 'summary' => 'Modifies the information about a ranking model.',
+ ],
+ 'ListRankingModels' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-models',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18710',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test001',
+ ],
+ ],
+ [
+ 'name' => 'rankingModelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'rankingModelId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-11-11T09:47:43.000Z',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2D898E45-B97A-4245-B590-6D0AFEAF626B',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"rankingModelId\\": \\"123\\",\\n \\"gmtModified\\": \\"2020-11-11T09:47:43.000Z\\",\\n \\"gmtCreate\\": \\"2020-04-27T06:38:28.000Z\\",\\n \\"meta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"2D898E45-B97A-4245-B590-6D0AFEAF626B\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ListRankingModels',
+ 'summary' => 'Queries a list of ranking models.',
+ ],
+ 'ListRankingModelTemplates' => [
+ 'summary' => 'Queries the templates of a ranking model. The returned templates are sorted in reverse chronological order based on the time when the templates were created.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-templates',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117146',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ 'title' => '分页,页码',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ 'title' => '分页,大小',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/RankingModelTemplate',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"F1C976E0-FCD2-52E8-9244-179C9C095C29\\",\\n \\"result\\": [\\n {\\n \\"Status\\": \\"TRAINING_SUCCESS\\",\\n \\"Meta\\": {\\n \\"Authorized\\": true,\\n \\"AutoRun\\": true,\\n \\"AutoRunTime\\": 1,\\n \\"AutoRunType\\": \\"DAY\\",\\n \\"Conf\\": \\"train_config {}\\",\\n \\"LastEditTime\\": \\"2021-12-06T03:01:41.217Z\\",\\n \\"OssArn\\": \\"acs:ram::111:role/aliyunodpspaidefaultrole\\",\\n \\"OssBucket\\": \\"bucket-a\\",\\n \\"OssEndpoint\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"SampleId\\": \\"1111\\",\\n \\"SampleName\\": \\"样本1\\",\\n \\"SampleTimeWindow\\": 3,\\n \\"SampleTimeWindowType\\": \\"DAY\\",\\n \\"Type\\": \\"MULTI_TOWER\\",\\n \\"Name\\": \\"模型A\\",\\n \\"DeployStatus\\": \\"NOT_DEPLOYED\\",\\n \\"CanDeploy\\": true\\n },\\n \\"VersionNum\\": 3,\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListRankingModelTemplates',
+ ],
+ 'GetRankingModelVersion' => [
+ 'summary' => 'Queries the details of a ranking model version. Evaluation results and training results are included in the details.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-versions/{versionId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117152',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '模型版本ID',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/RankingModelVersion',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"90EF57C6-CC92-55D0-BA35-892DF9337EAB\\",\\n \\"result\\": {\\n \\"Status\\": \\"TRAINING\\",\\n \\"RunTime\\": \\"2021-12-08T20:00:00.0Z\\",\\n \\"RunLog\\": \\"\\",\\n \\"TemplateName\\": \\"模型A\\",\\n \\"RunResult\\": {\\n \\"AssessAuc\\": \\"0.3\\",\\n \\"AssessGauc\\": \\"0.3\\",\\n \\"AssessLoss\\": \\"0.3\\",\\n \\"TrainAuc\\": \\"0.3\\",\\n \\"TrainGauc\\": \\"0.3\\",\\n \\"TrainLoss\\": \\"0.3\\"\\n },\\n \\"Name\\": \\"模型A_t1638964800000\\",\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetRankingModelVersion',
+ ],
+ 'ListRankingModelVersions' => [
+ 'summary' => 'Queries a list of versions for a ranking model.',
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-model-versions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117151',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'templateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '模型模板ID',
+ 'description' => 'The ranking model ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'a-a-a',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,页码',
+ 'description' => 'The number of the page to return.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,大小',
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '版本状态',
+ 'description' => 'The state of the version. Valid values: DRAFT: The version is in the draft state. EFFECTIVE: The version is effective. PUBLISHING: The version is being published. INEFFECTIVE: The version has expired. FAILED: The version has not taken effect.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TRAINING',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response schema.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'result' => [
+ 'title' => 'map',
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The version of the ranking model.'."\n",
+ '$ref' => '#/components/schemas/RankingModelVersion',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"result\\": [\\n {\\n \\"Status\\": \\"TRAINING\\",\\n \\"RunTime\\": \\"2021-12-08T20:00:00.0Z\\",\\n \\"RunLog\\": \\"\\",\\n \\"TemplateName\\": \\"模型A\\",\\n \\"RunResult\\": {\\n \\"AssessAuc\\": \\"0.3\\",\\n \\"AssessGauc\\": \\"0.3\\",\\n \\"AssessLoss\\": \\"0.3\\",\\n \\"TrainAuc\\": \\"0.3\\",\\n \\"TrainGauc\\": \\"0.3\\",\\n \\"TrainLoss\\": \\"0.3\\"\\n },\\n \\"Name\\": \\"模型A_t1638964800000\\",\\n \\"TemplateId\\": \\"a-a-a\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListRankingModelVersions',
+ ],
+ 'DecribeRankingModel' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-models/{rankingModelId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18670',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'rankingModelId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the ranking model.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ranktest',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'rankingModelId' => [
+ 'description' => 'The ID of the ranking model.'."\n",
+ 'type' => 'string',
+ 'example' => 'ranktest',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the ranking model was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the ranking model was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'meta' => [
+ 'description' => 'The metadata.'."\n",
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"rankingModelId\\": \\"testRankingId\\",\\n \\"gmtModified\\": \\"2020-04-27T06:38:28.000Z\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"meta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"message\\": \\"successful\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DecribeRankingModel',
+ 'summary' => 'Queries the information of a ranking model.',
+ ],
+ 'CheckRankingModelReachable' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/ranking-models/{rankingModelId}/actions/check-connectivity',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '18663',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-7e22x6f75001',
+ ],
+ ],
+ [
+ 'name' => 'rankingModelId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the ranking model.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'rankingModelId',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<CheckRankingModelReachableResponse>\\n <result>true</result>\\n <requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>\\n</CheckRankingModelReachableResponse>","errorExample":""}]',
+ 'title' => 'CheckRankingModelReachable',
+ 'summary' => 'Checks the network connectivity of a ranking model.',
+ ],
+ 'CreateRule' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rules',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '18668',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'string',
+ 'example' => '98493A14-D619-4E88-9F8D-108939817F9F',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the rule was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ 'status' => [
+ 'description' => 'Indicates whether the rule is enabled. Valid values: true and false.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the rule was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"ruleId\\": \\"98493A14-D619-4E88-9F8D-108939817F9F\\",\\n \\"gmtModified\\": \\"2020-04-27T06:38:28.000Z\\",\\n \\"status\\": \\"EFFECTIVE\\",\\n \\"gmtCreate\\": \\"2020-04-27T06:38:28.000Z\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<0>\\n <Result>\\n <Status>DRAFT</Status>\\n <GmtCreate>2020-04-27T06:38:28.000Z</GmtCreate>\\n <GmtModified>2020-04-27T06:38:28.000Z</GmtModified>\\n <RuleId>98493A14-D619-4E88-9F8D-108939817F9F</RuleId>\\n <RuleMeta>\\n <RuleMetaType>SELECTION</RuleMetaType>\\n <SceneId>123</SceneId>\\n <PubState>PUBLISHING</PubState>\\n <SelectionParams>\\n <SelectType>QUERY_ITEM_TYPE</SelectType>\\n <SelectionOperation>OPERATOR_EQUAL</SelectionOperation>\\n <SelectValue>atrical,image</SelectValue>\\n </SelectionParams>\\n </RuleMeta>\\n </Result>\\n <RequestId>76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF</RequestId>\\n</0>\\n<1>\\n <Result>\\n <Status>DRAFT</Status>\\n <GmtCreate>2020-04-27T03:17:21.000Z</GmtCreate>\\n <GmtModified>2020-04-27T03:17:21.000Z</GmtModified>\\n <RuleId>123456789001122</RuleId>\\n <RuleMeta>\\n <RuleMetaType>OPERATION</RuleMetaType>\\n <SceneId>123</SceneId>\\n <PubState>PUBLISHING</PubState>\\n <OperationParams>\\n <OperationType>MIX</OperationType>\\n <Settings>\\n <Name>image</Name>\\n <Value>10</Value>\\n </Settings>\\n </OperationParams>\\n <OperationParams>\\n <OperationType>DIVERSIFY</OperationType>\\n <CategoryIndex>1</CategoryIndex>\\n <Window>2</Window>\\n <Status>true</Status>\\n <DiversifyType>TYPE_SHOP</DiversifyType>\\n </OperationParams>\\n <OperationParams>\\n <OperationType>EXPOSURE</OperationType>\\n <ExposureSettings>\\n <DurationSeconds>12340</DurationSeconds>\\n <Status>true</Status>\\n <ExposureType>TYPE_EXPOSE</ExposureType>\\n <ScenarioBased>true</ScenarioBased>\\n </ExposureSettings>\\n <ExposureSettings>\\n <DurationSeconds>12340000</DurationSeconds>\\n <Status>true</Status>\\n <ExposureType>TYPE_CLICK</ExposureType>\\n <ScenarioBased>true</ScenarioBased>\\n </ExposureSettings>\\n </OperationParams>\\n </RuleMeta>\\n </Result>\\n <RequestId>76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF</RequestId>\\n</1>","errorExample":""}]',
+ 'title' => 'CreateRule',
+ 'summary' => 'Creates a rule.',
+ ],
+ 'ModifyRule' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rules/{ruleId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18724',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => '98493A14-D619-4E88-9F8D-108939817F9F',
+ ],
+ 'ruleMeta' => [
+ 'description' => 'The specific information about the rule.'."\n",
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The time when the rule was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ 'status' => [
+ 'description' => 'Indicates whether the rule is enabled. Valid values: true and false.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the rule was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"ruleId\\": \\"98493A14-D619-4E88-9F8D-108939817F9F\\",\\n \\"ruleMeta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"gmtModified\\": \\"2020-04-27T06:38:28.000Z\\",\\n \\"status\\": \\"EFFECTIVE\\",\\n \\"gmtCreate\\": \\"2020-04-27T06:38:28.000Z\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ModifyRule',
+ 'summary' => 'Modifies a rule.',
+ 'requestParamsDescription' => '```json'."\n"
+ .'// Modify an item selection rule.'."\n"
+ .'{ "type":"SelectionRule",'."\n"
+ .' "ruleMeta":{'."\n"
+ .' "sceneId":"123",'."\n"
+ .' "ruleMetaType":"SELECTION",'."\n"
+ .' "selectionParams":['."\n"
+ .' {'."\n"
+ .' "selectType":"QUERY_ITEM_TYPE",'."\n"
+ .' "selectionOperation":"QUERY_VALUE_IN",'."\n"
+ .' "selectValue":"[\\"atrical\\",\\"image\\"]"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .'}'."\n"
+ .'// Modify an operations rule.'."\n"
+ .'{'."\n"
+ .' "type":"OperationRule",'."\n"
+ .' "ruleMeta":{'."\n"
+ .' "ruleMetaType":"OPERATION",'."\n"
+ .' "sceneId":"123",'."\n"
+ .' "operationParams":['."\n"
+ .' {'."\n"
+ .' "operationType":"MIX",'."\n"
+ .' "settings":['."\n"
+ .' {'."\n"
+ .' "name":"image",'."\n"
+ .' "value":10'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "operationType":"DIVERSIFY",'."\n"
+ .' "status":true,'."\n"
+ .' "diversifyType":"TYPE_SHOP",'."\n"
+ .' "categoryIndex":1,'."\n"
+ .' "window":2'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "operationType":"EXPOSURE",'."\n"
+ .' "exposureSettings":['."\n"
+ .' {'."\n"
+ .' "durationSeconds":1234000,'."\n"
+ .' "status":true,'."\n"
+ .' "exposureType":"TYPE_EXPOSE",'."\n"
+ .' "scenarioBased":true'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "durationSeconds":123400,'."\n"
+ .' "status":true,'."\n"
+ .' "exposureType":"TYPE_CLICK",'."\n"
+ .' "scenarioBased":true'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "durationSeconds":3000,'."\n"
+ .' "status":true,'."\n"
+ .' "exposureType":"TYPE_LOOP",'."\n"
+ .' "scenarioBased":false'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .'}'."\n"
+ .'```'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListRules' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rules',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18712',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'ruleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'selection',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EFFECTIVE',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'maximum' => '4102444800',
+ 'minimum' => '1546300800',
+ 'example' => '1567584765',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1567584765',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '98493A14-D619-4E88-9F8D-108939817F9F',
+ ],
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"ruleId\\": \\"98493A14-D619-4E88-9F8D-108939817F9F\\",\\n \\"gmtModified\\": \\"2020-04-27T06:38:28.000Z\\",\\n \\"status\\": \\"draft\\",\\n \\"gmtCreate\\": \\"2020-04-27T06:38:28.000Z\\"\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<0>\\n <Result>\\n <Status>DRAFT</Status>\\n <GmtCreate>2020-04-27T06:38:28.000Z</GmtCreate>\\n <GmtModified>2020-04-27T06:38:28.000Z</GmtModified>\\n <RuleId>98493A14-D619-4E88-9F8D-108939817F9F</RuleId>\\n <RuleMeta>\\n <RuleMetaType>SELECTION</RuleMetaType>\\n <SceneId>123</SceneId>\\n <PubState>PUBLISHING</PubState>\\n <SelectionParams>\\n <SelectType>QUERY_ITEM_TYPE</SelectType>\\n <SelectionOperation>OPERATOR_EQUAL</SelectionOperation>\\n <SelectValue>atrical,image</SelectValue>\\n </SelectionParams>\\n </RuleMeta>\\n </Result>\\n <RequestId>76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF</RequestId>\\n <Headers>\\n <X-Total-Count>19</X-Total-Count>\\n </Headers>\\n</0>\\n<1>\\n <Result>\\n <Status>DRAFT</Status>\\n <GmtCreate>2020-04-27T03:17:21.000Z</GmtCreate>\\n <GmtModified>2020-04-27T03:17:21.000Z</GmtModified>\\n <RuleId>123456789001122</RuleId>\\n <RuleMeta>\\n <RuleMetaType>OPERATION</RuleMetaType>\\n <SceneId>123</SceneId>\\n <PubState>PUBLISHING</PubState>\\n <OperationParams>\\n <OperationType>MIX</OperationType>\\n <Settings>\\n <Name>image</Name>\\n <Value>10</Value>\\n </Settings>\\n </OperationParams>\\n <OperationParams>\\n <OperationType>DIVERSIFY</OperationType>\\n <CategoryIndex>1</CategoryIndex>\\n <Window>2</Window>\\n <Status>true</Status>\\n <DiversifyType>TYPE_SHOP</DiversifyType>\\n </OperationParams>\\n <OperationParams>\\n <OperationType>EXPOSURE</OperationType>\\n <ExposureSettings>\\n <DurationSeconds>1234000</DurationSeconds>\\n <Status>true</Status>\\n <ExposureType>TYPE_EXPOSE</ExposureType>\\n <ScenarioBased>true</ScenarioBased>\\n </ExposureSettings>\\n <ExposureSettings>\\n <DurationSeconds>123400</DurationSeconds>\\n <Status>true</Status>\\n <ExposureType>TYPE_CLICK</ExposureType>\\n <ScenarioBased>true</ScenarioBased>\\n </ExposureSettings>\\n </OperationParams>\\n </RuleMeta>\\n </Result>\\n <RequestId>76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF</RequestId>\\n <Headers>\\n <X-Total-Count>19</X-Total-Count>\\n </Headers>\\n</1>","errorExample":""}]',
+ 'title' => 'ListRules',
+ 'summary' => 'Queries a list of rules.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeRule' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rules/{ruleId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18687',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the rule.'."\n"
+ ."\n"
+ .'Valid values: selection and operation.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'ruleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'selection',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => [
+ 'description' => 'The time when the rule was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '98493A14-D619-4E88-9F8D-108939817F9F',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The state of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The time when the rule was created.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-27T06:38:28.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '__null__',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"ruleId\\": \\"98493A14-D619-4E88-9F8D-108939817F9F\\",\\n \\"gmtModified\\": \\"2020-04-27T06:38:28.000Z\\",\\n \\"status\\": \\"DRAFT\\",\\n \\"gmtCreate\\": \\"2020-04-27T06:38:28.000Z\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<result>\\n <gmtModified/>\\n <ruleId/>\\n <gmtCreate/>\\n <status/>\\n</result>\\n<code/>\\n<requestId/>\\n<message/>","errorExample":""}]',
+ 'title' => 'DescribeRule',
+ 'summary' => 'Queries detailed information about a rule.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'PublishRule' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rules/{ruleId}/actions/publish',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18727',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecG8RBMT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '98493A14-D619-4E88-9F8D-108939817F9F',
+ ],
+ ],
+ [
+ 'name' => 'ruleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the rule. Example: selection and operation.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'selection',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'string',
+ 'example' => '98493A14-D619-4E88-9F8D-108939817F9F',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"ruleId\\": \\"98493A14-D619-4E88-9F8D-108939817F9F\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","type":"json"}]',
+ 'title' => 'PublishRule',
+ 'summary' => 'Publishes a rule.',
+ ],
+ 'CreateScene' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '18669',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'POST openapi/instances/{instanceId}/scenes?dryRun=false',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => [
+ [
+ 'type' => 'json',
+ 'example' => '{'."\r\n"
+ .' "sceneId":"123",'."\r\n"
+ .' "sceneMeta":{'."\r\n"
+ .' "sceneName":"sceneTest",'."\r\n"
+ .' "description":"xxx"'."\r\n"
+ .' }'."\r\n"
+ .'}',
+ 'errorExample' => '',
+ ],
+ [
+ 'type' => 'xml',
+ 'example' => '<sceneId>123</sceneId>'."\n"
+ .'<sceneMeta>'."\n"
+ .' <sceneName>sceneTest</sceneName>'."\n"
+ .' <description>xxx</description>'."\n"
+ .'</sceneMeta>',
+ 'errorExample' => '',
+ ],
+ ],
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneId' => [
+ 'description' => 'Specifies whether to perform a dry run. Valid values: true: performs a dry run. false: performs a dry run and sends the request. Default value: false'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the scene was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The state of the scene. Valid values: DRAFT, PUBLISHING, and FROZEN'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The time when the scene was created.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"sceneId\\": \\"test\\",\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"status\\": \\"DRAFT\\",\\n \\"gmtCreate\\": \\"2020-04-23T06:08:48.000Z\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<sceneId>123</sceneId>\\n<sceneMeta>\\n <sceneName>sceneTest</sceneName>\\n <description>xxx</description>\\n</sceneMeta>","errorExample":""}]',
+ 'title' => 'CreateScene',
+ 'summary' => 'Verifies the information that you specified for creating a scene.',
+ 'description' => 'We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.',
+ ],
+ 'DeleteScene' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '18675',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'DELETE openapi/instances/{instanceId}/scenes/{sceneId}',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => [
+ [
+ 'type' => 'json',
+ 'example' => '{'."\n"
+ .' "RequestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",'."\n"
+ .' "Result": {'."\n"
+ .' "InstanceId": "airec-yunchu-test",'."\n"
+ .' "SceneId": 1234,'."\n"
+ .' "Id": 901,'."\n"
+ .' "Type": "Scene",'."\n"
+ .' "Status": "",'."\n"
+ .' "GmtCreate": 1587435971000,'."\n"
+ .' "GmtModified": 1587435971000,'."\n"
+ .' "SceneMeta": {'."\n"
+ .' "Description": "this is a test scene",'."\n"
+ .' "SceneName": "aaa",'."\n"
+ .' "Metric": {'."\n"
+ .' "Weekly": 123,'."\n"
+ .' "Daily": 12334,'."\n"
+ .' "PvCtr": 123'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .'}',
+ 'errorExample' => '',
+ ],
+ [
+ 'type' => 'xml',
+ 'example' => '<RequestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</RequestId>'."\n"
+ .'<Result>'."\n"
+ .' <InstanceId>airec-yunchu-test</InstanceId>'."\n"
+ .' <SceneId>1234</SceneId>'."\n"
+ .' <Id>901</Id>'."\n"
+ .' <Type>Scene</Type>'."\n"
+ .' <Status/>'."\n"
+ .' <GmtCreate>1587435971000</GmtCreate>'."\n"
+ .' <GmtModified>1587435971000</GmtModified>'."\n"
+ .' <SceneMeta>'."\n"
+ .' <Description>this is a test scene</Description>'."\n"
+ .' <SceneName>aaa</SceneName>'."\n"
+ .' <Metric>'."\n"
+ .' <Weekly>123</Weekly>'."\n"
+ .' <Daily>12334</Daily>'."\n"
+ .' <PvCtr>123</PvCtr>'."\n"
+ .' </Metric>'."\n"
+ .' </SceneMeta>'."\n"
+ .'</Result>',
+ 'errorExample' => '',
+ ],
+ ],
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'testid',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneId' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"sceneId\\": \\"test\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</RequestId>\\n<Result>\\n <InstanceId>airec-yunchu-test</InstanceId>\\n <SceneId>1234</SceneId>\\n <Id>901</Id>\\n <Type>Scene</Type>\\n <Status/>\\n <GmtCreate>1587435971000</GmtCreate>\\n <GmtModified>1587435971000</GmtModified>\\n <SceneMeta>\\n <Description>this is a test scene</Description>\\n <SceneName>aaa</SceneName>\\n <Metric>\\n <Weekly>123</Weekly>\\n <Daily>12334</Daily>\\n <PvCtr>123</PvCtr>\\n </Metric>\\n </SceneMeta>\\n</Result>","errorExample":""}]',
+ 'title' => 'DeleteScene',
+ 'summary' => 'Deletes a scene.',
+ 'description' => 'We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.',
+ ],
+ 'ModifyScene' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18725',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'PUT openapi/instances/{instanceId}/scenes/{sceneId}',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => [
+ [
+ 'type' => 'json',
+ 'example' => '{'."\r\n"
+ .' "Result": {'."\r\n"
+ .' "Status": "RUNNING",'."\r\n"
+ .' "GmtCreate": "2020-04-23T06:08:48.000Z",'."\r\n"
+ .' "GmtModified": "2020-04-23T10:04:24.000Z",'."\r\n"
+ .' "SceneId": "123",'."\r\n"
+ .' "SceneMeta": {'."\r\n"
+ .' "SceneName": "xxx",'."\r\n"
+ .' "Description": "xxx"'."\r\n"
+ .' }'."\r\n"
+ .' },'."\r\n"
+ .' "RequestId": "E6535761-3448-4D6E-A791-477531763F29"'."\r\n"
+ .'}',
+ 'errorExample' => '',
+ ],
+ [
+ 'type' => 'xml',
+ 'example' => '<Result>'."\n"
+ .' <Status>RUNNING</Status>'."\n"
+ .' <GmtCreate>2020-04-23T06:08:48.000Z</GmtCreate>'."\n"
+ .' <GmtModified>2020-04-23T10:04:24.000Z</GmtModified>'."\n"
+ .' <SceneId>123</SceneId>'."\n"
+ .' <SceneMeta>'."\n"
+ .' <SceneName>xxx</SceneName>'."\n"
+ .' <Description>xxx</Description>'."\n"
+ .' </SceneMeta>'."\n"
+ .'</Result>'."\n"
+ .'<RequestId>E6535761-3448-4D6E-A791-477531763F29</RequestId>',
+ 'errorExample' => '',
+ ],
+ ],
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneId' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the scene was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The state of the scene. Valid values: DRAFT: The scene is to be published. PUBLISHING: The scene is being published. FROZEN: The scene is frozen.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The time when the scene was created.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"sceneId\\": \\"test\\",\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"status\\": \\"DRAFT\\",\\n \\"gmtCreate\\": \\"2020-04-23T06:08:48.000Z\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <Status>RUNNING</Status>\\n <GmtCreate>2020-04-23T06:08:48.000Z</GmtCreate>\\n <GmtModified>2020-04-23T10:04:24.000Z</GmtModified>\\n <SceneId>123</SceneId>\\n <SceneMeta>\\n <SceneName>xxx</SceneName>\\n <Description>xxx</Description>\\n </SceneMeta>\\n</Result>\\n<RequestId>E6535761-3448-4D6E-A791-477531763F29</RequestId>","errorExample":""}]',
+ 'title' => 'ModifyScene',
+ 'summary' => 'Modifies the information about a scene.',
+ 'description' => 'We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.',
+ ],
+ 'DescribeScene' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18688',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'GET /openapi/instances/{airec-xxxx}/scenes/{sceneId}',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => [
+ [
+ 'type' => 'json',
+ 'example' => '{'."\n"
+ .' "Result": {'."\n"
+ .' "Status": "DRAFT",'."\n"
+ .' "GmtCreate": "2020-04-23T06:08:48.000Z",'."\n"
+ .' "GmtModified": "2020-04-23T06:08:48.000Z",'."\n"
+ .' "SceneId": 123,'."\n"
+ .' "SceneMeta": {'."\n"
+ .' "SceneName": "sceneTest",'."\n"
+ .' "Description": "xxx",'."\n"
+ .' "Metric": {'."\n"
+ .' "PvCtr": 32,'."\n"
+ .' "Daily": 32,'."\n"
+ .' "Weekly": 32'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' "RequestId": "76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF"'."\n"
+ .'}',
+ 'errorExample' => '',
+ ],
+ [
+ 'type' => 'xml',
+ 'example' => '<Result>'."\n"
+ .' <Status>DRAFT</Status>'."\n"
+ .' <GmtCreate>2020-04-23T06:08:48.000Z</GmtCreate>'."\n"
+ .' <GmtModified>2020-04-23T06:08:48.000Z</GmtModified>'."\n"
+ .' <SceneId>123</SceneId>'."\n"
+ .' <SceneMeta>'."\n"
+ .' <SceneName>sceneTest</SceneName>'."\n"
+ .' <Description>xxx</Description>'."\n"
+ .' <Metric>'."\n"
+ .' <PvCtr>32</PvCtr>'."\n"
+ .' <Daily>32</Daily>'."\n"
+ .' <Weekly>32</Weekly>'."\n"
+ .' </Metric>'."\n"
+ .' </SceneMeta>'."\n"
+ .'</Result>'."\n"
+ .'<RequestId>76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF</RequestId>',
+ 'errorExample' => '',
+ ],
+ ],
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'testid',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneId' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The details about the scene.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'DRAFT',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the scene was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The status of the scene.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The time when the scene was created.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"sceneId\\": \\"test\\",\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"status\\": \\"DRAFT\\",\\n \\"gmtCreate\\": \\"2020-04-23T06:08:48.000Z\\"\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <Status>DRAFT</Status>\\n <GmtCreate>2020-04-23T06:08:48.000Z</GmtCreate>\\n <GmtModified>2020-04-23T06:08:48.000Z</GmtModified>\\n <SceneId>123</SceneId>\\n <SceneMeta>\\n <SceneName>sceneTest</SceneName>\\n <Description>xxx</Description>\\n <Metric>\\n <PvCtr>32</PvCtr>\\n <Daily>32</Daily>\\n <Weekly>32</Weekly>\\n </Metric>\\n </SceneMeta>\\n</Result>\\n<RequestId>76E2C51D-A2D7-4775-9FD8-2AB84B2A0CEF</RequestId>","errorExample":""}]',
+ 'title' => 'DescribeScene',
+ 'summary' => 'Queries the details about a specified scene.',
+ 'description' => 'We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.',
+ ],
+ 'ListScenes' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18716',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'GET /openapi/instances/{airec-xxxx}/scenes',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => [
+ [
+ 'errorExample' => '',
+ 'example' => '{'."\n"
+ .' "Result":['."\n"
+ .' {'."\n"
+ .' "Status":"DRAFT",'."\n"
+ .' "GmtCreate":"2020-04-23T06:08:48.000Z",'."\n"
+ .' "GmtModified":"2020-04-23T06:08:48.000Z",'."\n"
+ .' "SceneId":"123",'."\n"
+ .' "SceneMeta":{'."\n"
+ .' "SceneName":"sceneTest",'."\n"
+ .' "Description":"xxx",'."\n"
+ .' "Metric":{'."\n"
+ .' "PvCtr":"32",'."\n"
+ .' "Daily":"32",'."\n"
+ .' "Weekly":"32"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RequestId":"0D532E4F-899E-4A59-96B8-C7843A286A53"'."\n"
+ .'}',
+ 'type' => 'json',
+ ],
+ [
+ 'errorExample' => '',
+ 'example' => '<Result>'."\n"
+ .' <Status>DRAFT</Status>'."\n"
+ .' <GmtCreate>2020-04-23T06:08:48.000Z</GmtCreate>'."\n"
+ .' <GmtModified>2020-04-23T06:08:48.000Z</GmtModified>'."\n"
+ .' <SceneId>123</SceneId>'."\n"
+ .' <SceneMeta>'."\n"
+ .' <SceneName>sceneTest</SceneName>'."\n"
+ .' <Description>xxx</Description>'."\n"
+ .' <Metric>'."\n"
+ .' <PvCtr>32</PvCtr>'."\n"
+ .' <Daily>32</Daily>'."\n"
+ .' <Weekly>32</Weekly>'."\n"
+ .' </Metric>'."\n"
+ .' </SceneMeta>'."\n"
+ .'</Result>'."\n"
+ .'<RequestId>0D532E4F-899E-4A59-96B8-C7843A286A53</RequestId>',
+ 'type' => 'xml',
+ ],
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether the item can be recommended.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The number of the page to return. Default value: 1.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneId' => [
+ 'description' => 'The number of entries to return on each page. Valid values: 1 to 50. Default value: 10.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'gmtModified' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ 'status' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the scene was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-04-23T06:08:48.000Z',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'Indicates whether the item can be recommended.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The time when the scene was created.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"sceneId\\": \\"test\\",\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"status\\": \\"1\\",\\n \\"gmtCreate\\": \\"2020-04-23T06:08:48.000Z\\"\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <Status>DRAFT</Status>\\n <GmtCreate>2020-04-23T06:08:48.000Z</GmtCreate>\\n <GmtModified>2020-04-23T06:08:48.000Z</GmtModified>\\n <SceneId>123</SceneId>\\n <SceneMeta>\\n <SceneName>sceneTest</SceneName>\\n <Description>xxx</Description>\\n <Metric>\\n <PvCtr>32</PvCtr>\\n <Daily>32</Daily>\\n <Weekly>32</Weekly>\\n </Metric>\\n </SceneMeta>\\n</Result>\\n<RequestId>0D532E4F-899E-4A59-96B8-C7843A286A53</RequestId>","errorExample":""}]',
+ 'title' => 'ListScenes',
+ 'summary' => 'Queries scenes of a specified instance.',
+ 'description' => 'We recommend that you do not call an API operation to manage scenes. Go to the Scenario Building page in the AIRec console to manage scenes.',
+ ],
+ 'CreateCustomSample' => [
+ 'summary' => '创建自定义样本。',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117123',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateCustomSample',
+ ],
+ 'CreateSampleFormatConfig' => [
+ 'summary' => 'Configures sample formatting.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}/format-configs',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117132',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '样本id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'result',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"result\\": {\\n \\"meta\\": {\\n \\"metaType\\": \\"SampleFormatConfig\\",\\n \\"sampleId\\": \\"Sample1\\",\\n \\"config\\": {\\n \\"features\\": [\\n {\\n \\"feature_type\\": \\"id_feature\\",\\n \\"value_type\\": \\"String\\",\\n \\"hash_bucket_size\\": 100000,\\n \\"expression\\": \\"user:user_id\\",\\n \\"feature_name\\": \\"user_id\\",\\n \\"embedding_dim\\": 16,\\n \\"combiner\\": \\"mean\\",\\n \\"group\\": \\"user\\"\\n }\\n ]\\n }\\n },\\n \\"status\\": \\"\\",\\n \\"gmtCreate\\": \\"2021-12-07T08:58:19.000Z\\",\\n \\"gmtModified\\": \\"2021-12-07T08:58:19.000Z\\",\\n \\"sampleFormatConfigId\\": \\"99D369F6-0A73-4247-9E9F-F693A16CD6AC\\"\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateSampleFormatConfig',
+ ],
+ 'DeleteSample' => [
+ 'summary' => '删除样本',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '117130',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '样本id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Sample1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'DeleteSample',
+ ],
+ 'ModifySample' => [
+ 'summary' => 'Modifies the configuration of a sample.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117127',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '样本id',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'ModifySample',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListSamples' => [
+ 'summary' => 'Queries a list of samples.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117124',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '样本id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Sample1',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分页,大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ 'example' => 'result',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": [\\n {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListSamples',
+ ],
+ 'GetSample' => [
+ 'summary' => 'Queries the information of a sample.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117125',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test001',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xxx',
+ 'title' => '样本id',
+ ],
+ ],
+ [
+ 'name' => 'withExtendParmas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '是否携带扩展参数',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetSample',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CloneSample' => [
+ 'summary' => 'Clones a sample.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}/actions/clone',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117122',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '样本id',
+ 'description' => 'The sample ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The schema of the response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'CloneSample',
+ ],
+ 'GenerateSample' => [
+ 'summary' => 'Generates a cloned sample.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}/actions/generate',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '117131',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '样本id',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/Sample',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"样本状态 Unready 未完成配置 \\\\u0000Ready 配置完成 \\\\u0000Generating 样本生成中 \\\\u0000Success 样本生成成功 \\\\u0000Failed 样本生成失败 \\\\u0000Formatting 格式化中 \\\\u0000Formatted 格式化完成 \\\\u0000FormatFailed 格式化失败 \\\\u0000Applied 已应用到模型中\\",\\n \\"Meta\\": {\\n \\"AutoUpdate\\": true,\\n \\"AutoUpdateFrequency\\": 86400,\\n \\"ClonedId\\": \\"1638877561147\\",\\n \\"Config\\": {\\n \\"BhvTableSourceIds\\": [\\n \\"\\"\\n ],\\n \\"FeatureConfig\\": {\\n \\"ItemFeatures\\": \\"物品特征,支持多值,逗号分隔。\\",\\n \\"UserFeatures\\": \\"用户特征,支持多值,逗号分隔。\\"\\n },\\n \\"LabelLogic\\": {\\n \\"BhvTimeWindow\\": 86400,\\n \\"NegativeBhvTypes\\": \\"click,expose\\",\\n \\"PositiveBhvTypes\\": \\"like\\"\\n },\\n \\"WeightLogicList\\": [\\n {\\n \\"Bhv\\": \\"click\\",\\n \\"Weight\\": \\"1.01\\"\\n }\\n ]\\n },\\n \\"ExtendParams\\": {\\n \\"LatestTaskStatus\\": 0,\\n \\"SampleCount\\": 0\\n },\\n \\"MetaType\\": \\"Sample\\",\\n \\"Name\\": \\"12345\\",\\n \\"StoreConfig\\": \\"projectName.tableName\\",\\n \\"Type\\": \\"Cloned 复制的 System 系统的 Custom 自定义的\\"\\n },\\n \\"GmtCreate\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"GmtModified\\": \\"2021-12-07T12:28:52.000Z\\",\\n \\"SampleId\\": \\"1638880131873\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GenerateSample',
+ ],
+ 'CreateCustomAnalysisTask' => [
+ 'summary' => 'Creates a custom analysis task.',
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/custom-analysis-tasks',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '36672',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ITEM_CUSTOM',
+ ],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '16B78383-2803-4964-9605-37B30C073B0E',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '16B78383-2803-4964-9605-37B30C073B0E',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"16B78383-2803-4964-9605-37B30C073B0E\\",\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"result\\": 123\\n}","errorExample":""},{"type":"xml","example":"<requestId>16B78383-2803-4964-9605-37B30C073B0E</requestId>\\n<result>\\n <taskId>latest</taskId>\\n</result>","errorExample":""}]',
+ 'title' => 'CreateCustomAnalysisTask',
+ ],
+ 'AttachIndexVersion' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/index-versions/{versionId}/actions/attach',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18662',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '123',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E63A27A4-3411-4910-B7D5-12EEAC19389B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"requestId\\": \\"E63A27A4-3411-4910-B7D5-12EEAC19389B\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'AttachIndexVersion',
+ 'summary' => 'Applies an index of a specified version to the online environment.',
+ ],
+ 'ModifyDataSource' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSources/{tableName}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18719',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'tableName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The name of the table.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'behavior',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The details about the data source.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => 'The time when the data source was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'gmtCreate' => [
+ 'description' => 'The time when the data source was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'tableName' => [
+ 'description' => 'The name of the table.'."\n",
+ 'type' => 'string',
+ 'example' => 'behavior',
+ ],
+ 'meta' => [
+ 'description' => 'The parameters of the data source.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'bucketName' => [
+ 'description' => 'The name of the Object Storage Service (OSS) bucket.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec',
+ ],
+ 'accessKeyId' => [
+ 'description' => 'The AccessKey ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'type' => [
+ 'description' => 'The type of the data source. Only MaxCompute is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'partition' => [
+ 'description' => 'The partition in the MaxCompute table.'."\n",
+ 'type' => 'string',
+ 'example' => 'ds=20181122',
+ ],
+ 'timestamp' => [
+ 'description' => 'The timestamp. The value must be accurate to the millisecond.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'path' => [
+ 'description' => 'The path of the OSS data source.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss://xxx.xxx',
+ ],
+ 'tableName' => [
+ 'description' => 'The name of the MaxCompute table.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_maxcompute',
+ ],
+ 'projectName' => [
+ 'description' => 'The name of the MaxCompute project.'."\n",
+ 'type' => 'string',
+ 'example' => 'openrec_gray',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"gmtModified\\": \\"2020-04-23T06:08:48.000Z\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"tableName\\": \\"behavior\\",\\n \\"meta\\": {\\n \\"bucketName\\": \\"airec\\",\\n \\"accessKeyId\\": \\"xxx\\",\\n \\"type\\": \\"ODPS\\",\\n \\"partition\\": \\"ds=20181122\\",\\n \\"timestamp\\": 1544112000000,\\n \\"path\\": \\"oss://xxx.xxx\\",\\n \\"tableName\\": \\"table01\\",\\n \\"projectName\\": \\"airecproject\\"\\n }\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyDataSource',
+ 'summary' => 'Modifies the information of a single data source in a table of a specified instance.',
+ ],
+ 'ModifyFeatureTable' => [
+ 'summary' => 'Modifies a feature table.',
+ 'path' => '/v2/openapi/instances/{instanceId}/feature-tables/{type}/{featureTableId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117111',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '特征表类型',
+ 'description' => 'PUT /v2/openapi/instances/{instanceId}/feature-tables/{type}/{featureTableId}'."\n"
+ ."\n\n"
+ .'{'."\n"
+ .' '."\n"
+ .' "metaType":"FeatureTable",'."\n"
+ .' "featureList":['."\n"
+ .' {'."\n"
+ .' "featureName":"fn11",'."\n"
+ .' "fieldName":"fieldName11",'."\n"
+ .' "comment":"com11"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "featureName":"fn22",'."\n"
+ .' "fieldName":"fieldName22",'."\n"
+ .' "comment":"com2222"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .'}',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'UserFeatureTable',
+ ],
+ ],
+ [
+ 'name' => 'featureTableId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '特征表id',
+ 'description' => 'The type of the feature table.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'ModifyFeatureTable',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Modifies a feature table.',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/FeatureTable',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"\\",\\n \\"Meta\\": {\\n \\"DataSourceId\\": \\"907648f5-abae-44fd-a4c4-525cc25947e9\\",\\n \\"FeatureList\\": [\\n {\\n \\"Comment\\": \\"com11\\",\\n \\"FeatureName\\": \\"fn11\\",\\n \\"FieldName\\": \\"fieldName11\\",\\n \\"Status\\": \\"NotApplied 未应用 Applied 已应用\\"\\n }\\n ],\\n \\"Internal\\": true,\\n \\"MetaType\\": \\"FeatureTable\\",\\n \\"Source\\": \\"test_project.test_table\\",\\n \\"UpdateFrequency\\": 86400\\n },\\n \\"FeatureTableId\\": \\"30E70118-FC7C-4438-9287-583CE47266A9\\",\\n \\"Type\\": \\"ItemFeatureTable 物品特征表 UserFeatureTable 用户特征表\\",\\n \\"GmtCreate\\": \\"2021-12-10T02:59:54.000Z\\",\\n \\"GmtModified\\": \\"2021-12-10T02:59:54.000Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<result>\\n <type>ItemFeatureTable</type>\\n <meta>\\n <metaType>FeatureTable</metaType>\\n <dataSourceId>907648f5-abae-44fd-a4c4-525cc25947e9</dataSourceId>\\n <source>project_name.table</source>\\n <updateFrequency>86400</updateFrequency>\\n <featureList>\\n <fieldName>fieldName11</fieldName>\\n <featureName>fn11</featureName>\\n <comment>com11</comment>\\n </featureList>\\n <featureList>\\n <fieldName>fieldName22</fieldName>\\n <featureName>fn22</featureName>\\n <comment>com2222</comment>\\n </featureList>\\n </meta>\\n <status/>\\n <gmtCreate>2021-12-10T02:59:54.000Z</gmtCreate>\\n <gmtModified>2021-12-10T02:59:54.000Z</gmtModified>\\n <featureTableId>30E70118-FC7C-4438-9287-583CE47266A9</featureTableId>\\n</result>\\n<requestId>15847E8B-F00E-44AD-8FD0-26E1B0F4A0A6</requestId>","errorExample":""}]',
+ 'title' => 'ModifyFeatureTable',
+ ],
+ 'ModifyItems' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/items',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18722',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": true,\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyItems',
+ 'summary' => 'Performs a batch operation on an item pool.',
+ ],
+ 'ModifyOfflineStorages' => [
+ 'summary' => 'Modifies the offline storage configurations of an instance. You need to modify three tables at the same time.',
+ 'path' => '/v2/openapi/instances/[instanceId]/offlineStorages',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '20403',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test-xxx',
+ 'title' => '实例id',
+ 'format' => 'byte',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7F176EE8-51DA-4B4D-8FFE-04448CD7A171',
+ 'title' => 'Id of the request',
+ 'format' => 'byte',
+ ],
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'title' => '是否成功',
+ ],
+ ],
+ 'title' => 'Schema of Response',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"7F176EE8-51DA-4B4D-8FFE-04448CD7A171\\",\\n \\"result\\": true\\n}","errorExample":""},{"type":"xml","example":"<result>true</result>\\n<requestId>7F176EE8-51DA-4B4D-8FFE-04448CD7A171</requestId>","errorExample":""}]',
+ 'title' => 'ModifyOfflineStorages',
+ ],
+ 'StopDataSet' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSets/{versionId}/actions/stop',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18740',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'versionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '20181023214546',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'versionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20181023214546',
+ ],
+ 'state' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Importing',
+ ],
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'instanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"code\\": \\"InternalServerError\\",\\n \\"message\\": \\"An internal server error occurred\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"result\\": {\\n \\"versionId\\": \\"20181023214546\\",\\n \\"state\\": \\"Importing\\",\\n \\"gmtModified\\": 1544112000000,\\n \\"gmtCreate\\": 1544112000000,\\n \\"instanceId\\": \\"airec-cn-o400whm78004\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8F81A922-6C81-46D6-B78C-CC35E16B1691</RequestId>\\n<Result>\\n <InstanceId>airec-cn-xxxxx</InstanceId>\\n <VersionId>20181023214546</VersionId>\\n <State>Importing</State>\\n <GmtCreate>1537531932000</GmtCreate>\\n <GmtModified>1537531932000</GmtModified>\\n</Result>","errorExample":""}]',
+ 'title' => 'StopDataSet',
+ 'summary' => 'Stops a dataset of a specified version for a specified instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeCustomAnalysisTask' => [
+ 'summary' => 'Queries the result of a custom analysis task for a specified instance. The result is displayed on the dashboard of the instance.',
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/custom-analysis-tasks/{taskId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '36674',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ITEM_CUSTOM',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '16B78383-2803-4964-9605-37B30C073B0E',
+ 'title' => 'Id of the request',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ 'title' => 'Schema of Response',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"\\",\\n \\"message\\": \\"\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeCustomAnalysisTask',
+ ],
+ 'DescribeDefaultAlgorithms' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/default-algorithms',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18678',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-xxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The algorithm key. Valid values: i2i: the I2I filtering algorithm. u2x2i: the U2X2I filtering algorithm. hot: the filtering algorithm for popular items. new: the filtering algorithm for new items. embedding: the vector filtering algorithm. mtorder: the priority of the filtering algorithm. rankservice: the ranking service.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I',
+ ],
+ 'config' => [
+ 'description' => 'The information about the child configuration item.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'description' => 'The key of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'I2I-truncedquantity',
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => 'swing;commoni2i;pcategory;scategory',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm configuration item.'."\n",
+ 'type' => 'string',
+ 'example' => '300',
+ ],
+ 'name' => [
+ 'description' => 'The name of the algorithm configuration item. (Note: If you use the default algorithm, the console obtains the algorithm name from Medusa. If you customize an algorithm for the experiment, the algorithm name is directly returned.)'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'defaultValue' => [
+ 'description' => 'The default value of the algorithm. If you set key to i2i, hot, or new, the value of this parameter is true or false. If you set key to mtorder, the value of this parameter is a list of filtering algorithms ranked by priority.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'type' => [
+ 'description' => 'The algorithm type. Valid values: SYSTEM and CUSTOM.'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'experimentValue' => [
+ 'description' => 'The custom value of the algorithm.'."\n",
+ 'type' => 'string',
+ 'example' => '300',
+ ],
+ 'hasConfig' => [
+ 'description' => 'Indicates whether child configuration items exist. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'category' => [
+ 'description' => 'The algorithm category. Valid values: RECALL and RANK.'."\n",
+ 'type' => 'string',
+ 'example' => 'RECALL',
+ ],
+ 'name' => [
+ 'description' => 'The algorithm name. (Note: If you use the default algorithm, the console obtains the algorithm name from Medusa. If you customize an algorithm for the experiment, the algorithm name is directly returned.)'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'F60021C4-57AF-5F46-9B3E-FCEF1C7A1459',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"key\\": \\"I2I\\",\\n \\"config\\": [\\n {\\n \\"key\\": \\"I2I-truncedquantity\\",\\n \\"defaultValue\\": \\"swing;commoni2i;pcategory;scategory\\",\\n \\"experimentValue\\": \\"300\\",\\n \\"name\\": \\"I2I算法\\"\\n }\\n ],\\n \\"defaultValue\\": \\"true\\",\\n \\"type\\": \\"SYSTEM\\",\\n \\"experimentValue\\": \\"300\\",\\n \\"hasConfig\\": true,\\n \\"category\\": \\"RECALL\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"requestId\\": \\"F60021C4-57AF-5F46-9B3E-FCEF1C7A1459\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeDefaultAlgorithms',
+ 'summary' => 'Queries the information of default algorithms.',
+ ],
+ 'DescribeLatestTask' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/tasks/latest',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18684',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'switchedTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-11-08T02:00:00Z',
+ ],
+ 'rollbackEnabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'flowType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Manual',
+ ],
+ 'costSeconds' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '50',
+ ],
+ 'builtTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-11-08T02:00:00Z',
+ ],
+ 'versionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20102010211',
+ ],
+ 'size' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2938475566',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'pending',
+ ],
+ 'progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"code\\": \\"400\\",\\n \\"switchedTime\\": \\"2020-11-08T02:00:00Z\\",\\n \\"rollbackEnabled\\": true,\\n \\"message\\": \\"xxx\\",\\n \\"flowType\\": \\"Manual\\",\\n \\"costSeconds\\": 50,\\n \\"builtTime\\": \\"2020-11-08T02:00:00Z\\",\\n \\"versionId\\": \\"20102010211\\",\\n \\"size\\": 2938475566,\\n \\"status\\": \\"pending\\",\\n \\"progress\\": 80\\n }\\n ],\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeLatestTask',
+ 'summary' => 'Queries the latest task that you create.',
+ ],
+ 'DescribeQuota' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/quota',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18685',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecDM7OX0',
+ 'FEATUREairecEDD4RN',
+ 'FEATUREairecIDS0JZ',
+ 'FEATUREairecDTVO6V',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The quotas of the instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'itemCountUsed' => [
+ 'description' => 'The number of items that are used in the item table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'itemCount' => [
+ 'description' => 'The number of documents in the item table. Valid values:'."\n"
+ ."\n"
+ .'1000000 to 10000000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000000',
+ ],
+ 'userCount' => [
+ 'description' => 'The number of documents in the user table. Valid values:'."\n"
+ ."\n"
+ .'1000000 to 10000000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000000',
+ ],
+ 'userCountUsed' => [
+ 'description' => 'The number of users that are used in the user table.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'qps' => [
+ 'description' => 'The queries per second (QPS). Valid values:'."\n"
+ ."\n"
+ .'10 to 500.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'currentQps' => [
+ 'description' => 'The current QPS.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"itemCountUsed\\": 100,\\n \\"itemCount\\": 100,\\n \\"userCount\\": 100,\\n \\"userCountUsed\\": 100,\\n \\"qps\\": 10,\\n \\"currentQps\\": 10\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeQuota',
+ 'summary' => 'Queries the quotas of an instance based on a specified instance ID.',
+ ],
+ 'DescribeRegions' => [
+ 'path' => '/v2/openapi/configurations/regions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18686',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'acceptLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The language of the response. Default value: zh-cn.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'zh-cn',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'regionId' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'endpoint' => [
+ 'description' => 'The endpoint.'."\n",
+ 'type' => 'string',
+ 'example' => '47.109.94.218',
+ ],
+ 'status' => [
+ 'description' => 'The instance state. Valid values: NotOpen, Processing, and Running.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'localName' => [
+ 'description' => 'The region name.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'consoleUrl' => [
+ 'description' => 'The console URL.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '16B78383-2803-4964-9605-37B30C073B0E',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"endpoint\\": \\"47.109.94.218\\",\\n \\"status\\": \\"Running\\",\\n \\"localName\\": \\"xxx\\",\\n \\"consoleUrl\\": \\"xxx\\"\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"16B78383-2803-4964-9605-37B30C073B0E\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeRegions',
+ 'summary' => 'Queries available Alibaba Cloud regions.',
+ ],
+ 'DescribeSceneBucket' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiment-bucket',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18689',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec4DBEUA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'num' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'inUse' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'detail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"num\\": 2,\\n \\"inUse\\": \\"1\\",\\n \\"detail\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"requestId\\": \\"E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeSceneBucketResponse>\\n <result>\\n <num>10</num>\\n <inUse>1</inUse>\\n <inUse>2</inUse>\\n <inUse>3</inUse>\\n <detail>\\n <123396>3</123396>\\n <123417>1</123417>\\n <123417>2</123417>\\n </detail>\\n </result>\\n <requestId>E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B</requestId>\\n</DescribeSceneBucketResponse>","errorExample":""}]',
+ 'title' => 'DescribeSceneBucket',
+ 'summary' => 'Queries the distribution of traffic buckets in a scene.',
+ ],
+ 'DescribeSceneThroughput' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/throughput',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18690',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'DescribeSceneThroughput',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'testid',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pvCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"pvCount\\": 123\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <PvCount>123213</PvCount>\\n</Result>\\n<RequestId>6839AE7C-A984-48C1-AC17-331BAC6D97BC</RequestId>","errorExample":""}]',
+ 'title' => 'DescribeSceneThroughput',
+ 'summary' => 'Queries traffic data in a specified scene.',
+ 'description' => '__null__',
+ ],
+ 'DescribeSyncReportDetail' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/sync-reports/detail',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18691',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'behavior',
+ ],
+ ],
+ [
+ 'name' => 'levelType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'error',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'historyData' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'errorPercent' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '84.6',
+ ],
+ 'startTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1586673466',
+ ],
+ 'endTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1586673466',
+ ],
+ ],
+ ],
+ ],
+ 'sampleDisplay' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bhvTimeBehavior',
+ ],
+ 'errorCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '246165',
+ ],
+ 'errorPercent' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '84.6',
+ ],
+ 'defaultDisplay' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"historyData\\": [\\n {\\n \\"errorPercent\\": 84.6,\\n \\"startTime\\": 1586673466,\\n \\"endTime\\": 1586673466\\n }\\n ],\\n \\"sampleDisplay\\": true,\\n \\"type\\": \\"bhvTimeBehavior\\",\\n \\"errorCount\\": 246165,\\n \\"errorPercent\\": 84.6,\\n \\"defaultDisplay\\": false\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <Total>\\n <ErrorPercent>84.6</ErrorPercent>\\n <TotalCount>290993</TotalCount>\\n <ErrorCount>246165</ErrorCount>\\n <StartTime>1567152000</StartTime>\\n <EndTime>1567155600</EndTime>\\n </Total>\\n <Detail>\\n <Type>userIdBehavior</Type>\\n <ErrorPercent>0</ErrorPercent>\\n <ErrorCount>100</ErrorCount>\\n <History>\\n <ErrorPercent>0</ErrorPercent>\\n <StartTime>1567119600</StartTime>\\n <EndTime>1567123200</EndTime>\\n </History>\\n <History>\\n <ErrorPercent>0</ErrorPercent>\\n <StartTime>1567119600</StartTime>\\n <EndTime>1567123200</EndTime>\\n </History>\\n </Detail>\\n <Detail>\\n <Type>userIdBehavior</Type>\\n <ErrorPercent>0</ErrorPercent>\\n <ErrorCount>100</ErrorCount>\\n <History>\\n <ErrorPercent>0</ErrorPercent>\\n <StartTime>1567119600</StartTime>\\n <EndTime>1567123200</EndTime>\\n </History>\\n <History>\\n <ErrorPercent>0</ErrorPercent>\\n <StartTime>1567119600</StartTime>\\n <EndTime>1567123200</EndTime>\\n </History>\\n </Detail>\\n</Result>\\n<RequestId>AD3BCF47-2A4C-44DD-B6B7-CC2F2BCB1DB9</RequestId>","errorExample":""}]',
+ 'title' => 'DescribeSyncReportDetail',
+ 'summary' => 'Queries the details of real-time data in an hourly report.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeSyncReportOutliers' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/sync-reports/outliers',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18692',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'key',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'levelType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeSyncReportOutliers',
+ 'summary' => 'Queries the details of abnormal data in a real-time data report.',
+ ],
+ 'DescribeUserMetrics' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/metrics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18693',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1567152000',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1567155600',
+ ],
+ ],
+ [
+ 'name' => 'metricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the user metric that you want to query. Valid values: pvCtr and uvCtr.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'pvCtr',
+ ],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneId' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ 'dataPoints' => [
+ 'description' => 'The returned metrics.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'val' => [
+ 'description' => 'The value of the corresponding metric.'."\n",
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '84.6',
+ ],
+ 'startTime' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1567152000',
+ ],
+ 'endTime' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1567152000',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"sceneId\\": \\"test\\",\\n \\"dataPoints\\": [\\n {\\n \\"val\\": 84.6,\\n \\"startTime\\": 1567152000,\\n \\"endTime\\": 1567152000\\n }\\n ]\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeUserMetrics',
+ 'summary' => 'Queries user metrics related to the conversion rate.',
+ ],
+ 'GetExtraDataSource' => [
+ 'summary' => 'Queries the details of other data sources.',
+ 'path' => '/v2/openapi/instances/{instanceId}/extra-data-sources/{type}/{dataSourceId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117108',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The type of the data source. Valid values: UserCustomDataSource, ItemCustomDataSource, BehaviorCustomDataSource, and SampleCustomDataSource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'UserCustomDataSource',
+ 'title' => '数据源类型',
+ ],
+ ],
+ [
+ 'name' => 'dataSourceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The data source ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '数据源id',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/ExtraDataSource',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{}","errorExample":""},{"type":"xml","example":"<result>\\n <type>UserCustomDataSource</type>\\n <meta>\\n <metaType>ExtraDataSource</metaType>\\n <projectName>project_name</projectName>\\n <tableName>table</tableName>\\n <type>ODPS</type>\\n <updateFrequency>86400</updateFrequency>\\n <internal>false</internal>\\n </meta>\\n <status>Online</status>\\n <gmtCreate>2021-11-30T11:53:05.000Z</gmtCreate>\\n <gmtModified>2021-11-30T11:53:05.000Z</gmtModified>\\n <dataSourceId>cd4bb4b3-1e54-4dbb-a178-e58dac4035a5</dataSourceId>\\n</result>\\n<requestId>90D6B8F5-FE97-4509-9AAB-367836C51818</requestId>","errorExample":""}]',
+ 'title' => 'GetExtraDataSource',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDashboardDetails' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/details',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18696',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1588521600',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1588521600',
+ ],
+ ],
+ [
+ 'name' => 'traceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Alibaba',
+ ],
+ ],
+ [
+ 'name' => 'sceneIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'metricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'experimentIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ ],
+ ],
+ [
+ 'name' => 'matchTypes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'hot,emb,u2x2i,hilp,new,',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'traceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Alibaba',
+ ],
+ 'sceneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'metricRes' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'detail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"traceId\\": \\"Alibaba\\",\\n \\"sceneId\\": \\"test\\",\\n \\"metricRes\\": {\\n \\"total\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"detail\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <TraceId>alibaba</TraceId>\\n <SceneId>scene_id1</SceneId>\\n <MetricRes>\\n <Total>\\n <Vval>0</Vval>\\n <Min>0</Min>\\n <Avg>0</Avg>\\n <Max>0</Max>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Total>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588003200</StartTime>\\n <EndTime>1588006800</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588089600</StartTime>\\n <EndTime>1588093200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588176000</StartTime>\\n <EndTime>1588179600</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588262400</StartTime>\\n <EndTime>1588266000</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588348800</StartTime>\\n <EndTime>1588352400</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588435200</StartTime>\\n <EndTime>1588438800</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n </MetricRes>\\n</Result>\\n<Result>\\n <TraceId>alibaba</TraceId>\\n <SceneId>all</SceneId>\\n <MetricRes>\\n <Total>\\n <Val>0</Val>\\n <Min>0</Min>\\n <Avg>0</Avg>\\n <Max>0</Max>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Total>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588003200</StartTime>\\n <EndTime>1588006800</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588089600</StartTime>\\n <EndTime>1588093200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588176000</StartTime>\\n <EndTime>1588179600</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588262400</StartTime>\\n <EndTime>1588266000</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588348800</StartTime>\\n <EndTime>1588352400</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588435200</StartTime>\\n <EndTime>1588438800</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n </MetricRes>\\n</Result>","errorExample":""}]',
+ 'title' => 'ListDashboardDetails',
+ 'summary' => 'Queries the metric details of a specified instance based on specified conditions.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDashboardDetailsFlows' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/details/flows',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18697',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1588521600',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1588521600',
+ ],
+ ],
+ [
+ 'name' => 'traceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Alibaba',
+ ],
+ ],
+ [
+ 'name' => 'sceneIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'metricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'USERACTIONUV_COUNT',
+ ],
+ ],
+ [
+ 'name' => 'experimentIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'metricType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'USERACTIONUV_COUNT',
+ ],
+ 'metricData' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'traceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Alibaba',
+ ],
+ 'sceneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'metricRes' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"metricType\\": \\"USERACTIONUV_COUNT\\",\\n \\"metricData\\": [\\n {\\n \\"traceId\\": \\"Alibaba\\",\\n \\"sceneId\\": \\"test\\",\\n \\"metricRes\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ]\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <MetricType>cart</MetricType>\\n <MetricData>\\n <TraceId>alibaba</TraceId>\\n <SceneId>scene_id1</SceneId>\\n <MetricRes>\\n <Total>\\n <Val>0</Val>\\n <Min>0</Min>\\n <Avg>0</Avg>\\n <Max>0</Max>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Total>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1585929600</StartTime>\\n <EndTime>1585933200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1586016000</StartTime>\\n <EndTime>1586019600</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n </MetricRes>\\n </MetricData>\\n <MetricData>\\n <TraceId>alibaba</TraceId>\\n <SceneId>all</SceneId>\\n <MetricRes>\\n <Total>\\n <Val>0</Val>\\n <Min>0</Min>\\n <Avg>0</Avg>\\n <Max>0</Max>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Total>\\n <Detail>\\n <Val>0</Val>\\n <Last7dayCompare>0</Last7dayCompare>\\n <StartTime>1588521600</StartTime>\\n <EndTime>1588525200</EndTime>\\n <LastDayCompare>0</LastDayCompare>\\n </Detail>\\n </MetricRes>\\n </MetricData>\\n</Result>","errorExample":""}]',
+ 'title' => 'ListDashboardDetailsFlows',
+ 'summary' => 'Queries the details of traffic metrics of a specified instance based on specified conditions.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDashboardMetrics' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/metrics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18698',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The type of the metric. Valid values:'."\n"
+ ."\n"
+ .'USER_ACTION_PV_COUNT: the number of page views'."\n"
+ ."\n"
+ .'USER_ACTION_UV_COUNT: the number of unique views'."\n"
+ ."\n"
+ .'USER_ACTION_PV_RATIO: the conversion rate'."\n"
+ ."\n"
+ .'USER_ACTION_UV_RATIO: the traffic consumed per person'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'USERACTIONPV_COUNT'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The statistical results.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'metricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The statistical results.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'The details about the metric.'."\n",
+ ],
+ ],
+ [
+ 'name' => 'metricView',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'metricQuery',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The specific value of the metric.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'detail' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'val' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => '13',
+ ],
+ 'startTime' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1586673466',
+ ],
+ 'endTime' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => '1586673466',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '__null__',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"total\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"detail\\": [\\n {\\n \\"val\\": \\"13\\",\\n \\"startTime\\": \\"1586673466\\",\\n \\"endTime\\": \\"1586673466\\"\\n }\\n ]\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <Total>\\n <Val>32</Val>\\n <Min>32</Min>\\n <Average7>32</Average7>\\n <Max>32</Max>\\n <Average30>32</Average30>\\n <Daily>32</Daily>\\n <StatTime>1586673466</StatTime>\\n <EndTime>1586673466</EndTime>\\n <Weekly>32</Weekly>\\n </Total>\\n <Detail>\\n <Val>13</Val>\\n <StartTime>1586673466</StartTime>\\n <EndTime>1586673466</EndTime>\\n </Detail>\\n <Detail>\\n <Val>32</Val>\\n <StartTime>1586673466</StartTime>\\n <EndTime>1586673466</EndTime>\\n </Detail>\\n</Result>","errorExample":""}]',
+ 'title' => 'ListDashboardMetrics',
+ 'summary' => 'Queries the metrics of a specified instance on the dashboard.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDashboardMetricsFlows' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/metrics/flows',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18699',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The type of the metric. Valid values:'."\n"
+ ."\n"
+ .'USER_ACTION_PV_COUNT: the number of page views'."\n"
+ ."\n"
+ .'USER_ACTION_UV_COUNT: the number of unique views'."\n"
+ ."\n"
+ .'USER_ACTION_PV_RATIO: the conversion rate'."\n"
+ ."\n"
+ .'USER_ACTION_UV_RATIO: the traffic consumed per person'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The statistical results.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the metric.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'metricType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The metric data.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'The error code.'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'metricType' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'metricData' => [
+ 'description' => '__null__',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"metricType\\": \\"xxx\\",\\n \\"metricData\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <MetricType>click</MetricType>\\n <MetricData>\\n <Val>32</Val>\\n <Min>32</Min>\\n <Average7>32</Average7>\\n <Max>32</Max>\\n <Average30>32</Average30>\\n <Daily>32</Daily>\\n <StatTime>1586673466</StatTime>\\n <EndTime>1586673466</EndTime>\\n <Detail>\\n <Val>10</Val>\\n <StartTime>1586673466</StartTime>\\n <EndTime>1586673466</EndTime>\\n <Type>click</Type>\\n </Detail>\\n <Detail>\\n <Val>10</Val>\\n <StartTime>1586673466</StartTime>\\n <EndTime>1586673466</EndTime>\\n <Type>expose</Type>\\n </Detail>\\n <Weekly>32</Weekly>\\n </MetricData>\\n</Result>","errorExample":""}]',
+ 'title' => 'ListDashboardMetricsFlows',
+ 'summary' => 'Queries the traffic data of a specified instance on the dashboard.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListFeatureTables' => [
+ 'summary' => 'Queries a list of feature tables.',
+ 'path' => '/v2/openapi/instances/{instanceId}/feature-tables',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117113',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'UserFeatureTable',
+ 'title' => '特征表类型',
+ ],
+ ],
+ [
+ 'name' => 'updateFrequency',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ 'title' => '特征更新频率',
+ ],
+ ],
+ [
+ 'name' => 'dataSourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ 'title' => '数据源id',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'title' => 'result',
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/FeatureTable',
+ ],
+ 'example' => 'result',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": [\\n {\\n \\"Status\\": \\"\\",\\n \\"Meta\\": {\\n \\"DataSourceId\\": \\"907648f5-abae-44fd-a4c4-525cc25947e9\\",\\n \\"FeatureList\\": [\\n {\\n \\"Comment\\": \\"com11\\",\\n \\"FeatureName\\": \\"fn11\\",\\n \\"FieldName\\": \\"fieldName11\\",\\n \\"Status\\": \\"NotApplied 未应用 Applied 已应用\\"\\n }\\n ],\\n \\"Internal\\": true,\\n \\"MetaType\\": \\"FeatureTable\\",\\n \\"Source\\": \\"test_project.test_table\\",\\n \\"UpdateFrequency\\": 86400\\n },\\n \\"FeatureTableId\\": \\"30E70118-FC7C-4438-9287-583CE47266A9\\",\\n \\"Type\\": \\"ItemFeatureTable 物品特征表 UserFeatureTable 用户特征表\\",\\n \\"GmtCreate\\": \\"2021-12-10T02:59:54.000Z\\",\\n \\"GmtModified\\": \\"2021-12-10T02:59:54.000Z\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListFeatureTables',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListIndexVersions' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/index-versions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18704',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'switchedTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-11-08T02:00:00Z',
+ ],
+ 'rollbackEnabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'flowType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Auto',
+ ],
+ 'costSeconds' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '600',
+ ],
+ 'builtTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020-11-08T02:00:00Z',
+ ],
+ 'versionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2020112301',
+ ],
+ 'size' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '300922211',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"code\\": \\"abc\\",\\n \\"switchedTime\\": \\"2020-11-08T02:00:00Z\\",\\n \\"rollbackEnabled\\": true,\\n \\"message\\": \\"xxx\\",\\n \\"flowType\\": \\"Auto\\",\\n \\"costSeconds\\": 600,\\n \\"builtTime\\": \\"2020-11-08T02:00:00Z\\",\\n \\"versionId\\": \\"2020112301\\",\\n \\"size\\": 300922211,\\n \\"status\\": \\"abc\\",\\n \\"progress\\": 80\\n }\\n ],\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListIndexVersions',
+ 'summary' => 'Queries the versions of an index based on the IDs of a specified instance and a filtering table. Only 10 data entries can be displayed, and three data entries can be changed. You can view these data entries on one page and do not need to filter data.',
+ ],
+ 'ListInstanceTask' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/tasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18706',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The progress of the task that is running on the instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'subProgressInfos' => [
+ 'description' => 'The information about the progress of subtasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => 'The type of subtasks.'."\n",
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'detail' => [
+ 'description' => 'The detailed description of subtasks.'."\n",
+ 'type' => 'string',
+ 'example' => 'data import progress info',
+ ],
+ 'totalNum' => [
+ 'description' => 'The total number of subtasks.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '11',
+ ],
+ 'finishedNum' => [
+ 'description' => 'The number of completed subtasks.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '11',
+ ],
+ 'progress' => [
+ 'description' => 'The progress of subtasks.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ 'totalProgress' => [
+ 'description' => 'The overall progress of the current task.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'name' => [
+ 'description' => 'The name of the step. Example: DATA_IMPORT. The value indicates that data is being imported.'."\n",
+ 'type' => 'string',
+ 'example' => 'DATA_IMPORT',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"subProgressInfos\\": [\\n {\\n \\"type\\": \\"DATA_PROCESS\\",\\n \\"detail\\": \\"data import progress info\\",\\n \\"totalNum\\": 11,\\n \\"finishedNum\\": 2,\\n \\"progress\\": 20\\n }\\n ],\\n \\"totalProgress\\": 50,\\n \\"name\\": \\"启动任务\\"\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'ListInstanceTask',
+ 'summary' => 'Queries all asynchronous tasks of a specified instance by using the instance ID.',
+ ],
+ 'ListItems' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/items/actions/list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18707',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'strategyUsed',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'withInvalidDetail',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'sceneWeightItem' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'totalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5000',
+ ],
+ 'queryCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3000',
+ ],
+ 'sceneRecommendItem' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'weightItem' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'instanceRecommendItem' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ 'detail' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'title' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'categoryPath' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1_2',
+ ],
+ 'itemId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'itemType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'item',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'brandId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'shopId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'pubTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1647998107012',
+ ],
+ 'channel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'news',
+ ],
+ 'duration' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30',
+ ],
+ 'author' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'expireTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1647998107012',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6839AE7C-A984-48C1-AC17-331BAC6D97BC',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"total\\": {\\n \\"sceneWeightItem\\": 10,\\n \\"totalCount\\": 5000,\\n \\"queryCount\\": 3000,\\n \\"sceneRecommendItem\\": 200,\\n \\"weightItem\\": 10,\\n \\"instanceRecommendItem\\": 200\\n },\\n \\"detail\\": [\\n {\\n \\"title\\": \\"test\\",\\n \\"categoryPath\\": \\"1_2\\",\\n \\"itemId\\": \\"123\\",\\n \\"itemType\\": \\"item\\",\\n \\"status\\": \\"1\\",\\n \\"brandId\\": \\"1\\",\\n \\"shopId\\": \\"1\\",\\n \\"pubTime\\": \\"1647998107012\\",\\n \\"channel\\": \\"news\\",\\n \\"duration\\": \\"30\\",\\n \\"author\\": \\"abc\\",\\n \\"expireTime\\": \\"1647998107012\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"6839AE7C-A984-48C1-AC17-331BAC6D97BC\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListItems',
+ 'summary' => 'Queries items of an instance.',
+ ],
+ 'ListLogs' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/logs',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18708',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'queryParams',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '2147483647',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '2147483647',
+ 'minimum' => '1565193600',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ ],
+ 'headers' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'X-Total-Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"headers\\": {\\n \\"X-Total-Count\\": 12\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ListLogs',
+ 'summary' => 'Queries the log information about a specified instance over the last seven days.',
+ ],
+ 'ListMixCategories' => [
+ 'path' => '/v2/openapi/configurations/mixCategories',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18709',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'categories' => [
+ 'description' => 'The content type.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The content type.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'aaaa',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'ED093A1D-1C56-57A2-B078-3C518F632F03',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"categories\\": [\\n 0\\n ]\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"ED093A1D-1C56-57A2-B078-3C518F632F03\\",\\n \\"message\\": \\"Success\\"\\n}","type":"json"}]',
+ 'title' => 'ListMixCategories',
+ 'summary' => 'Queries the content types supported in the diversity rule configurations of an instance.',
+ ],
+ 'ListOfflineStorages' => [
+ 'summary' => '获取离线存储列表',
+ 'path' => '/v2/openapi/instances/[instanceId]/offlineStorages',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '20401',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'instanceId',
+ 'description' => 'instanceId',
+ 'type' => 'string',
+ 'format' => 'byte',
+ 'required' => true,
+ 'example' => 'airec-cn-xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'format' => 'byte',
+ 'example' => '6839AE7C-A984-48C1-AC17-331BAC6D97BC',
+ ],
+ 'result' => [
+ 'title' => '结果列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tableName' => [
+ 'title' => '表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'format' => 'byte',
+ 'example' => 'item',
+ ],
+ 'meta' => [
+ 'title' => '元信息',
+ 'description' => '',
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6839AE7C-A984-48C1-AC17-331BAC6D97BC\\",\\n \\"result\\": [\\n {\\n \\"tableName\\": \\"item\\",\\n \\"meta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListOfflineStorages',
+ ],
+ 'ListRuleConditions' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rule-conditions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18711',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'selectType' => [
+ 'description' => 'The type of the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'QUERY_ITEM_TYPE',
+ ],
+ 'selectValue' => [
+ 'description' => 'The specific value of the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'selectionOperation' => [
+ 'description' => 'The operation on the filtering condition for the item selection rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'QUERY_VALUE_IN',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"selectType\\": \\"QUERY_ITEM_TYPE\\",\\n \\"selectValue\\": \\"[\\\\\\\\\\\\\\"image\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"article\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"video\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"shortvideo\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"item\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"recipe\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"audio\\\\\\\\\\\\\\"]\\",\\n \\"selectionOperation\\": \\"QUERY_VALUE_IN\\"\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ListRuleConditions',
+ 'summary' => 'Queries item selection rules of an instance.',
+ ],
+ 'ListRuleTasks' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/rule-tasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18713',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecJZYTIA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The completion rate of the task.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'testid',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'finishTime' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1588240081',
+ ],
+ 'finishRate' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '50',
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'Queries the status of a rule-specific task.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The ID of the scene.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"finishTime\\": 1588240081,\\n \\"finishRate\\": 50\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>B352FBD9-4643-441E-80ED-699D47D7B6A3</RequestId>\\n<Result>\\n <FinishRate>50</FinishRate>\\n <FinishTime>1588240081</FinishTime>\\n</Result>","errorExample":""}]',
+ 'title' => 'ListRuleTasks',
+ 'summary' => 'Queries the status of a rule-specific task.',
+ ],
+ 'ListSampleFormatConfigs' => [
+ 'summary' => 'Queries the configurations of sample formatting.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}/format-configs',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '117133',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '样本id',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'EDF43C1F-99E4-431F-A7C0-8B260A5A792E',
+ 'title' => 'Id of the request',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ 'title' => 'result',
+ ],
+ ],
+ 'title' => 'Schema of Response',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"requestId\\": \\"EDF43C1F-99E4-431F-A7C0-8B260A5A792E\\"\\n}","errorExample":""},{"type":"xml","example":"<result>\\n <meta>\\n <metaType>SampleFormatConfig</metaType>\\n <sampleId>111</sampleId>\\n <config>{\\"features\\":[{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"user:user_id\\",\\"feature_name\\":\\"user_id\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100.0,\\"expression\\":\\"user:cms_segid\\",\\"feature_name\\":\\"cms_segid\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100.0,\\"expression\\":\\"user:cms_group_id\\",\\"feature_name\\":\\"cms_group_id\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":10.0,\\"expression\\":\\"user:age_level\\",\\"feature_name\\":\\"age_level\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":10.0,\\"expression\\":\\"user:pvalue_level\\",\\"feature_name\\":\\"pvalue_level\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":10.0,\\"expression\\":\\"user:shopping_level\\",\\"feature_name\\":\\"shopping_level\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":10.0,\\"expression\\":\\"user:occupation\\",\\"feature_name\\":\\"occupation\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":10.0,\\"expression\\":\\"user:new_user_class_level\\",\\"feature_name\\":\\"new_user_class_level\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"user\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"item:adgroup_id\\",\\"feature_name\\":\\"adgroup_id\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"item:cate_id\\",\\"feature_name\\":\\"cate_id\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"item:campaign_id\\",\\"feature_name\\":\\"campaign_id\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"item:customer\\",\\"feature_name\\":\\"customer\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"item:brand\\",\\"feature_name\\":\\"brand\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"raw_feature\\",\\"value_type\\":\\"Integer\\",\\"expression\\":\\"item:price\\",\\"feature_name\\":\\"price\\",\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"id_feature\\",\\"value_type\\":\\"String\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"item:pid\\",\\"feature_name\\":\\"pid\\",\\"embedding_dim\\":16.0,\\"combiner\\":\\"mean\\",\\"group\\":\\"item\\"},{\\"feature_type\\":\\"id_feature\\",\\"hash_bucket_size\\":100000.0,\\"expression\\":\\"user:tag_category_list\\",\\"feature_name\\":\\"user_tag_cate\\",\\"group\\":\\"user\\",\\"is_multi\\":true},{\\"feature_type\\":\\"combo_feature\\",\\"hash_bucket_size\\":10.0,\\"expression\\":[\\"user:user_id\\",\\"user:occupation\\"],\\"feature_name\\":\\"combo__user_id_occupation\\",\\"embedding_dim\\":16.0,\\"group\\":\\"combo\\"},{\\"feature_type\\":\\"combo_feature\\",\\"hash_bucket_size\\":10.0,\\"expression\\":[\\"user:age_level\\",\\"item:customer\\"],\\"feature_name\\":\\"combo__age_level_customer\\",\\"embedding_dim\\":16.0,\\"group\\":\\"combo\\"},{\\"feature_type\\":\\"combo_feature\\",\\"hash_bucket_size\\":10.0,\\"expression\\":[\\"user:pvalue_level\\",\\"item:brand\\"],\\"feature_name\\":\\"combo__pvalue_level_brand\\",\\"embedding_dim\\":16.0,\\"group\\":\\"combo\\"}]}</config>\\n </meta>\\n <status/>\\n <gmtCreate>2021-12-07T08:58:19.000Z</gmtCreate>\\n <gmtModified>2021-12-07T08:58:19.000Z</gmtModified>\\n <sampleFormatConfigId>99D369F6-0A73-4247-9E9F-F693A16CD6AC</sampleFormatConfigId>\\n</result>\\n<requestId>1AEB0EBA-07EF-4C18-85FD-DC93B7A07DA2</requestId>","errorExample":""}]',
+ 'title' => 'ListSampleFormatConfigs',
+ ],
+ 'ListSceneItems' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/scenes/{sceneId}/items',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18714',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'GET openapi/instances/{instanceId}/scenes/{sceneId}/items?selectionRuleId=xxx&operrationRuleId=xxx',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => [
+ [
+ 'type' => 'json',
+ 'example' => '',
+ 'errorExample' => '',
+ ],
+ [
+ 'type' => 'xml',
+ 'example' => '',
+ 'errorExample' => '',
+ ],
+ ],
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'testid',
+ ],
+ ],
+ [
+ 'name' => 'operationRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => ' ',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'selectionRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the operation rule.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '128',
+ 'minimum' => '0',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'previewType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the item selection rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PREVIEW_ITEM',
+ ],
+ ],
+ [
+ 'name' => 'queryCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Default value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The number of entries to return on each page. Valid values: 1 to 50. Default value: 10.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'total' => [
+ 'description' => 'The preview type. Valid values:'."\n"
+ ."\n"
+ .'PREVIEW_ITEM: previews only the results that are returned based on item selection rules.'."\n"
+ ."\n"
+ .'PREVIEW_QUERY: previews the results that are returned based on all configurations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'totalCount' => [
+ 'description' => 'The number of queries.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000',
+ ],
+ 'sceneWeightItem' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000',
+ ],
+ 'sceneRecommendItem' => [
+ 'description' => 'The statistical results.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000',
+ ],
+ 'weightItem' => [
+ 'description' => 'The total number of items in the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000',
+ ],
+ 'instanceRecommendItem' => [
+ 'description' => 'The number of weighted items in the scene.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1000',
+ ],
+ ],
+ ],
+ 'detail' => [
+ 'description' => 'The number of items that can be recommended in the scene.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'title' => [
+ 'description' => 'The number of weighted items in the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'title',
+ ],
+ 'categoryPath' => [
+ 'description' => 'The number of items that can be recommended in the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '12_34',
+ ],
+ 'itemId' => [
+ 'description' => 'The information about the preview results.'."\n",
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'itemType' => [
+ 'description' => 'The title of the item.'."\n",
+ 'type' => 'string',
+ 'example' => 'video',
+ ],
+ 'status' => [
+ 'description' => 'The category path of the item.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'brandId' => [
+ 'description' => 'The item ID.'."\n",
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'shopId' => [
+ 'description' => 'The type of the item.'."\n",
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'pubTime' => [
+ 'description' => 'Indicates whether the item can be recommended. Valid values: 1: The item can be recommended. 0: The item cannot be recommended.'."\n",
+ 'type' => 'string',
+ 'example' => '1612687809',
+ ],
+ 'channel' => [
+ 'description' => 'The brand ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'The store ID.'."\n",
+ ],
+ 'duration' => [
+ 'description' => 'The time when the item was published.'."\n",
+ 'type' => 'string',
+ 'example' => '300',
+ ],
+ 'author' => [
+ 'description' => 'The channel of the item.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'expireTime' => [
+ 'description' => 'Entertainment'."\n",
+ 'type' => 'string',
+ 'example' => '1612687809',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'The time spent on the page.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The author of the item.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The time when the item expires.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"total\\": {\\n \\"totalCount\\": 1000,\\n \\"sceneWeightItem\\": 1000,\\n \\"sceneRecommendItem\\": 1000,\\n \\"weightItem\\": 1000,\\n \\"instanceRecommendItem\\": 1000\\n },\\n \\"detail\\": [\\n {\\n \\"title\\": \\"title\\",\\n \\"categoryPath\\": \\"12_34\\",\\n \\"itemId\\": \\"123\\",\\n \\"itemType\\": \\"video\\",\\n \\"status\\": \\"1\\",\\n \\"brandId\\": \\"123\\",\\n \\"shopId\\": \\"123\\",\\n \\"pubTime\\": \\"1612687809\\",\\n \\"channel\\": \\"娱乐\\",\\n \\"duration\\": \\"300\\",\\n \\"author\\": \\"zhangsan\\",\\n \\"expireTime\\": \\"1612687809\\"\\n }\\n ]\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<Result>\\n <Total>\\n <InstanceRecommendItem>200</InstanceRecommendItem>\\n <SceneRecommendItem>50</SceneRecommendItem>\\n <WeightItem>10</WeightItem>\\n <SceneWeightItem>2217</SceneWeightItem>\\n <TotalCount>5000</TotalCount>\\n </Total>\\n <Detail>\\n <ItemId>15755228600501_15755228759463</ItemId>\\n <ItemType>item</ItemType>\\n <ExpireTime/>\\n <CategoryPath>1024_10003</CategoryPath>\\n <PubTime>1575523106</PubTime>\\n <BrandId>15692083252170</BrandId>\\n <Weight>1</Weight>\\n <ShopId/>\\n <Title>澜笛若慕洁面乳</Title>\\n <Status>1</Status>\\n <Duration>123123</Duration>\\n <Author>123123</Author>\\n <Channel>123123</Channel>\\n </Detail>\\n</Result>\\n<RequestId>6839AE7C-A984-48C1-AC17-331BAC6D97BC</RequestId>","errorExample":""}]',
+ 'title' => 'ListSceneItems',
+ 'summary' => 'Queries preview results.',
+ 'description' => 'We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListSceneParameters' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dashboard/scene-parameters',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18715',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecX63J28',
+ 'FEATUREairec5G3YBA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'traceId' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'trace_id',
+ 'type' => 'string',
+ 'example' => 'alibaba',
+ ],
+ ],
+ 'sceneId' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"traceId\\": [\\n \\"alibaba\\"\\n ],\\n \\"sceneId\\": [\\n \\"test\\"\\n ]\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"A40E64C6-9E21-5E9C-B333-DD920AE5AB4A\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ListSceneParameters',
+ 'summary' => 'Queries all channels and scenes of a specified instance.',
+ ],
+ 'ListUmengAppkeys' => [
+ 'path' => '/v2/openapi/umeng/appkeys',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18717',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'appkey' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5ddcf39f57729e708b00000e',
+ ],
+ 'platform' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ios',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": [\\n {\\n \\"appkey\\": \\"5ddcf39f57729e708b00000e\\",\\n \\"platform\\": \\"ios\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'ListUmengAppkeys',
+ 'summary' => 'Queries AppKeys of Umeng applications.',
+ ],
+ 'ListUserClusters' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/user-clusters',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18718',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'mycluster-for-airec',
+ ],
+ 'meta' => [
+ 'description' => 'meta',
+ 'type' => 'object',
+ 'properties' => [
+ 'metaType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'UserCluster',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tst',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'headers' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'X-Total-Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1E2CBBA8-C623-4FEE-BC84-9672E460CA39',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"status\\": \\"1\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"name\\": \\"mycluster-for-airec\\",\\n \\"meta\\": {\\n \\"metaType\\": \\"UserCluster\\",\\n \\"description\\": \\"tst\\"\\n }\\n }\\n ],\\n \\"headers\\": {\\n \\"X-Total-Count\\": 1\\n },\\n \\"requestId\\": \\"1E2CBBA8-C623-4FEE-BC84-9672E460CA39\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListUserClusters',
+ 'summary' => 'Queries the users of a specified instance.',
+ ],
+ 'QueryDataMessage' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/tables/{table}/data-message',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18730',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'table',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'item',
+ ],
+ ],
+ [
+ 'name' => 'cmdType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'update',
+ ],
+ ],
+ [
+ 'name' => 'itemId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '111',
+ ],
+ ],
+ [
+ 'name' => 'itemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'userId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '222',
+ ],
+ ],
+ [
+ 'name' => 'userType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'app',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '2147483647',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'traceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Alibaba',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'bhvType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'expose',
+ ],
+ ],
+ [
+ 'name' => 'messageSource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CONSOLE',
+ ],
+ ],
+ [
+ 'name' => 'imei',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <TotalNum>20000</TotalNum>\\n <ReturnNum>1000</ReturnNum>\\n <Detail>\\n <UploadTimestamp>2019-09-09T16:00:00.000Z</UploadTimestamp>\\n <Cmd>update</Cmd>\\n <Content>\\n <ItemId>0</ItemId>\\n <ItemType>article</ItemType>\\n <Title>abc</Title>\\n </Content>\\n </Detail>\\n <Detail>\\n <UploadTimestamp>2019-09-09T16:00:00.000Z</UploadTimestamp>\\n <Cmd>add</Cmd>\\n <Content>\\n <ItemId>0</ItemId>\\n <ItemType>article</ItemType>\\n <Title>abc</Title>\\n </Content>\\n </Detail>\\n</Result>","errorExample":""}]',
+ 'title' => 'QueryDataMessage',
+ 'summary' => 'Queries update messages in a specified data table of a specified instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QueryDataMessageStatistics' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/tables/{table}/data-message-statistics',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18731',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '946656000',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '946656000',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'table',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The name of the table. Valid values: item and user.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'item',
+ ],
+ ],
+ [
+ 'name' => 'cmdType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the operation. Valid values: update, delete, and add.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'update',
+ ],
+ ],
+ [
+ 'name' => 'itemId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the item. This parameter is required when the value of table is set to item.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '111',
+ ],
+ ],
+ [
+ 'name' => 'itemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the item. This parameter is required when the value of table is set to item.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'userId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the user. This parameter is required when the value of table is set to user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '222',
+ ],
+ ],
+ [
+ 'name' => 'userType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the user. This parameter is required when the value of table is set to user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'app',
+ ],
+ ],
+ [
+ 'name' => 'traceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The event tracking ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Alibaba',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scene ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'bhvType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of behaviors. Valid values: expose, click, like, comment, collect, stay, cart, buy, and evaluate.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'expose ',
+ ],
+ ],
+ [
+ 'name' => 'messageSource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the operation. Valid values:'."\n"
+ ."\n"
+ .'CONSOLE and FEEDER.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => ' FEEDER',
+ ],
+ ],
+ [
+ 'name' => 'imei',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <UploadTimestamp>123456</UploadTimestamp>\\n <Number>100</Number>\\n</Result>\\n<Result>\\n <UploadTimestamp>123456</UploadTimestamp>\\n <Number>100</Number>\\n</Result>","errorExample":""}]',
+ 'title' => 'QueryDataMessageStatistics',
+ 'summary' => 'Queries statistics on update messages in a data table of an instance.',
+ 'description' => 'You can call this API operation to query statistics on update messages in a specified data table of a specified instance.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QueryExceptionHistory' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/sync-reports/exception-history',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18732',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'QueryExceptionHistory',
+ 'summary' => 'Queries abnormal historical data generated within a specific period of time.',
+ ],
+ 'QueryRawData' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/tables/{table}/raw-data',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18733',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'table',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The name of the table. Valid values: item and user.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'item',
+ ],
+ ],
+ [
+ 'name' => 'itemId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The item ID. This parameter is required when the table parameter is set to item.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '112',
+ ],
+ ],
+ [
+ 'name' => 'itemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the item. This parameter is required when the table parameter is set to item.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'userId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The user ID. This parameter is required when the table parameter is set to user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '111',
+ ],
+ ],
+ [
+ 'name' => 'userType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the user. This parameter is required when the table parameter is set to user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'app',
+ ],
+ ],
+ [
+ 'name' => 'imei',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'Message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"code\\": \\"InternalServerError\\",\\n \\"Message\\": \\"An internal server error occurred\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <Detail>\\n <ItemId>1243</ItemId>\\n <ItemType>article</ItemType>\\n <SceneId>1,2,3</SceneId>\\n <Xxx>Xxx</Xxx>\\n </Detail>\\n <Messages>\\n <UploadTimestamp>2019-09-09T16:00:00.000Z</UploadTimestamp>\\n <Cmd>update</Cmd>\\n <Content>\\n <ItemId>0</ItemId>\\n <ItemType>article</ItemType>\\n <Title>abc</Title>\\n </Content>\\n </Messages>\\n <Messages>\\n <UploadTimestamp>2019-09-09T16:00:00.000Z</UploadTimestamp>\\n <Cmd>add</Cmd>\\n <Content>\\n <ItemId>0</ItemId>\\n <ItemType>article</ItemType>\\n <Title>abc</Title>\\n </Content>\\n </Messages>\\n</Result>","errorExample":""}]',
+ 'title' => 'QueryRawData',
+ 'summary' => 'Queries raw data in a specific data table of an instance by using the primary key.',
+ 'description' => 'You can call this operation to query raw data in a specific data table of an instance by using the primary key. The returned results need to be confirmed by customers.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QuerySingleAggregationReport' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/sync-reports/single-aggregation-report',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18734',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"successful\\"\\n}","type":"json"}]',
+ 'title' => 'QuerySingleAggregationReport',
+ 'summary' => 'Queries data in a user table, an item table, or a behavior table by using an aggregation function. Data may be changed.',
+ ],
+ 'QuerySingleReport' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/sync-reports/single-report',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18735',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ [
+ 'name' => 'reportType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the single table report. This parameter is required.'."\n"
+ ."\n"
+ .'Valid values: typeItemValidScene,'."\n"
+ ."\n"
+ .'typeItemTag,'."\n"
+ ."\n"
+ .'typeItemTagScene,'."\n"
+ ."\n"
+ .'typeItemWeightScene,'."\n"
+ ."\n"
+ .'typeItemRawScene, and'."\n"
+ ."\n"
+ .'typeItemExpireScene'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'typeItemTagScene',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <ItemScene>1_0:1</ItemScene>\\n <ItemValidCount>1</ItemValidCount>\\n</Result>\\n<Result>\\n <ItemScene>1_0:0</ItemScene>\\n <ItemValidCount>2</ItemValidCount>\\n</Result>","errorExample":""}]',
+ 'title' => 'QuerySingleReport',
+ 'summary' => 'Queries a single table report. More report types may be supported.',
+ ],
+ 'QuerySyncReportAggregation' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/sync-reports/aggregation',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18736',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecLALQPW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004'."\n",
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The start time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end time. The value is a timestamp in seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '4102416000',
+ 'minimum' => '1565193600',
+ 'example' => '1586673466',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'example' => 'xxx',
+ ],
+ 'code' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>16B78383-2803-4964-9605-37B30C073B0E</RequestId>\\n<Result>\\n <Level>normal</Level>\\n <StartTime>1566489600</StartTime>\\n <EndTime>1566658800</EndTime>\\n <Detail>\\n <Level>normal</Level>\\n <TotalCount/>\\n <Type>behavior</Type>\\n <ErrorCount/>\\n <ErrorPercent/>\\n </Detail>\\n <Detail>\\n <Level>normal</Level>\\n <TotalCount/>\\n <Type>item</Type>\\n <ErrorCount/>\\n <ErrorPercent/>\\n </Detail>\\n <Detail>\\n <Level>normal</Level>\\n <TotalCount/>\\n <Type>user</Type>\\n <ErrorCount/>\\n <ErrorPercent/>\\n </Detail>\\n</Result>","errorExample":""}]',
+ 'title' => 'QuerySyncReportAggregation',
+ 'summary' => 'Queries the data overview.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDataSource' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/dataSources',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18701',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-cn-o400whm78004',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2018-12-07T02:24:26.000Z',
+ ],
+ 'tableName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'behavior',
+ ],
+ 'meta' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'bucketName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'airec',
+ ],
+ 'accessKeyId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ODPS',
+ ],
+ 'partition' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds=20181122',
+ ],
+ 'timestamp' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1544112000000',
+ ],
+ 'path' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss://xxx.xxx',
+ ],
+ 'tableName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_maxcompute',
+ ],
+ 'projectName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'openrec_gray',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F81A922-6C81-46D6-B78C-CC35E16B1691',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An internal server error occurred',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"gmtModified\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"gmtCreate\\": \\"2018-12-07T02:24:26.000Z\\",\\n \\"tableName\\": \\"behavior\\",\\n \\"meta\\": {\\n \\"bucketName\\": \\"airec\\",\\n \\"accessKeyId\\": \\"xxx\\",\\n \\"type\\": \\"ODPS\\",\\n \\"partition\\": \\"ds=20181122\\",\\n \\"timestamp\\": 1544112000000,\\n \\"path\\": \\"oss://xxx.xxx\\",\\n \\"tableName\\": \\"test_maxcompute\\",\\n \\"projectName\\": \\"openrec_gray\\"\\n }\\n }\\n ],\\n \\"code\\": \\"InternalServerError\\",\\n \\"requestId\\": \\"8F81A922-6C81-46D6-B78C-CC35E16B1691\\",\\n \\"message\\": \\"An internal server error occurred\\"\\n}","errorExample":""},{"type":"xml","example":"<GmtCreate>2018-12-07T02:24:26.000Z</GmtCreate>\\n<GmtModified>2018-12-07T02:24:26.000Z</GmtModified>\\n<TableName>item</TableName>\\n<Meta>\\n <Type>ODPS</Type>\\n <Timestamp>1544112000000</Timestamp>\\n <AccessKeyId>LTAIHhxxxxxxxxxx</AccessKeyId>\\n <ProjectName>openrec_gray</ProjectName>\\n <TableName>content_gul_item_autotest</TableName>\\n <Partition>ds=20181122</Partition>\\n</Meta>","errorExample":""}]',
+ 'title' => 'ListDataSource',
+ 'summary' => 'Queries the information about the data sources of a specified instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InitComputingResource' => [
+ 'summary' => 'Initializes computing resources.',
+ 'path' => '/v2/openapi/instances/{instanceId}/computing-resources/actions/init',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117128',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '计算资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ ],
+ [
+ 'name' => 'key',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '计算资源初始化参数',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"<requestId>829F38F6-E2D6-4109-90A6-888160BD16C2</requestId>\\n<result>true</result>","errorExample":""}]',
+ 'title' => 'InitComputingResource',
+ ],
+ 'PushDocument' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/tables/{tableName}/actions/bulk',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18728',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'tableName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'user',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'true/false',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"code\\": \\"0\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'PushDocument',
+ ],
+ 'PushIntervention' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/actions/intervene',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18729',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"code\\": \\"1\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\",\\n \\"message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'PushIntervention',
+ 'summary' => 'Pushes intervention data to a specified instance.',
+ ],
+ 'RebuildIndex' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/actions/rebuild',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18737',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The algorithm ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'requestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"true\\",\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","type":"json"}]',
+ 'title' => 'RebuildIndex',
+ 'summary' => 'Rebuilds an index.',
+ ],
+ 'Recommend' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/actions/recommend',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '18738',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test001',
+ ],
+ ],
+ [
+ 'name' => 'sceneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of result entries to return. Valid values: 0 to 50.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'userId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The items used for related recommendations in specified scenes.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '123',
+ ],
+ ],
+ [
+ 'name' => 'ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '192.168.1.1',
+ ],
+ ],
+ [
+ 'name' => 'imei',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the scene in which the item is to be recommended.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '06e1565409c9fc4887036b974421****',
+ ],
+ ],
+ [
+ 'name' => 'returnCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'items',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The information about event tracking. The value of this parameter varies based on different items and needs to be uploaded together with the corresponding behavior data.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1001',
+ ],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The position at which the recommended item is displayed. The position number starts from 0. The return results are ranked by position. You can ignore this parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'userInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'rankOpen',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'N/A'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'recType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the recommended item.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'gul',
+ ],
+ ],
+ [
+ 'name' => 'filter',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the execution.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJqb2luIjoiYW5kIiwiZmlsdGVycyI6W3siY29uZCI6ImNvbnRhaW4iLCJmaWVsZCI6InRhZ3MiLCJ2YWx1ZSI6IuWPjOS6uiJ9XX0.',
+ ],
+ ],
+ [
+ 'name' => 'strategy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '如果需要使用坑位策略,请求参数内新增strategy="fixedSlot",此时系统将按照坑位配置返回推荐结果',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'fixedSlot',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => 'The unique ID of the user.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The last logon IP address of the user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'matchInfo' => [
+ 'description' => 'N/A'."\n",
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'traceId' => [
+ 'description' => 'The status of the execution.'."\n",
+ 'type' => 'string',
+ 'example' => 'ali',
+ ],
+ 'position' => [
+ 'description' => 'The string for filtering during recommendation.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'itemId' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'itemType' => [
+ 'description' => 'The ID of the recommended item.'."\n",
+ 'type' => 'string',
+ 'example' => 'item',
+ ],
+ 'traceInfo' => [
+ 'description' => 'Specifies whether to perform personalized ranking based on the user IDs in the filtering and ranking phases.'."\n",
+ 'type' => 'string',
+ 'example' => '"1007.62381.131491.100200300000000:bcb946ed-3f09-4e9b-bf4a-c19862f42231:792783::0:s101:::15:content___130788_stall:item:i2i_common_common:0.0205279946753756:null:null:1673258031504::context__recall_index=156,context__hour=17,context__trigger_num=2::C7EF99C9-6C55-5D45-A8D5-0754082E9DCF:hot_common,i2i_common_common,i2i_swing_common,hot_full:::::"',
+ ],
+ 'weight' => [
+ 'description' => 'The weight of the recommended item.'."\n",
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '1',
+ ],
+ 'flowWeight' => [
+ 'description' => 'The ID of the device.'."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'description' => 'The event tracking ID. This parameter is uploaded together with user behaviors on the recommended item. In this case, the value of this parameter is ali.'."\n",
+ 'type' => 'string',
+ 'example' => 'Successful',
+ ],
+ ],
+ ],
+ ],
+ 'code' => [
+ 'description' => 'This parameter may be used in the debugging process. You can ignore this parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'requestId' => [
+ 'description' => 'The weight of the specified process.'."\n",
+ 'type' => 'string',
+ 'example' => '04707E49-642A-4649-827A-F8EEB07D4C27',
+ ],
+ 'message' => [
+ 'description' => 'Queries the recommendation results of a specified instance.'."\n",
+ 'type' => 'string',
+ 'example' => '"i2i_common_common;NotFound;1673254401;similar product/content of clicked ones;2023-01-09 16:53:21"',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": [\\n {\\n \\"matchInfo\\": \\"xxx\\",\\n \\"traceId\\": \\"ali\\",\\n \\"position\\": 1,\\n \\"itemId\\": \\"123\\",\\n \\"itemType\\": \\"item\\",\\n \\"traceInfo\\": \\"\\\\\\"1007.62381.131491.100200300000000:bcb946ed-3f09-4e9b-bf4a-c19862f42231:792783::0:s101:::15:content___130788_stall:item:i2i_common_common:0.0205279946753756:null:null:1673258031504::context__recall_index=156,context__hour=17,context__trigger_num=2::C7EF99C9-6C55-5D45-A8D5-0754082E9DCF:hot_common,i2i_common_common,i2i_swing_common,hot_full:::::\\\\\\"\\",\\n \\"weight\\": 1,\\n \\"flowWeight\\": 0,\\n \\"message\\": \\"Successful\\"\\n }\\n ],\\n \\"code\\": \\"200\\",\\n \\"requestId\\": \\"04707E49-642A-4649-827A-F8EEB07D4C27\\",\\n \\"message\\": \\"\\\\\\"i2i_common_common;NotFound;1673254401;similar product/content of clicked ones;2023-01-09 16:53:21\\\\\\"\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>04707E49-642A-4649-827A-F8EEB07D4C27</RequestId>\\n<Result>\\n <ItemId>897068</ItemId>\\n <ItemType>article</ItemType>\\n <MatchType>emb_title2vec_common</MatchType>\\n <Weight>1</Weight>\\n <Title>极简主义的“有水蛋糕”,香软甜绵5个步骤搞定,给孩子收藏了</Title>\\n <SceneId>articleCommonRelated</SceneId>\\n <CategoryLevel>1</CategoryLevel>\\n <CategoryPath>none</CategoryPath>\\n <Tags>美食</Tags>\\n <PubTime>164</PubTime>\\n <ExpireTime>4102416000</ExpireTime>\\n <MatchScore>0.6191751956939697</MatchScore>\\n <RankScore>1</RankScore>\\n <InalScore>1</InalScore>\\n <TraceInfo>1007.19746.107647.100200300000000:c7bd13e3-371b-4276-b142-4c1a439f21a0:1:40000:0::::2:content___1729346806:image:cd:0.0545865490313237:0.027317269681932512:0.6218346196125295:::::::::::</TraceInfo>\\n</Result>\\n<Result>\\n <ItemId>897068</ItemId>\\n <ItemType>article</ItemType>\\n <MatchType>emb_title2vec_common</MatchType>\\n <Weight>1</Weight>\\n <Title>极简主义的“有水蛋糕”,香软甜绵5个步骤搞定,给孩子收藏了</Title>\\n <SceneId>articleCommonRelated</SceneId>\\n <CategoryLevel>1</CategoryLevel>\\n <CategoryPath>none</CategoryPath>\\n <Tags>美食</Tags>\\n <PubTime>164</PubTime>\\n <ExpireTime>4102416000</ExpireTime>\\n <MatchScore>0.6191751956939697</MatchScore>\\n <RankScore>1</RankScore>\\n <InalScore>1</InalScore>\\n <TraceInfo>1007.19746.107647.100200300000000:c7bd13e3-371b-4276-b142-4c1a439f21a0:1:40000:0::::2:content___1729346806:image:cd:0.0545865490313237:0.027317269681932512:0.6218346196125295:::::::::::</TraceInfo>\\n</Result>","errorExample":""}]',
+ 'title' => 'Recommend',
+ 'summary' => 'Queries the recommendation results of a specified instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RefreshFeatureTable' => [
+ 'summary' => 'Refreshes a feature table based on the source table in MaxCompute. The refresh policy is subject to data in the source table.',
+ 'path' => '/v2/openapi/instances/{instanceId}/feature-tables/{type}/{featureTableId}/actions/refresh',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117112',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecGK86LR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The type of the feature table.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xxx',
+ 'title' => '特征表类型',
+ ],
+ ],
+ [
+ 'name' => 'featureTableId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The feature table ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '特征表id',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ '$ref' => '#/components/schemas/FeatureTable',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"Status\\": \\"\\",\\n \\"Meta\\": {\\n \\"DataSourceId\\": \\"907648f5-abae-44fd-a4c4-525cc25947e9\\",\\n \\"FeatureList\\": [\\n {\\n \\"Comment\\": \\"com11\\",\\n \\"FeatureName\\": \\"fn11\\",\\n \\"FieldName\\": \\"fieldName11\\",\\n \\"Status\\": \\"NotApplied 未应用 Applied 已应用\\"\\n }\\n ],\\n \\"Internal\\": true,\\n \\"MetaType\\": \\"FeatureTable\\",\\n \\"Source\\": \\"test_project.test_table\\",\\n \\"UpdateFrequency\\": 86400\\n },\\n \\"FeatureTableId\\": \\"30E70118-FC7C-4438-9287-583CE47266A9\\",\\n \\"Type\\": \\"ItemFeatureTable 物品特征表 UserFeatureTable 用户特征表\\",\\n \\"GmtCreate\\": \\"2021-12-10T02:59:54.000Z\\",\\n \\"GmtModified\\": \\"2021-12-10T02:59:54.000Z\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'RefreshFeatureTable',
+ ],
+ 'RunSampleFormatConfig' => [
+ 'summary' => 'Triggers sample formatting configurations.',
+ 'path' => '/v2/openapi/instances/{instanceId}/samples/{sampleId}/format-configs/actions/run',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '117134',
+ 'abilityTreeNodes' => [
+ 'FEATUREairec5XEKC0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-test',
+ 'title' => 'A short description of struct',
+ ],
+ ],
+ [
+ 'name' => 'sampleId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => 'The sample ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ 'title' => '样本id',
+ ],
+ ],
+ [
+ 'name' => 'mode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The mode of the formatting. Default value: Latest. This value indicates that the latest formatting configurations are used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'latest',
+ 'title' => '格式化模式',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'airec-test',
+ 'title' => 'Id of the request',
+ ],
+ 'result' => [
+ 'description' => 'Indicates whether the sample formatting configurations are triggered.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'title' => 'result',
+ ],
+ ],
+ 'title' => 'Schema of Response',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"requestId\\": \\"airec-test\\"\\n}","errorExample":""},{"type":"xml","example":"<result>true</result>\\n<requestId>90D6B8F5-FE97-4509-9AAB-367836C51818</requestId>","errorExample":""}]',
+ 'title' => 'RunSampleFormatConfig',
+ ],
+ 'UnLockIndexVersion' => [
+ 'path' => '/v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/actions/unlock',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '18741',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecXPRU1W',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'airec-test',
+ ],
+ ],
+ [
+ 'name' => 'algorithmId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '829F38F6-E2D6-4109-90A6-888160BD16C2',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"result\\": true,\\n \\"requestId\\": \\"829F38F6-E2D6-4109-90A6-888160BD16C2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'UnLockIndexVersion',
+ 'summary' => 'Unlocks the version of the index for a filtering table.',
+ ],
+ 'CreateDataDiagnoseTask' => [
+ 'summary' => '创建数据诊断任务。',
+ 'path' => '/v2/openapi/instances/{instanceId}/data-diagnose-task',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '138221',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecG8RBMT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ 'title' => 'CreateDataDiagnoseTask',
+ ],
+ 'CreateUmengToken' => [
+ 'summary' => '创建友盟授权token',
+ 'path' => '/v2/openapi/umeng/token',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '148531',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecY1ADIM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'code',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'type' => 'boolean',
+ ],
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'GetLatestDataDiagnoseTaskStatus' => [
+ 'summary' => '获取最新诊断任务状态',
+ 'path' => '/v2/openapi/instances/{instanceId}/data-diagnose-task/status',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '138222',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecG8RBMT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'A short description of struct',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'RUNNING',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => 'GetLatestDataDiagnoseTaskStatus',
+ ],
+ 'ListDataDiagnoseReports' => [
+ 'summary' => '获取数据诊断报告 (包括用户手动触发的诊断、每天产出的周期报告、数据启动时诊断的报告)',
+ 'path' => '/v2/openapi/instances/{instanceId}/data-diagnose-reports',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '138223',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecG8RBMT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'A short description of struct',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'taskCreateTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1566489600',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "todayTimeLimit":8,'."\n"
+ .' "totalCount":10,'."\n"
+ .' "reports":['."\n"
+ .' {'."\n"
+ .' "diagnoseLevel":"low | medium | high",'."\n"
+ .' "startTime":1566489600,'."\n"
+ .' "endTime":1566489600,'."\n"
+ .' "taskCreateTime":1566489600,'."\n"
+ .' "taskSource":"manual | cycle | firstRun",'."\n"
+ .' "total":{'."\n"
+ .' "itemCount":100,'."\n"
+ .' "userCount":100,'."\n"
+ .' "bhvCount":100'."\n"
+ .' },'."\n"
+ .' "details":['."\n"
+ .' {'."\n"
+ .' "key":"",'."\n"
+ .' "level":"error | warn | info",'."\n"
+ .' "errorCount":10,'."\n"
+ .' "errorPercent":10,'."\n"
+ .' "sampleEnabled":true;'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "diagnoseLevel":"low | medium | high",'."\n"
+ .' "startTime":1566489600,'."\n"
+ .' "endTime":1566489600,'."\n"
+ .' "taskCreateTime":1566489600,'."\n"
+ .' "taskSource":"manual | cycle | firstRun",'."\n"
+ .' "total":{'."\n"
+ .' "itemCount":100,'."\n"
+ .' "userCount":100,'."\n"
+ .' "bhvCount":100'."\n"
+ .' },'."\n"
+ .' "details":['."\n"
+ .' {'."\n"
+ .' "key":"",'."\n"
+ .' "level":"error | warn | info",'."\n"
+ .' "errorCount":10,'."\n"
+ .' "errorPercent":10,'."\n"
+ .' "sampleEnabled":true;'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => 'ListDataDiagnoseReports',
+ ],
+ 'ListDataDiagnoseSampleDetails' => [
+ 'summary' => '获取数据诊断项抽样明细。',
+ 'path' => '/v2/openapi/instances/{instanceId}/data-diagnose-reports/sample-details',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '139245',
+ 'abilityTreeNodes' => [
+ 'FEATUREairecG8RBMT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'airec-cn-shdjkgkeog',
+ ],
+ ],
+ [
+ 'name' => 'taskCreateTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1665936000000',
+ ],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1665158400',
+ ],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1682179200',
+ ],
+ ],
+ [
+ 'name' => 'taskSource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cycle',
+ ],
+ ],
+ [
+ 'name' => 'key',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8B90B646-1678-41A3-B23F-EAC6587B0E48',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8B90B646-1678-41A3-B23F-EAC6587B0E48\\",\\n \\"result\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => 'ListDataDiagnoseSampleDetails',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'airec.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'airec.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'airec.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'airec.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'airec.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'airec.us-east-1.aliyuncs.com',
+ ],
+ ],
+];