diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/paifeaturestore/2023-06-21/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/paifeaturestore/2023-06-21/api-docs.php')
| -rw-r--r-- | data/zh_cn/paifeaturestore/2023-06-21/api-docs.php | 13354 |
1 files changed, 5460 insertions, 7894 deletions
diff --git a/data/zh_cn/paifeaturestore/2023-06-21/api-docs.php b/data/zh_cn/paifeaturestore/2023-06-21/api-docs.php index d9220e0..f9f9b39 100644 --- a/data/zh_cn/paifeaturestore/2023-06-21/api-docs.php +++ b/data/zh_cn/paifeaturestore/2023-06-21/api-docs.php @@ -1,180 +1,105 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'PaiFeatureStore', - 'version' => '2023-06-21', - ], + 'info' => ['style' => 'ROA', 'product' => 'PaiFeatureStore', 'version' => '2023-06-21'], 'directories' => [ [ - 'id' => 185367, - 'title' => '实例管理', + 'children' => ['CheckInstanceDatasource'], 'type' => 'directory', - 'children' => [ - 'CreateInstance', - 'ListInstances', - 'GetInstance', - 'CheckInstanceDatasource', - ], + 'title' => '实例管理', + 'id' => 300478, ], [ - 'id' => 185387, - 'title' => '数据源管理', + 'children' => ['ListDatasourceFeatureViews', 'ListDatasourceTables', 'GetDatasourceTable'], 'type' => 'directory', - 'children' => [ - 'CreateDatasource', - 'ListDatasources', - 'GetDatasource', - 'UpdateDatasource', - 'DeleteDatasource', - 'ListDatasourceFeatureViews', - 'ListDatasourceTables', - 'GetDatasourceTable', - ], + 'title' => '数据源管理', + 'id' => 300492, ], [ - 'id' => 221141, - 'title' => '大模型配置信息管理', + 'children' => ['CreateLLMConfig', 'ListLLMConfigs', 'GetLLMConfig', 'UpdateLLMConfig', 'DeleteLLMConfig'], 'type' => 'directory', - 'children' => [ - 'CreateLLMConfig', - 'ListLLMConfigs', - 'GetLLMConfig', - 'UpdateLLMConfig', - 'DeleteLLMConfig', - ], + 'title' => '大模型配置信息管理', + 'id' => 300540, ], [ - 'id' => 185372, - 'title' => '项目管理', + 'children' => ['ListProjectFeatures', 'ListProjectFeatureViews', 'GetProjectFeatureEntity'], 'type' => 'directory', - 'children' => [ - 'CreateProject', - 'ListProjects', - 'GetProject', - 'UpdateProject', - 'DeleteProject', - 'ListProjectFeatures', - 'ListProjectFeatureViews', - 'GetProjectFeatureEntity', - ], + 'title' => '项目管理', + 'id' => 300483, ], [ - 'id' => 185395, - 'title' => '特征实体', + 'children' => ['CreateFeatureEntity', 'ListFeatureEntities', 'GetFeatureEntity', 'DeleteFeatureEntity'], 'type' => 'directory', - 'children' => [ - 'CreateFeatureEntity', - 'ListFeatureEntities', - 'GetFeatureEntity', - 'DeleteFeatureEntity', - ], + 'title' => '特征实体', + 'id' => 300501, ], [ - 'id' => 185400, - 'title' => '特征视图', + 'children' => ['CreateFeatureView', 'ListFeatureViews', 'GetFeatureView', 'UpdateFeatureView', 'DeleteFeatureView', 'PublishFeatureViewTable', 'WriteFeatureViewTable', 'ListFeatureViewOnlineFeatures', 'ListFeatureViewRelationships', 'ListFeatureViewFieldRelationships'], 'type' => 'directory', - 'children' => [ - 'CreateFeatureView', - 'ListFeatureViews', - 'GetFeatureView', - 'DeleteFeatureView', - 'PublishFeatureViewTable', - 'WriteFeatureViewTable', - 'ListFeatureViewOnlineFeatures', - 'ListFeatureViewRelationships', - 'ListFeatureViewFieldRelationships', - ], + 'title' => '特征视图', + 'id' => 300506, ], [ - 'id' => 185409, - 'title' => 'Label表', + 'children' => ['CreateLabelTable', 'ListLabelTables', 'GetLabelTable', 'UpdateLabelTable', 'DeleteLabelTable'], 'type' => 'directory', - 'children' => [ - 'CreateLabelTable', - 'ListLabelTables', - 'GetLabelTable', - 'UpdateLabelTable', - 'DeleteLabelTable', - ], + 'title' => 'Label表', + 'id' => 300517, ], [ - 'id' => 185415, - 'title' => '模型特征', + 'children' => ['CreateModelFeature', 'ListModelFeatures', 'GetModelFeature', 'UpdateModelFeature', 'DeleteModelFeature', 'ExportModelFeatureTrainingSetTable', 'ListModelFeatureAvailableFeatures', 'UpdateModelFeatureFGFeature', 'GetModelFeatureFGFeature', 'GetModelFeatureFGInfo', 'CheckModelFeatureFGFeature'], 'type' => 'directory', - 'children' => [ - 'CreateModelFeature', - 'ListModelFeatures', - 'GetModelFeature', - 'UpdateModelFeature', - 'DeleteModelFeature', - 'ExportModelFeatureTrainingSetTable', - 'ListModelFeatureAvailableFeatures', - 'UpdateModelFeatureFGFeature', - 'GetModelFeatureFGFeature', - 'GetModelFeatureFGInfo', - 'CheckModelFeatureFGFeature', - ], + 'title' => '模型特征', + 'id' => 300523, ], [ - 'id' => 185422, - 'title' => '任务管理', + 'children' => ['StopTask', 'ListTaskLogs'], 'type' => 'directory', - 'children' => [ - 'ListTasks', - 'GetTask', - 'StopTask', - 'ListTaskLogs', - ], + 'title' => '任务管理', + 'id' => 300535, ], [ - 'id' => 185364, + 'children' => ['CreateServiceIdentityRole', 'GetServiceIdentityRole'], + 'type' => 'directory', 'title' => '服务账户角色', + 'id' => 300475, + ], + [ + 'children' => ['CreateDatasource', 'CreateInstance', 'CreateProject', 'DeleteDatasource', 'DeleteProject', 'GetDatasource', 'GetInstance', 'GetProject', 'GetTask', 'ListDatasources', 'ListInstances', 'ListProjects', 'ListTasks', 'UpdateDatasource', 'UpdateProject'], + 'title' => '其他', 'type' => 'directory', - 'children' => [ - 'CreateServiceIdentityRole', - 'GetServiceIdentityRole', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateInstance' => [ - 'summary' => '创建特征平台实例。', - 'path' => '/api/v1/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckInstanceDatasource' => [ + 'summary' => '检查数据源连通性。', + 'path' => '/api/v1/instances/{InstanceId}/action/checkdatasource', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188081', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '190554', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -182,13 +107,17 @@ 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '实例类型。', - 'description' => '实例类型,目前仅支持Basic(基础型)。', - 'type' => 'string', - 'required' => false, - 'example' => 'Basic', - ], + 'Type' => ['title' => '数据源类型。'."\n" + .'● Hologres'."\n" + .'● GraphCompute'."\n" + .'● Redis'."\n" + .'● MaxCompute', 'description' => '数据源类型。'."\n" + ."\n" + .'- Hologres'."\n" + .'- Redis'."\n" + .'- MaxCompute', 'type' => 'string', 'required' => true, 'example' => 'Hologres'], + 'Uri' => ['title' => '资源地址。', 'description' => '资源地址。', 'type' => 'string', 'required' => true, 'example' => 'igraph1'], + 'Config' => ['title' => '资源配置。', 'description' => '资源配置。', 'type' => 'string', 'required' => false, 'example' => '{"address": ""}'], ], 'required' => false, ], @@ -201,144 +130,71 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], - 'InstanceId' => [ - 'title' => '实例ID。', - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'featureStore-cn-7mz2xfu****', - ], - 'Code' => [ - 'title' => '错误码', - 'description' => '错误码', - 'type' => 'string', - 'example' => 'InstanceAlreadyExistsErrorProblem', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'Status' => ['title' => '资源检测状态。'."\n" + .'● Success-成功。'."\n" + .'● Failure-失败。', 'description' => '资源检测状态。'."\n" + ."\n" + .'- Success:成功'."\n" + .'- Failure:失败', 'type' => 'string', 'example' => 'Success'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"Status\\": \\"Success\\"\\n}","type":"json"}]', + 'title' => '检查数据源连通性', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckInstanceDatasource'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckInstanceDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Code\\": \\"InstanceAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', - 'title' => '创建实例', ], - 'ListInstances' => [ - 'summary' => '获取实例列表。', - 'path' => '/api/v1/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckModelFeatureFGFeature' => [ + 'summary' => '检查FG配置内容是否正确,是否满足所有规则。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/checkfgfeature', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188082', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205450', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小,默认为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'title' => '状态过滤。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Failure-创建失败。', - 'description' => '状态过滤。'."\n" - ."\n" - .'- Initializing:初始化中'."\n" - .'- Running:运行中'."\n" - .'- Failure:创建失败', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。'."\n" - .'● GmtCreateTime-创建时间。'."\n" - .'● GmtModifiedTime-更新时间。', - 'description' => '排序依据。'."\n" - ."\n" - .'- GmtCreateTime:创建时间'."\n" - .'- GmtModifiedTime:更新时间', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。'."\n" - .'● ASC-升序。'."\n" - .'● DESC-降序。', - 'description' => '排序方式。'."\n" - ."\n" - .'- ASC:升序'."\n" - .'- DESC:降序', - 'type' => 'string', - 'required' => false, - 'example' => 'DESC', - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['title' => '模型特征ID。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -348,159 +204,111 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE', - ], - 'TotalCount' => [ - 'title' => '列表内元素总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Instances' => [ - 'title' => '实例列表。', - 'description' => '实例列表。', + 'requestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280'], + 'FGCheckResults' => [ + 'title' => 'FG配置检查结果。', + 'description' => 'FG配置检查结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '实例ID。', - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'featureStore-cn-7mz2xfu****', - ], - 'Type' => [ - 'title' => '实例类型。'."\n" - .'● Basic-基础版', - 'description' => '实例类型,目前仅支持Basic(基础版)。', - 'type' => 'string', - 'example' => 'Basic', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Stopped-停止服务。', - 'description' => '状态。'."\n" - ."\n" - .'- Initializing:初始化中'."\n" - .'- Running:运行中'."\n" - .'- Stopped:停止服务', - 'type' => 'string', - 'example' => 'Initializing', - ], - 'RegionId' => [ - 'title' => '所属区域。'."\n" - .'● cn-hangzhou'."\n" - .'● cn-beijing'."\n" - .'● cn-shanghai'."\n" - .'● cn-shenzhen', - 'description' => '所属区域。'."\n" - ."\n" - .'- cn-hangzhou'."\n" - .'- cn-beijing'."\n" - .'- cn-shanghai'."\n" - .'- cn-shenzhen', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', + 'RuleCode' => [ + 'title' => '检查规则代码。'."\n" + .'● SeqSubEx: FG序列特征的子特征是否存在于 ModelFeature 的特征中?'."\n" + .'● LookupKeyEx: FG查询特征的检查键值特征是否存在 ModelFeature 特征中?'."\n" + .'● FGSetEx: 所有FG特征,是否存在于 ModelFeature 特征中?'."\n" + .'● ModelSetEx: 所有 ModelFeature 特征,是否存在于 FG 特征中?', + 'description' => '检查规则代码。'."\n" + .'- SeqSubEx-FG序列特征的子特征是否存在于ModelFeature的特征中?'."\n" + .'- LookupKeyEx-FG查询特征的检查键值特征是否存在 ModelFeature 特征中?'."\n" + .'- FGSetEx-所有FG特征,是否存在于 ModelFeature 特征中?'."\n" + .'- ModelSetEx-所有 ModelFeature 特征,是否存在于 FG 特征中?', 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'FeatureDBInstanceInfo' => [ - 'title' => '已废弃。请通过 FeatureDBInfo 获取FeatureDB实例信息。', - 'description' => 'FeatureDB实例信息', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'description' => '状态。', - 'type' => 'string', - ], - ], - 'deprecated' => true, - ], - 'FeatureDBInfo' => [ - 'title' => 'FeatureDB实例信息。', - 'description' => 'FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'description' => '状态。', - 'type' => 'string', - ], - ], + 'enumValueTitles' => [], + 'example' => 'SeqSubEx', ], + 'Status' => ['title' => '检查规则是否符合。', 'description' => '检查规则是否符合。', 'type' => 'boolean', 'example' => 'True'], + 'Message' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features'], ], + 'description' => '', ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 10,\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Type\\": \\"Basic\\",\\n \\"Status\\": \\"Initializing\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取实例列表', - ], - 'GetInstance' => [ - 'summary' => '获取实例详细信息。', - 'path' => '/api/v1/instances/{InstanceId}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"FGCheckResults\\": [\\n {\\n \\"RuleCode\\": \\"SeqSubEx\\",\\n \\"Status\\": true,\\n \\"Message\\": \\"f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '检查模型特征FG配置内容是否正确', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckModelFeatureFGFeature'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDatasource' => [ + 'summary' => '在 FeatureStore 实例下注册数据源。数据源为项目提供离线或在线存储。', + 'path' => '/api/v1/instances/{InstanceId}/datasources', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '190265', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['title' => 'The ID of the FeatureStore Instance. Call the ListInstances operation to query the list.', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-test1'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => 'The name of the datasource.', 'description' => '数据源名称。', 'type' => 'string', 'required' => true, 'example' => 'datasource1'], + 'WorkspaceId' => ['title' => 'The ID of the PAI workspace (numeric string).', 'description' => '工作空间ID,可从接口[ListWorkspaces](~~449124~~)获取。', 'type' => 'string', 'required' => true, 'example' => '234'], + 'Type' => ['title' => 'The type of the datasource. Valid values:\\n\\n* **MaxCompute**\\n* **Hologres**\\n* **TableStore**\\n* **FeatureDB**', 'description' => '数据源类型,取值如下:'."\n" + ."\n" + .'● Hologres'."\n" + ."\n" + .'● GraphCompute'."\n" + ."\n" + .'● Redis'."\n" + ."\n" + .'● MaxCompute', 'type' => 'string', 'required' => true, 'example' => 'Hologres'], + 'Uri' => ['title' => 'The resource identifier. The format depends on `Type`:\\n\\n* **MaxCompute**: the MaxCompute project name\\n* **Hologres**: `<instanceId>/<database>`, where instanceId is the Hologres instance ID and database is the database name\\n* **TableStore**: the TableStore instance name\\n* **FeatureDB**: any non-empty string (this value is not used)', 'description' => '资源地址。', 'type' => 'string', 'required' => true, 'example' => 'igraph_instance1'], + 'Config' => ['title' => 'A JSON string providing type-specific configuration. Structure and required keys depend on `Type`:\\n\\n* **MaxCompute**: not used\\n* **Hologres** (optional): `{"vpc_id": "string", "vswitch_id": "string"}` — specify both to enable VPC access, or omit both\\n* **TableStore**: not used\\n* **FeatureDB** (required): `{"username": "string", "password": "string", "vpc_id": "string", "vswitch_ids": "string"}`\\n - `username` and `password` are required. Username must start with a letter and contain only letters and digits. Password must be 8–16 characters and contain at least one letter, one digit, and one special character.\\n - `vpc_id` and `vswitch_ids` are optional. If specified, `vswitch_ids` is a JSON-encoded map of zone IDs to vSwitch IDs (e.g., `"{\\\\"cn-beijing-a\\\\":\\\\"vsw-xxx\\\\"}"`). Both must be specified together or both omitted.\\n\\n> Only one **FeatureDB** datasource is allowed per workspace.\\n\\nFormat: `--config \'{"username":"fdb_user","password":"Pass123!"}\'`', 'description' => '资源配置。', 'type' => 'string', 'required' => false, 'example' => '{"address": ""}'], + ], + 'required' => false, ], ], ], @@ -511,180 +319,76 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Failure-创建失败。'."\n" - .'● Stopped-停止服务。', - 'description' => '状态。'."\n" - ."\n" - .'- Initializing:初始化中'."\n" - .'- Running:运行中'."\n" - .'- Failure:创建失败'."\n" - .'- Stopped:停止服务', - 'type' => 'string', - 'example' => 'Running', - ], - 'RegionId' => [ - 'title' => '所属区域。', - 'description' => '所属区域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'Progress' => [ - 'title' => '实例生产进度。', - 'description' => '实例生产进度。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.8', - ], - 'Message' => [ - 'title' => '实例生产日志信息。', - 'description' => '实例生产日志信息。', - 'type' => 'string', - 'example' => 'Success', - ], - 'Type' => [ - 'title' => '实例类型。', - 'description' => '实例类型。', - 'type' => 'string', - 'example' => 'Basic', - ], - 'FeatureDBInstanceInfo' => [ - 'title' => '已废弃。请通过 FeatureDBInfo 获取FeatureDB实例信息。', - 'description' => 'FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'description' => '状态。', - 'type' => 'string', - ], - ], - 'deprecated' => true, - ], - 'FeatureDBInfo' => [ - 'title' => 'FeatureDB实例信息。', - 'description' => 'FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'description' => '状态。', - 'type' => 'string', - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882'], + 'DatasourceId' => ['title' => 'The ID of the datasource.', 'description' => '数据源ID。', 'type' => 'string', 'example' => '3'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"DatasourceId\\": \\"3\\"\\n}","type":"json"}]', + 'title' => '创建数据源', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"Status\\": \\"Running\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"Progress\\": 0.8,\\n \\"Message\\": \\"Success\\",\\n \\"Type\\": \\"Basic\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => '获取实例详细信息', - ], - 'CheckInstanceDatasource' => [ - 'summary' => '检查数据源连通性。', - 'path' => '/api/v1/instances/{InstanceId}/action/checkdatasource', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDatasource'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFeatureEntity' => [ + 'summary' => '创建特征实体。特征实体定义关联键,多个特征视图通过关联键关联到同一特征实体,实现特征拼接。', + 'path' => '/api/v1/instances/{InstanceId}/featureentities', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '190554', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ + 'title' => '', 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● Hologres'."\n" - .'● GraphCompute'."\n" - .'● Redis'."\n" - .'● MaxCompute', - 'description' => '数据源类型。'."\n" - ."\n" - .'- Hologres'."\n" - .'- Redis'."\n" - .'- MaxCompute', - 'type' => 'string', - 'required' => true, - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '资源地址。', - 'type' => 'string', - 'required' => true, - 'example' => 'igraph1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '资源配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{"address": ""}', - ], + 'JoinId' => ['title' => '关联特征视图用的join id。', 'description' => '关联特征视图用的Join Id。', 'type' => 'string', 'required' => true, 'example' => 'user_id '], + 'Name' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'required' => true, 'example' => 'feature_entity_1'], + 'ProjectId' => ['title' => '项目ID,可从接口ListInstances获取。', 'description' => '项目ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + 'ParentFeatureEntityId' => ['title' => '父特征实体ID。', 'type' => 'string', 'required' => false, 'example' => '1', 'description' => '父特征实体ID。'], ], 'required' => false, ], @@ -697,130 +401,188 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'Status' => [ - 'title' => '资源检测状态。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '资源检测状态。'."\n" - ."\n" - .'- Success:成功'."\n" - .'- Failure:失败', - 'type' => 'string', - 'example' => 'Success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'FeatureEntityId' => ['title' => '特征实体ID。', 'description' => '特征实体ID。', 'type' => 'string', 'example' => '3'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureEntityId\\": \\"3\\"\\n}","type":"json"}]', + 'title' => '创建特征实体', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:04.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"Status\\": \\"Success\\"\\n}","type":"json"}]', - 'title' => '检查数据源连通性', - ], - 'CreateDatasource' => [ - 'summary' => '创建数据源。', - 'path' => '/api/v1/instances/{InstanceId}/datasources', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureEntity'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188527', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-test1', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '请求Body。', + 'title' => '请求body。', + 'description' => '请求body。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '数据源名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'datasource1', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID,可从接口[ListWorkspaces](~~449124~~)获取。', - 'type' => 'string', - 'required' => true, - 'example' => '234', - ], - 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '数据源类型,取值如下:'."\n" - ."\n" - .'● Hologres'."\n" - ."\n" - .'● GraphCompute'."\n" - ."\n" - .'● Redis'."\n" - ."\n" - .'● MaxCompute', - 'type' => 'string', - 'required' => true, - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '资源地址。', - 'type' => 'string', - 'required' => true, - 'example' => 'igraph_instance1', + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '3'], + 'FeatureEntityId' => ['title' => '特征实体ID。', 'description' => '特征实体ID。', 'type' => 'string', 'required' => false, 'example' => '4'], + 'Name' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'required' => true, 'example' => 'FeatureView1'], + 'Type' => ['title' => '类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征'."\n" + .'● Sequence-行为序列特征', 'description' => '类型。'."\n" + ."\n" + .'- Batch:离线特征'."\n" + .'- Stream:实时特征', 'type' => 'string', 'required' => true, 'example' => 'Batch'], + 'WriteMethod' => ['title' => '写入方式。'."\n" + .'● ByReadyMadeTable-使用现成表注册'."\n" + .'● Custom-自定义表结构', 'description' => '写入方式。'."\n" + ."\n" + .'- ByReadyMadeTable:使用现成表注册'."\n" + .'- Custom:自定义表结构', 'type' => 'string', 'required' => true, 'example' => 'Custom'], + 'WriteToFeatureDB' => ['title' => '是否写入在线托管存储。如果项目在线数据源为托管存储,会自动设置为true。'."\n" + .'默认:false', 'description' => '是否写入在线托管存储,取值如下:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'RegisterTable' => ['title' => '注册表名称。', 'description' => '注册表名称。', 'type' => 'string', 'required' => false, 'example' => 'table1'], + 'RegisterDatasourceId' => ['title' => '注册表所在数据源ID。', 'description' => '注册表所在数据源ID,可从接口ListDatasources获取。', 'type' => 'string', 'required' => false, 'example' => '5'], + 'SyncOnlineTable' => ['title' => '是否同步在线特征表。', 'description' => '是否同步在线特征表,取值如下:'."\n" + ."\n" + .'- true:是'."\n" + .'- false:否', 'type' => 'boolean', 'required' => true, 'example' => 'true'], + 'TTL' => ['title' => '生命周期。', 'description' => '生命周期(单位:天)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '90'], + 'Tags' => [ + 'title' => '标签列表。', + 'description' => '标签列表。', + 'type' => 'array', + 'items' => ['description' => '特征视图的标签。', 'type' => 'string', 'required' => false, 'example' => 'label1'], + 'required' => false, ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '资源配置。', - 'type' => 'string', + 'Config' => ['title' => '特征视图配置。', 'description' => '特征视图配置。', 'type' => 'string', 'required' => false, 'example' => '{"save_original_field":true}'], + 'Fields' => [ + 'title' => '字段列表。', + 'description' => '字段列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'required' => false, 'example' => 'age'], + 'Type' => ['title' => '字段类型。'."\n" + .'● INT32'."\n" + .'● INT64'."\n" + .'● FLOAT'."\n" + .'● DOUBLE'."\n" + .'● STRING'."\n" + .'● BOOLEAN'."\n" + .'● TIMESTAMP'."\n" + .'● ARRAY'."\n" + .'● MAP', 'description' => '字段类型。'."\n" + ."\n" + .'- INT32'."\n" + .'- INT64'."\n" + .'- FLOAT'."\n" + .'- DOUBLE'."\n" + .'- STRING'."\n" + .'- BOOLEAN'."\n" + .'- TIMESTAMP', 'type' => 'string', 'required' => false, 'example' => 'INT32'], + 'Attributes' => [ + 'title' => '字段属性列表,可选值包括:'."\n" + .'● Partition-分区字段'."\n" + .'● PrimaryKey-主键'."\n" + .'● EventTime-事件时间', + 'description' => '字段属性列表,可选值包括:'."\n" + ."\n" + .'- Partition:分区字段'."\n" + .'- PrimaryKey:主键'."\n" + .'- EventTime:事件时间', + 'type' => 'array', + 'items' => ['description' => '字段属性。', 'type' => 'string', 'required' => false, 'example' => 'Partition'], + 'required' => false, + ], + 'Transform' => [ + 'title' => '特征生产配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '特征生产类型。', 'type' => 'string', 'required' => false, 'example' => 'LLMEmbedding', 'description' => ''], + 'LLMConfigId' => ['title' => '大模型调用信息ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'description' => ''], + 'Input' => [ + 'title' => '特征生产输入。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '输入字段名称。', 'type' => 'string', 'required' => false, 'example' => 'f1', 'description' => ''], + 'Type' => ['title' => '输入字段类型。', 'type' => 'string', 'required' => false, 'example' => 'STRING', 'description' => ''], + 'Modality' => [ + 'type' => 'string', + 'enum' => ['NONE', 'TEXT', 'IMAGE', 'VIDEO', 'MULTI_IMAGES'], + ], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'description' => '', + ], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'description' => '', + ], + 'Dimension' => ['type' => 'integer', 'format' => 'int32'], + ], + 'required' => false, + 'description' => '', + ], 'required' => false, - 'example' => '{"address": ""}', ], ], 'required' => false, @@ -834,311 +596,427 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '3', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'FeatureViewId' => ['title' => '特征视图ID。', 'description' => '特征视图ID。', 'type' => 'string', 'example' => '3'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建特征视图', + 'summary' => '创建特征视图,支持创建离线、实时、行为序列三种类型的特征视图。特征视图通过字段定义特征结构,并关联到特征实体。', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-05-14T07:57:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-03-25T06:53:33.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureView'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"DatasourceId\\": \\"3\\"\\n}","type":"json"}]', - 'title' => '创建数据源', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureViewId\\": \\"3\\"\\n}","type":"json"}]', ], - 'ListDatasources' => [ - 'summary' => '获取数据源列表。', - 'path' => '/api/v1/instances/{InstanceId}/datasources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstance' => [ + 'summary' => '创建 FeatureStore 实例。同一账号下已存在运行中或初始化中的实例时,返回已有实例 ID(幂等)。', + 'path' => '/api/v1/instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188081', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-XXXXXXX', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '实例类型。', 'description' => '实例类型,目前仅支持Basic(基础型)。', 'type' => 'string', 'required' => false, 'example' => 'Basic'], + ], + 'required' => false, ], ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID,可从接口[ListWorkspaces](~~449124~~)获取。', - 'type' => 'string', - 'required' => false, - 'example' => '234', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], + 'InstanceId' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'example' => 'featureStore-cn-7mz2xfu****'], + 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'InstanceAlreadyExistsErrorProblem'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Code\\": \\"InstanceAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', + 'title' => '创建实例', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '数据源类型,取值如下:'."\n" - ."\n" - .'- Hologres'."\n" - .'- Redis'."\n" - .'- MaxCompute', - 'type' => 'string', - 'required' => false, - 'example' => 'MaxCompute', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateLLMConfig' => [ + 'summary' => '创建 LLM 调用配置,配置 Embedding 模型的调用参数和密钥。创建时会验证 ApiKey 和 Model 是否可用,DashScope 模型的 EmbeddingDimension 需符合模型固定的合法维度。', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '数据源名称模糊过滤。', - 'description' => '数据源名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'datasource1', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小,默认值为10。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '大模型配置信息结构体。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '大模型调用信息配置名称。', 'description' => '大模型调用信息配置名称。', 'type' => 'string', 'required' => true, 'example' => 'llm_config1'], + 'Model' => ['title' => '模型名称。', 'description' => '模型名称。', 'type' => 'string', 'required' => true, 'example' => 'text-embedding-v1'], + 'ApiKey' => ['title' => '大模型调用密钥。', 'description' => '大模型调用密钥。', 'type' => 'string', 'required' => true, 'example' => 'api-xyz'], + 'BaseUrl' => ['title' => '大模型调用信息基础链接。', 'description' => '大模型调用信息基础链接。', 'type' => 'string', 'required' => false, 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1'], + 'Rps' => ['title' => '每秒并发请求数。', 'description' => '每秒并发请求数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], + 'MaxTokens' => ['title' => '一行最大输入 token 数。', 'description' => '最大输入 token 数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8192'], + 'BatchSize' => ['title' => '一次批处理大小。', 'description' => '一次批处理大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'], + 'WorkspaceId' => ['title' => '工作空间ID。', 'description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => '234'], + 'EmbeddingDimension' => ['title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], + 'ModelType' => [ + 'type' => 'string', + 'default' => 'TEXT_EMBEDDING', + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + ], + 'EnableFusion' => ['type' => 'boolean'], + ], 'required' => false, - 'example' => '10', ], ], [ - 'name' => 'PageNumber', - 'in' => 'query', + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-test1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + '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' => 'DD19A0E2-0DC8-5EAA-867D-00C813F553F9'], + 'LLMConfigId' => ['title' => '大模型调用信息配置ID。', 'description' => '大模型调用信息配置ID。', 'type' => 'string', 'example' => 'llm_config1'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD19A0E2-0DC8-5EAA-867D-00C813F553F9\\",\\n \\"LLMConfigId\\": \\"llm_config1\\"\\n}","type":"json"}]', + 'title' => '创建大模型配置信息', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLLMConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式,取值如下:'."\n" - ."\n" - .'- Asc - 升序排列。'."\n" - ."\n" - .'- Desc - 降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateLabelTable' => [ + 'summary' => '创建 Label 表。Label 表定义标签数据的表结构,供模型特征引用。', + 'path' => '/api/v1/instances/{InstanceId}/labeltables', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], + 'AK' => [], ], ], - 'responses' => [ - 200 => [ + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featurestore-test1'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Datasources' => [ - 'title' => '数据源列表。', - 'description' => '数据源列表。', + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + 'Name' => ['title' => 'label表名称。', 'description' => 'Label表名称。', 'type' => 'string', 'required' => true, 'example' => 'rec_test'], + 'DatasourceId' => ['title' => 'label表所在数据源ID。', 'description' => 'Label表所在数据源ID,可从接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + 'Fields' => [ + 'title' => '字段列表。', + 'description' => '字段列表。', 'type' => 'array', 'items' => [ + 'description' => '字段。', 'type' => 'object', 'properties' => [ - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'required' => true, 'example' => 'lat'], 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '数据源类型。'."\n" - ."\n" - .'- Hologres'."\n" - .'- Redis'."\n" - .'- MaxCompute', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '资源地址。', - 'type' => 'string', - 'example' => 'igraph_instance1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '资源配置。', - 'type' => 'string', - 'example' => '{"address": ""}', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', + 'title' => '字段类型。', + 'description' => '字段类型。', 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', + 'required' => true, + 'example' => 'INT32', + 'enum' => ['INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BOOLEAN', 'TIMESTAMP'], ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '32324', + 'Attributes' => [ + 'title' => '字段属性列表,可选值包括:'."\n" + .'● Partition-分区字段'."\n" + .'● FeatureField-特征字段。'."\n" + .'● FeatureGenerationReserveField-FG保留字段'."\n" + .'● EventTime-事件时间'."\n" + .'● LabelField-Label字段。', + 'description' => '字段属性列表,可选值包括:'."\n" + ."\n" + .'● Partition-分区字段。'."\n" + ."\n" + .'● FeatureField-特征字段。'."\n" + ."\n" + .'● FeatureGenerationReserveField-FG保留字段。'."\n" + ."\n" + .'● EventTime-事件时间。'."\n" + ."\n" + .'● LabelField-Label字段。', + 'type' => 'array', + 'items' => [ + 'description' => '字段属性。', + 'type' => 'string', + 'required' => false, + 'example' => 'Partition', + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'], + ], + 'required' => true, ], + 'AlignedEntityName' => ['title' => '对应哪个特征实体', 'type' => 'string', 'example' => 'item'], ], + 'required' => true, ], + 'required' => true, ], ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FA90B3B-F30A-5C9D-A9FD-8114F8868062'], + 'LabelTableId' => ['title' => 'label表ID。', 'description' => 'Label表ID。', 'type' => 'string', 'example' => '1'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建label表', + 'changeSet' => [ + ['createdAt' => '2025-07-15T08:31:33.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Datasources\\": [\\n {\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"32324\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取数据源列表', - ], - 'GetDatasource' => [ - 'summary' => '获取数据源详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLabelTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FA90B3B-F30A-5C9D-A9FD-8114F8868062\\",\\n \\"LabelTableId\\": \\"1\\"\\n}","type":"json"}]', + ], + 'CreateModelFeature' => [ + 'summary' => '创建模型特征。模型特征关联一张 Label 表和一组特征视图字段,用于生成模型训练所需的训练集表和指定模型推理使用的特征集合。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189325', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => false, 'example' => 'fs-cn-********'], ], [ - 'name' => 'DatasourceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '数据源ID,可通过接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'datasource1', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'ProjectId' => ['title' => '项目ID,可从接口ListProjects获取。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + 'Name' => ['title' => '模型特征名称。', 'description' => '模型特征名称。', 'type' => 'string', 'required' => true, 'example' => 'model_feature_1'], + 'LabelTableId' => ['title' => 'Label表ID,可从接口ListLabelTables获取。', 'description' => 'Label表ID,可从接口ListLabelTables获取。', 'type' => 'string', 'required' => true, 'example' => '4'], + 'Features' => [ + 'title' => '特征列表。', + 'description' => '特征列表。', + 'type' => 'array', + 'items' => [ + 'description' => '特征。', + 'type' => 'object', + 'properties' => [ + 'FeatureViewId' => ['title' => '特征视图ID。', 'description' => '特征视图ID,可从接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '5'], + 'Name' => ['title' => '特征名称。', 'description' => '特征名称。', 'type' => 'string', 'required' => true, 'example' => 'user_id'], + 'AliasName' => ['title' => '特征别名。', 'description' => '特征别名。', 'type' => 'string', 'required' => false, 'example' => 'userid'], + 'Type' => ['title' => '特征类型。'."\n" + .'● INT32'."\n" + .'● INT64'."\n" + .'● FLOAT'."\n" + .'● DOUBLE'."\n" + .'● STRING'."\n" + .'● BOOLEAN'."\n" + .'● TIMESTAMP', 'description' => '特征类型。'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP', 'type' => 'string', 'required' => true, 'example' => 'STRING'], + 'PrefixName' => ['title' => '特征前缀', 'type' => 'string', 'example' => 'cand_seq__'], + ], + 'required' => false, + ], + 'required' => true, + ], + 'SequenceFeatureViewIds' => [ + 'title' => '序列特征IDs。', + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'description' => ''], + 'required' => false, + 'description' => '序列特征IDs。', + ], + 'LabelPriorityLevel' => ['title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'description' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。'], + ], + 'required' => false, ], ], ], @@ -1149,132 +1027,143 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AD7D9E95-BD31-53F2-B710-6C01866FCB05', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '数据源类型,包含以下可选值:'."\n" - ."\n" - .'- Hologres'."\n" - .'- Redis'."\n" - .'- MaxCompute', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '资源地址。', - 'type' => 'string', - 'example' => 'igraph_instance1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '资源配置。', - 'type' => 'string', - 'example' => '{"address": ""}', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '32244', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'ModelFeatureId' => ['title' => '模型特征ID。', 'description' => '模型特征ID。', 'type' => 'string', 'example' => '3'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建模型特征', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2024-09-03T08:10:50.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-30T02:07:07.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD7D9E95-BD31-53F2-B710-6C01866FCB05\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"WorkspaceId\\": \\"32244\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', - 'title' => '获取数据源详细信息', - ], - 'UpdateDatasource' => [ - 'summary' => '更新数据源信息,例如更新数据源名称。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModelFeature'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ModelFeatureId\\": \\"3\\"\\n}","type":"json"}]', + ], + 'CreateProject' => [ + 'summary' => '创建 FeatureStore 项目。项目是特征实体、特征视图、模型特征的容器。', + 'path' => '/api/v1/instances/{InstanceId}/projects', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['title' => 'The ID of the FeatureStore Instance. Call the ListInstances operation to query the list.', 'description' => 'FeatureStore 实例 ID。可通过 ListInstances 接口获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => 'The name of the project, unique within the Instance. The name must be 2 to 18 characters in length, start with a letter, and contain only letters, digits, and underscores (pattern: `^[a-zA-Z][a-zA-Z0-9_]+$`).', 'description' => '项目名称,在实例内唯一。长度 2~18 字符,以字母开头,只能包含字母、数字和下划线(正则:^[a-zA-Z][a-zA-Z0-9_]+$)。', 'type' => 'string', 'required' => true, 'example' => 'project1'], + 'WorkspaceId' => ['title' => 'The ID of the PAI workspace (numeric string).', 'description' => 'PAI工作空间ID,可通过[ListWorkspaces](~~449124~~)获取。', 'type' => 'string', 'required' => true, 'example' => '324'], + 'Description' => ['title' => 'The description of the project, shown in the PAI console.', 'description' => '项目描述,展示在 PAI 控制台。', 'type' => 'string', 'required' => false, 'example' => 'This is a test.'], + 'OfflineDatasourceId' => ['title' => 'The ID of the offline datasource. Must be a **MaxCompute** datasource. Call the ListDatasources operation to query available datasources.', 'description' => '离线数据源 ID,必须是 **MaxCompute** 类型。可通过 ListDatasources 接口获取。', 'type' => 'string', 'required' => true, 'example' => '4'], + 'OfflineLifeCycle' => ['title' => 'The TTL (in days) of offline tables that FeatureStore creates itself. Does not affect user-registered tables (those specified with RegisterTable). Default value: 0 (disable auto cleanup).', 'description' => 'FeatureStore 自建离线表的保留天数,不影响用户通过 RegisterTable 注册的已有表。默认值:0(不自动清理)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '90'], + 'OnlineDatasourceId' => ['title' => 'The ID of the online datasource. Valid types:\\n\\n* **Hologres**\\n* **TableStore**\\n* **FeatureDB**\\n\\nCall the ListDatasources operation to query available datasources.', 'description' => '在线数据源 ID,支持 **Hologres**、**TableStore** 或 **FeatureDB** 类型。可通过 ListDatasources 接口获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + 'required' => false, ], ], - [ - 'name' => 'DatasourceId', - 'in' => 'path', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '数据源ID,可通过接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '977ADE3A-D69D-58AD-8323-96E2FB898E99'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"977ADE3A-D69D-58AD-8323-96E2FB898E99\\",\\n \\"ProjectId\\": \\"3\\"\\n}","type":"json"}]', + 'title' => '创建项目', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateServiceIdentityRole' => [ + 'summary' => '创建服务关联角色,授权 FeatureStore 服务访问用户的其他云资源。角色已存在时返回冲突错误。', + 'path' => '/api/v1/serviceidentityroles', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -1283,27 +1172,7 @@ 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '数据源名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'datasource1', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '资源地址。', - 'type' => 'string', - 'required' => true, - 'example' => 'igraph_instance1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '资源配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{"address": ""}', - ], + 'RoleName' => ['title' => '服务账户角色名称。', 'description' => '服务账户角色名称。', 'type' => 'string', 'required' => true, 'example' => 'AliyunServiceRoleForFeatureStore'], ], 'required' => false, ], @@ -1316,75 +1185,66 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'RoleName' => ['title' => '服务账户角色名称。', 'description' => '服务账户角色名称。', 'type' => 'string', 'example' => 'AliyunServiceRoleForFeatureStore'], + 'Code' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => 'ServiceLinkedRoleAlreadyExistsErrorProblem'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForFeatureStore\\",\\n \\"Code\\": \\"ServiceLinkedRoleAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', + 'title' => '创建服务账户角色', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceIdentityRole'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateServiceIdentityRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', - 'title' => '更新数据源', ], 'DeleteDatasource' => [ - 'summary' => '删除指定数据源。', + 'summary' => '从 FeatureStore 实例中删除数据源。', 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => 'The ID of the FeatureStore Instance. Call the ListInstances operation to query the list.', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '数据源ID,可通过接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => 'The ID of the datasource. Call the ListDatasources operation to query the list.', 'description' => '数据源ID,可通过接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -1394,231 +1254,403 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E2E1575F-29D1-5579-B649-B7883A793562', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'E2E1575F-29D1-5579-B649-B7883A793562'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E2E1575F-29D1-5579-B649-B7883A793562\\"\\n}","type":"json"}]', 'title' => '删除数据源', - ], - 'ListDatasourceFeatureViews' => [ - 'summary' => '获取数据源下所有特征视图信息。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/featureviews', - 'methods' => [ - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDatasource'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteFeatureEntity' => [ + 'summary' => '删除特征实体。', + 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '259270', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'DatasourceId', + 'name' => 'FeatureEntityId', 'in' => 'path', + 'schema' => ['title' => '特征实体ID,可从接口ListFeatureEntities获取。', 'description' => '特征实体ID,可从接口ListFeatureEntities获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '数据源ID,可通过接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\"\\n}","type":"json"}]', + 'title' => '删除特征实体', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureEntity'], + ], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteFeatureView' => [ + 'summary' => '删除特征视图。被模型特征引用的特征视图无法删除,需先删除关联的模型特征。', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'Order', - 'in' => 'query', + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['title' => '特征视图ID,可通过接口ListFeatureViews获取。', 'description' => '特征视图ID,可通过接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', + 'title' => '删除特征视图', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureView'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '项目ID,可通过接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteLLMConfig' => [ + 'summary' => '删除 LLM 调用配置。被特征视图引用的配置无法删除,需先删除关联的特征视图。', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '特征视图名称模糊过滤。', - 'description' => '特征视图名称模糊过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'fv', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'title' => '特征视图类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-序列特征', - 'description' => '特征视图类型。'."\n" - .'- Batch-离线特征'."\n" - .'- Stream-实时特征'."\n" - .'- Sequence-序列特征', - 'type' => 'string', - 'required' => false, - 'example' => 'Stream', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'All', - 'in' => 'query', + 'name' => 'LLMConfigId', + 'in' => 'path', + 'schema' => ['title' => '大模型调用信息配置ID。', 'description' => '大模型调用信息配置ID。', 'type' => 'string', 'required' => true, 'example' => 'llm_config1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '是否返回所有数据(不分页)。', - 'description' => '是否返回所有数据(不分页)。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', + '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' => '96EE513F-8626-50B8-B046-D57FD3D037C2'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96EE513F-8626-50B8-B046-D57FD3D037C2\\"\\n}","type":"json"}]', + 'title' => '删除大模型配置信息', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLLMConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ProjectName', - 'in' => 'query', - 'schema' => [ - 'title' => '项目名称过滤。', - 'description' => '项目名称过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'fs_project', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteLabelTable' => [ + 'summary' => '删除 Label 表。被模型特征引用的 Label 表无法删除,需先删除关联的模型特征。', + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartDate', - 'in' => 'query', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'LabelTableId', + 'in' => 'path', + 'schema' => ['title' => 'Label表ID,可从接口ListLabelTables获取。', 'description' => 'Label表ID,可从接口ListLabelTables获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '查询读写量的起始时间,格式为yyyy-mm-dd。', - 'description' => '查询读写量的起始时间,格式为yyyy-mm-dd。', - 'type' => 'string', - 'required' => false, - 'example' => '2025-03-14', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FFD39C0F-DD8D-51B2-864E-2842206DB0E8'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFD39C0F-DD8D-51B2-864E-2842206DB0E8\\"\\n}","type":"json"}]', + 'title' => '删除label表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLabelTable'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EndDate', - 'in' => 'query', - 'schema' => [ - 'title' => '查询读写量的截止时间,格式为yyyy-mm-dd。', - 'description' => '查询读写量的截止时间,格式为yyyy-mm-dd。', - 'type' => 'string', - 'required' => false, - 'example' => '2025-03-19', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteModelFeature' => [ + 'summary' => '删除模型特征,同时删除关联的训练集表。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Verbose', - 'in' => 'query', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['title' => '模型特征ID,可从接口ListModelFeatures获取。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '4'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '是否展示详细信息。如果设置为false,则不展示每个视图的UsageStatistics,只展示总量。默认为true。', - 'description' => '是否展示详细信息。如果设置为false,则不展示每个视图的UsageStatistics,只展示总量。默认为true。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\"\\n}","type":"json"}]', + 'title' => '删除模型特征', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteModelFeature'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ShowStorageUsage', - 'in' => 'query', - 'schema' => [ - 'title' => '是否展示存储用量,默认为true。', - 'description' => '是否展示存储用量,默认为true。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], + ], + 'DeleteProject' => [ + 'summary' => '删除 FeatureStore 项目。', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'ProjectId', + 'in' => 'path', + 'schema' => ['title' => '项目ID,可通过接口ListProjects获取。', 'description' => '项目ID,可通过接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ @@ -1626,273 +1658,260 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0', - ], - 'TotalUsageStatistics' => [ - 'title' => '用量统计综合。仅使用FeatureDB的特征视图展示。', - 'description' => '用量统计综合。仅使用FeatureDB的特征视图展示。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0DA35264-0877-5852-8971-7735B547C969'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DA35264-0877-5852-8971-7735B547C969\\"\\n}","type":"json"}]', + 'title' => '删除项目', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ExportModelFeatureTrainingSetTable' => [ + 'summary' => '导出模型特征的训练集表。配置 Label 表输入、各特征视图的数据源分区和训练集输出分区,创建导出任务。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '189386', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口[ListInstances](~~2787137~~)获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['title' => '模型特征ID,可从接口ListModelFeatures获取。', 'description' => '模型特征ID,可从接口[ListModelFeatures](~~2787184~~)获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'LabelInputConfig' => [ + 'title' => 'Label输入配置。', + 'description' => 'Label输入配置。', 'type' => 'object', 'properties' => [ - 'TotalDiskUsage' => [ - 'title' => '磁盘存储用量总和。', - 'description' => '磁盘存储用量总和。', - 'type' => 'number', - 'format' => 'double', - 'example' => '12.3', - ], - 'TotalMemoryUsage' => [ - 'title' => '内存存储用量总和。', - 'description' => '内存存储用量总和。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.23', - ], - 'TotalReadWriteCount' => [ - 'title' => '读写次数总量统计。', - 'description' => '读写次数总量统计。', - 'type' => 'array', - 'items' => [ + 'Partitions' => [ + 'title' => '分区列表。', + 'description' => '分区列表。', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'title' => '日期。', - 'description' => '日期。', - 'type' => 'string', - 'example' => '2025-03-18T00:00:00+08:00', - ], - 'TotalWriteCount' => [ - 'title' => '写入次数总量。', - 'description' => '写入次数总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'TotalReadCount' => [ - 'title' => '读取次数总量。', - 'description' => '读取次数总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '456', - ], - ], + 'additionalProperties' => ['type' => 'string', 'description' => '分区日期', 'example' => '20230101'], + 'description' => '分区字段的映射。', ], ], + 'EventTime' => ['title' => '事件时间。', 'description' => '事件时间。', 'type' => 'string', 'required' => false, 'example' => '2022-07-02 00:00:00'], ], + 'required' => false, ], - 'FeatureViews' => [ - 'title' => '特征视图列表。', - 'description' => '特征视图列表。', - 'type' => 'array', - 'items' => [ + 'FeatureViewConfig' => [ + 'title' => '特征视图配置。', + 'description' => '特征视图配置映射表。', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'example' => 'fv1', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'p1', - ], - 'Type' => [ - 'title' => '特征视图类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-序列特征', - 'description' => '特征视图类型。'."\n" - .'- Batch-离线特征'."\n" - .'- Stream-实时特征'."\n" - .'- Sequence-序列特征', - 'type' => 'string', - 'example' => 'Batch', - ], - 'FeatureEntityName' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'example' => 'user', - ], - 'TTL' => [ - 'title' => '生命周期。单位:秒。', - 'description' => '生命周期。单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '86400', - ], - 'Config' => [ - 'title' => '特征视图配置。仅使用FeatureDB的特征视图有值,展示分片数和副本数信息。', - 'description' => '特征视图配置。仅使用FeatureDB的特征视图有值,展示分片数和副本数信息。', - 'type' => 'string', - 'example' => '{"shard_count":5,"replication_count":1}', + 'Partitions' => [ + 'title' => '分区列表。', + 'description' => '分区列表。', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '分区值。', 'description' => '分区值。', 'type' => 'string', 'required' => false, 'example' => '20230101'], + 'Values' => [ + 'title' => '分区列表。', + 'description' => '分区列表。', + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'description' => '分区列表。', 'example' => '20230101'], + 'required' => false, + ], + 'StartValue' => ['title' => '开始时间分区。', 'description' => '开始时间分区。', 'type' => 'string', 'required' => false, 'example' => '20230101'], + 'EndValue' => ['title' => '结束时间分区。', 'description' => '结束时间分区。', 'type' => 'string', 'required' => false, 'example' => '20230202'], + ], + 'description' => '分区字段的映射。', + ], ], - 'UsageStatistics' => [ - 'title' => '用量统计。仅使用FeatureDB的特征视图展示。', - 'description' => '用量统计。仅使用FeatureDB的特征视图展示。', + 'EventTime' => ['title' => '事件时间。', 'description' => '事件时间。', 'type' => 'string', 'required' => false, 'example' => '1721186536'], + 'Equal' => ['title' => '是否与事件时间相等。', 'description' => '是否与事件时间相等。', 'type' => 'boolean', 'required' => false, 'example' => 'False'], + 'UseMock' => ['title' => '是否使用模拟数据表。', 'description' => '是否使用模拟数据表。', 'type' => 'boolean', 'required' => false, 'example' => 'True'], + 'Snapshot' => [ 'type' => 'object', 'properties' => [ - 'RowCount' => [ - 'title' => '行数。', - 'description' => '行数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'DiskUsage' => [ - 'title' => '磁盘存储用量。', - 'description' => '磁盘存储用量。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.23', - ], - 'MemoryUsage' => [ - 'title' => '内存存储用量。', - 'description' => '内存存储用量。', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.12', - ], - 'ReadWriteCount' => [ - 'title' => '读写次数统计。', - 'description' => '读写次数统计。', - 'type' => 'array', - 'items' => [ + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'title' => '日期。', - 'description' => '日期。', - 'type' => 'string', - 'example' => '2025-03-18T00:00:00+08:00', - ], - 'WriteCount' => [ - 'title' => '写入次数。', - 'description' => '写入次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'ReadCount' => [ - 'title' => '读取次数。', - 'description' => '读取次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', + 'Value' => ['type' => 'string', 'required' => false, 'example' => '20260101', 'description' => ''], + 'Values' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'description' => ''], + 'required' => false, + 'description' => '', ], + 'StartValue' => ['type' => 'string', 'required' => false, 'description' => ''], + 'EndValue' => ['type' => 'string', 'required' => false, 'description' => ''], ], + 'description' => '', ], + 'description' => '', ], + 'Table' => ['type' => 'string', 'required' => false, 'example' => 'table_name', 'description' => ''], ], + 'required' => false, + 'description' => '', + ], + 'SecondJoinKey' => ['type' => 'string', 'required' => false, 'example' => 'request_id', 'description' => '第二联接键。'], + 'JoinWithLabel' => ['title' => '是否和 label 表 Join', 'type' => 'boolean'], + ], + 'description' => '特征视图配置。', + ], + ], + 'TrainingSetConfig' => [ + 'title' => '训练集配置。', + 'description' => '训练集配置。', + 'type' => 'object', + 'properties' => [ + 'Partitions' => [ + 'title' => '分区列表。', + 'description' => '分区列表。', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string', 'description' => '分区日期。', 'example' => '20230101'], + 'description' => '分区字段的映射。', ], ], ], + 'required' => false, ], + 'RealTimeIterateInterval' => ['title' => '实时特征轮询拉取间隔。', 'description' => '实时特征轮询拉取间隔。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'RealTimePartitionCountValue' => ['title' => '实时特征视图分区统计天数。', 'description' => '实时特征视图分区统计天数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'], ], + 'required' => false, ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\",\\n \\"TotalUsageStatistics\\": {\\n \\"TotalDiskUsage\\": 12.3,\\n \\"TotalMemoryUsage\\": 1.23,\\n \\"TotalReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"TotalWriteCount\\": 123,\\n \\"TotalReadCount\\": 456\\n }\\n ]\\n },\\n \\"FeatureViews\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Name\\": \\"fv1\\",\\n \\"ProjectName\\": \\"p1\\",\\n \\"Type\\": \\"Batch\\",\\n \\"FeatureEntityName\\": \\"user\\",\\n \\"TTL\\": 86400,\\n \\"Config\\": \\"{\\\\\\"shard_count\\\\\\":5,\\\\\\"replication_count\\\\\\":1}\\",\\n \\"UsageStatistics\\": {\\n \\"RowCount\\": 10000,\\n \\"DiskUsage\\": 1.23,\\n \\"MemoryUsage\\": 0.12,\\n \\"ReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"WriteCount\\": 100,\\n \\"ReadCount\\": 200\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取数据源下所有特征视图信息', - ], - 'ListDatasourceTables' => [ - 'summary' => '获取指定数据源下的数据表的列表。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables', - 'methods' => [ - 'get', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '请求ID。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B'], + 'TaskId' => ['title' => '任务ID。', 'description' => '任务ID。', 'type' => 'string', 'example' => '51'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '导出模型特征的训练集表', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2024-12-18T07:08:26.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-03T08:10:50.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-07-12T03:35:04.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-09-13T09:48:31.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-09-08T11:53:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportModelFeatureTrainingSetTable'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:ExportModelFeatureTrainingSetTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"TaskId\\": \\"51\\"\\n}","type":"json"}]', + ], + 'GetDatasource' => [ + 'summary' => '获取数据源详细信息,包括类型、连接信息和配置。', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188514', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => 'The ID of the FeatureStore Instance. Call the ListInstances operation to query the list.', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-********'], ], [ 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID,可从接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'title' => '表名过滤。', - 'description' => '表名过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'table1', - ], - ], - [ - 'name' => 'SchemaName', - 'in' => 'query', - 'schema' => [ - 'title' => 'Schema名称。', - 'description' => 'Schema名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['title' => 'The ID of the datasource. Call the ListDatasources operation to query the list.', 'description' => '数据源ID,可通过接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => 'datasource1'], ], ], 'responses' => [ @@ -1902,60 +1921,61 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Tables' => [ - 'title' => '数据表列表。', - 'description' => '数据表列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据表表名。', - 'type' => 'string', - 'example' => 'table1', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AD7D9E95-BD31-53F2-B710-6C01866FCB05'], + 'DatasourceId' => ['title' => 'The ID of the datasource.', 'description' => '数据源ID。', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => 'The name of the datasource.', 'description' => '数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'Type' => ['title' => 'The type of the datasource: **MaxCompute**, **Hologres**, **TableStore**, or **FeatureDB**.', 'description' => '数据源类型,包含以下可选值:'."\n" + ."\n" + .'- Hologres'."\n" + .'- Redis'."\n" + .'- MaxCompute', 'type' => 'string', 'example' => 'Hologres'], + 'Uri' => ['title' => 'The resource identifier. Format depends on Type: MaxCompute — project name; Hologres — `<instanceId>/<database>`; TableStore — instance name; FeatureDB — not used.', 'description' => '资源地址。', 'type' => 'string', 'example' => 'igraph_instance1'], + 'Config' => ['title' => 'The type-specific configuration (JSON string). Keys vary by Type: MaxCompute/TableStore — not used; Hologres — may contain `vpc_id`, `vswitch_id`; FeatureDB — may contain `username`, `password`, `vpc_id`, `vswitch_ids`.', 'description' => '资源配置。', 'type' => 'string', 'example' => '{"address": ""}'], + 'WorkspaceId' => ['title' => 'The ID of the PAI workspace.', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '32244'], + 'GmtCreateTime' => ['title' => 'The time when the datasource was created.', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => 'The time when the datasource was last updated.', 'description' => '更新时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD7D9E95-BD31-53F2-B710-6C01866FCB05\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"WorkspaceId\\": \\"32244\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', + 'title' => '获取数据源详细信息', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-01-29T07:38:08.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"TotalCount\\": 10,\\n \\"Tables\\": [\\n \\"table1\\"\\n ]\\n}","type":"json"}]', - 'title' => '获取数据源下的数据表列表', ], 'GetDatasourceTable' => [ - 'summary' => '获取数据源下指定表的详细信息。', + 'summary' => '获取数据源中指定表的字段信息。仅支持 MaxCompute 类型数据源。', 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables/{TableName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -1963,43 +1983,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188515', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID,可从接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '数据源ID。', 'description' => '数据源ID,可从接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ 'name' => 'TableName', 'in' => 'path', - 'schema' => [ - 'title' => '数据表名称。', - 'description' => '数据表名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'table1', - ], + 'schema' => ['title' => '数据表名称。', 'description' => '数据表名称。', 'type' => 'string', 'required' => true, 'example' => 'table1'], ], ], 'responses' => [ @@ -2009,18 +2009,8 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D7B2F8C4-49C7-5CFA-8075-9D715A114873', - ], - 'TableName' => [ - 'title' => '数据表名称。', - 'description' => '数据表名称。', - 'type' => 'string', - 'example' => 'table1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D7B2F8C4-49C7-5CFA-8075-9D715A114873'], + 'TableName' => ['title' => '数据表名称。', 'description' => '数据表名称。', 'type' => 'string', 'example' => 'table1'], 'Fields' => [ 'title' => '字段列表。', 'description' => '字段列表。', @@ -2029,39 +2019,29 @@ 'description' => '字段。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '字段名称。', - 'type' => 'string', - 'example' => 'field1', - ], - 'Type' => [ - 'title' => '字段类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '字段类型,可选的值包括:'."\n" - ."\n" - .'● INT32'."\n" - ."\n" - .'● INT64'."\n" - ."\n" - .'● FLOAT'."\n" - ."\n" - .'● DOUBLE'."\n" - ."\n" - .'● STRING'."\n" - ."\n" - .'● BOOLEAN'."\n" - ."\n" - .'● TIMESTAMP', - 'type' => 'string', - 'example' => 'INT32', - ], + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'example' => 'field1'], + 'Type' => ['title' => '字段类型。'."\n" + .'● INT32'."\n" + .'● INT64'."\n" + .'● FLOAT'."\n" + .'● DOUBLE'."\n" + .'● STRING'."\n" + .'● BOOLEAN'."\n" + .'● TIMESTAMP', 'description' => '字段类型,可选的值包括:'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP', 'type' => 'string', 'example' => 'INT32'], 'Attributes' => [ 'title' => '字段属性列表,可能出现的值包括:'."\n" .'● Partition-分区字段'."\n" @@ -2075,11 +2055,7 @@ ."\n" .'● PrimaryKey-主键', 'type' => 'array', - 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'example' => 'Partition', - ], + 'items' => ['description' => '字段属性。', 'type' => 'string', 'example' => 'Partition'], ], ], ], @@ -2088,294 +2064,136 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D7B2F8C4-49C7-5CFA-8075-9D715A114873\\",\\n \\"TableName\\": \\"table1\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"field1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => '获取数据源下指定表的详细信息', - ], - 'CreateLLMConfig' => [ - 'summary' => '创建大模型调用信息配置。', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasourceTable'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasourceTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFeatureEntity' => [ + 'summary' => '获取特征实体详细信息。', + 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '大模型配置信息结构体。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '大模型调用信息配置名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config1', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '模型名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'text-embedding-v1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '大模型调用密钥。', - 'type' => 'string', - 'required' => true, - 'example' => 'api-xyz', - ], - 'BaseUrl' => [ - 'title' => '大模型调用信息基础链接。', - 'description' => '大模型调用信息基础链接。', - 'type' => 'string', - 'required' => false, - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒并发请求数。', - 'description' => '每秒并发请求数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '一行最大输入 token 数。', - 'description' => '最大输入 token 数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '8192', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '一次批处理大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '8', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => true, - 'example' => '234', - ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1024', - ], - ], - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实力ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'InstanceId', + 'name' => 'FeatureEntityId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-test1', - ], + 'schema' => ['title' => '特征实体ID,可从接口ListFeatureEntities获取。', 'description' => '特征实体ID,可从接口ListFeatureEntities获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], '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' => 'DD19A0E2-0DC8-5EAA-867D-00C813F553F9', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '大模型调用信息配置ID。', - 'type' => 'string', - 'example' => 'llm_config1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D'], + 'Name' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'example' => 'feature_entity_1'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project_1'], + 'JoinId' => ['title' => '关联特征视图用的join id。', 'description' => '关联特征视图用的Join ID。', 'type' => 'string', 'example' => 'user_id'], + 'Owner' => ['title' => '创建人。', 'description' => '创建者的阿里云账号ID。', 'type' => 'string', 'example' => '123456789*****'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'ParentFeatureEntityId' => ['title' => '父特征实体ID。为空或为0则表示为根特征实体。', 'description' => '父特征实体ID。为空或为0则表示为根特征实体。', 'type' => 'string', 'example' => '1'], + 'ParentFeatureEntityName' => ['title' => '父特征实体名称。', 'description' => '父特征实体名称。', 'type' => 'string', 'example' => 'user'], + 'ParentJoinId' => ['title' => '父特征实体的JoinID。', 'description' => '父特征实体的JoinID。', 'type' => 'string', 'example' => 'user_id'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"Owner\\": \\"123456789*****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"ParentFeatureEntityId\\": \\"1\\",\\n \\"ParentFeatureEntityName\\": \\"user\\",\\n \\"ParentJoinId\\": \\"user_id\\"\\n}","type":"json"}]', + 'title' => '获取特征实体详细信息', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:05.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD19A0E2-0DC8-5EAA-867D-00C813F553F9\\",\\n \\"LLMConfigId\\": \\"llm_config1\\"\\n}","type":"json"}]', - 'title' => '创建大模型配置信息', - ], - 'ListLLMConfigs' => [ - 'summary' => '获取大模型调用信息配置。', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureEntity'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188637', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-XXXXXXX', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'required' => false, - 'example' => '234', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '大模型调用信息配置名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'llm_config_1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:如果NextToken为空表示没有下一次查询。 如果NextToken有返回值,该取值表示下一次查询开始的令牌。', - 'type' => 'string', - 'required' => false, - 'example' => 'None', - ], + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['title' => '特征视图ID,可通过接口ListFeatureViews获取。', 'description' => '特征视图ID,可通过接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -2385,198 +2203,183 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '898DB17C-09E9-5C41-909D-269BA183EB92', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'LLMConfigs' => [ - 'title' => '大模型配置信息字段。', - 'description' => '大模型配置信息字段。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'FeatureEntityName' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'example' => 'featureEntity1'], + 'Name' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'featureView1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'example' => '12321421412****'], + 'Type' => ['title' => '类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征', 'description' => '类型。'."\n" + ."\n" + .'● Batch-离线特征'."\n" + ."\n" + .'● Stream-实时特征', 'type' => 'string', 'example' => 'Batch'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'FeatureEntityId' => ['title' => '特征实体ID。', 'description' => '特征实体ID。', 'type' => 'string', 'example' => '3'], + 'JoinId' => ['title' => '特征实体的joinid。', 'description' => '特征实体的Join ID。', 'type' => 'string', 'example' => 'user_id'], + 'WriteMethod' => ['title' => '写入方式。'."\n" + .'● ByReadyMadeTable-使用现成表注册'."\n" + .'● Custom-自定义表结构', 'description' => '写入方式。'."\n" + ."\n" + .'● ByReadyMadeTable-使用现成表注册'."\n" + ."\n" + .'● Custom-自定义表结构', 'type' => 'string', 'example' => 'custom'], + 'RegisterTable' => ['title' => '注册表名称。', 'description' => '注册表名称。', 'type' => 'string', 'example' => 'table1'], + 'RegisterDatasourceId' => ['title' => '注册表所在数据源ID。', 'description' => '注册表所在数据源ID。', 'type' => 'string', 'example' => '4'], + 'RegisterDatasourceName' => ['title' => '注册表所在数据源名称。', 'description' => '注册表所在数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'WriteToFeatureDB' => ['title' => '是否写入在线托管存储。', 'description' => '是否写入在线托管存储。', 'type' => 'boolean', 'example' => 'false'], + 'SyncOnlineTable' => ['title' => '是否同步在线特征表。', 'description' => '是否同步在线特征表。', 'type' => 'boolean', 'example' => 'true'], + 'TTL' => ['title' => '生命周期。', 'description' => '生命周期。', 'type' => 'integer', 'format' => 'int32', 'example' => '86400'], + 'Tags' => [ + 'title' => '标签列表。', + 'description' => '标签列表。', + 'type' => 'array', + 'items' => ['description' => '特征视图的标签。', 'type' => 'string', 'example' => 'tag1'], + ], + 'Config' => ['title' => '配置。', 'description' => '配置。', 'type' => 'string', 'example' => '{"save_original_field":true}'], + 'GmtSyncTime' => ['title' => '同步时间。', 'description' => '同步时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'LastSyncConfig' => ['title' => '最近一次的同步配置。', 'description' => '最近一次的同步配置。', 'type' => 'string', 'example' => '{'."\n" + .' "mode": "overwrite",'."\n" + .' "partitions": {'."\n" + .' "ds": {'."\n" + .' "value": "20230820"'."\n" + .' }'."\n" + .' },'."\n" + .' "event_time": "",'."\n" + .' "config": {},'."\n" + .' "offline_to_online": true'."\n" + .'}'], + 'Fields' => [ + 'title' => '字段列表。', + 'description' => '字段列表。', 'type' => 'array', 'items' => [ - 'description' => '大模型配置信息字段。', 'type' => 'object', 'properties' => [ - 'LLMConfigId' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '大模型调用信息配置ID。', - 'type' => 'string', - 'example' => 'llm_config1', - ], - 'Name' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '大模型调用信息配置名称。', - 'type' => 'string', - 'example' => 'llm_config_name1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '大模型调用信息配置名称。', - 'type' => 'string', - 'example' => 'apikey-abcdxy', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '模型名称。', - 'type' => 'string', - 'example' => 'text-embedding-v1', - ], - 'BaseUrl' => [ - 'title' => '配置基础调用链接。', - 'description' => '配置基础调用链接。', - 'type' => 'string', - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒钟最大并发调用次数。', - 'description' => '每秒钟最大并发调用次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '单行最大处理Token数。', - 'description' => '单行最大处理Token数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '修改时间。', - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'ResourceGroupId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-aek2vtzqjaohzqi', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '一次批处理大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '234', + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'example' => 'user'], + 'Type' => ['title' => '字段类型。'."\n" + .'● int'."\n" + .'● string'."\n" + .'● float', 'description' => '字段类型。'."\n" + ."\n" + .'● int'."\n" + ."\n" + .'● string'."\n" + ."\n" + .'● float', 'type' => 'string', 'example' => 'int'], + 'Attributes' => [ + 'title' => '字段属性列表,可选值包括:'."\n" + .'● Partition-分区字段'."\n" + .'● PrimaryKey-主键'."\n" + .'● EventTime-事件时间', + 'description' => '字段属性列表,可选值包括:'."\n" + ."\n" + .'● Partition-分区字段'."\n" + ."\n" + .'● PrimaryKey-主键'."\n" + ."\n" + .'● EventTime-事件时间', + 'type' => 'array', + 'items' => ['description' => '字段属性。', 'type' => 'string', 'example' => 'Partition'], ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'description' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', + 'Transform' => [ + 'title' => '特征生产配置。', + 'description' => '特征变换。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '特征生产类型。', 'description' => '特征变换类型。', 'type' => 'string', 'example' => 'LLMEmbedding'], + 'LLMConfigId' => ['title' => '大模型调用配置信息ID。', 'description' => '大模型配置信息Id。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Input' => [ + 'title' => '特征生产输入。', + 'description' => '输入。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '输入字段名称。', 'description' => '特征名称。', 'type' => 'string', 'example' => 'feature1'], + 'Type' => ['title' => '输入字段类型。', 'description' => '特征类型。', 'type' => 'string', 'example' => 'STRING'], + 'Modality' => ['description' => '多模态类型。', 'type' => 'string', 'example' => 'TEXT'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], ], + 'Dimension' => ['type' => 'integer', 'format' => 'int32', 'example' => '512'], ], + 'description' => '', ], - 'required' => true, - 'minItems' => 0, - ], - 'NextToken' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:如果NextToken为空表示没有下一次查询。 如果NextToken有返回值,该取值表示下一次查询开始的令牌。', - 'type' => 'string', - 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5', - ], - 'MaxResults' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', ], + 'PublishTableScript' => ['title' => '同步数据脚本', 'description' => '同步数据脚本。', 'type' => 'string', 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nimport datetime\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nfeature_view_name = \'user_fea\'\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\ntask.wait()\\ntask.print_summary()\\n'], + 'MockTableName' => ['title' => '实时特征视图模拟数据表名称', 'description' => '实时特征视图模拟数据表名称', 'type' => 'string', 'example' => 'item_table_mock_1'], ], ], ], - [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取特征视图详细信息', + 'summary' => '获取特征视图详细信息,包括字段定义、数据源绑定和同步状态。', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-05-26T03:08:41.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-05-14T07:57:55.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-12-18T07:08:26.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-03-25T06:53:33.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-01-29T07:38:08.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureView'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"898DB17C-09E9-5C41-909D-269BA183EB92\\",\\n \\"TotalCount\\": 10,\\n \\"LLMConfigs\\": [\\n {\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"apikey-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ResourceGroupId\\": \\"rg-aek2vtzqjaohzqi\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', - 'title' => '列举大模型配置信息', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"FeatureEntityName\\": \\"featureEntity1\\",\\n \\"Name\\": \\"featureView1\\",\\n \\"Owner\\": \\"12321421412****\\",\\n \\"Type\\": \\"Batch\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"WriteMethod\\": \\"custom\\",\\n \\"RegisterTable\\": \\"table1\\",\\n \\"RegisterDatasourceId\\": \\"4\\",\\n \\"RegisterDatasourceName\\": \\"datasource1\\",\\n \\"WriteToFeatureDB\\": false,\\n \\"SyncOnlineTable\\": true,\\n \\"TTL\\": 86400,\\n \\"Tags\\": [\\n \\"tag1\\"\\n ],\\n \\"Config\\": \\"{\\\\\\"save_original_field\\\\\\":true}\\",\\n \\"GmtSyncTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"LastSyncConfig\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"ds\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"value\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"user\\",\\n \\"Type\\": \\"int\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ],\\n \\"Transform\\": [\\n {\\n \\"Type\\": \\"LLMEmbedding\\",\\n \\"LLMConfigId\\": 1,\\n \\"Input\\": [\\n {\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"Modality\\": \\"TEXT\\"\\n }\\n ]\\n }\\n ],\\n \\"Dimension\\": 512\\n }\\n ],\\n \\"PublishTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nimport datetime\\\\\\\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nfeature_view_name = \'user_fea\'\\\\\\\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\\\\\\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\\\\\\\ntask.wait()\\\\\\\\ntask.print_summary()\\\\\\\\n\\",\\n \\"MockTableName\\": \\"item_table_mock_1\\"\\n}","type":"json"}]', ], - 'GetLLMConfig' => [ - 'summary' => '获取 LLMConfig 信息。', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetInstance' => [ + 'summary' => '获取 FeatureStore 实例详细信息。', + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '190265', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-********', - ], - ], - [ - 'name' => 'LLMConfigId', - 'in' => 'path', - 'schema' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '大模型调用信息配置ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config1', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'path', - 'schema' => [ - 'title' => '', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], ], 'responses' => [ @@ -2586,222 +2389,105 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '大模型调用信息配置ID。', - 'type' => 'string', - 'example' => 'llm_config1', - ], - 'Name' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '大模型调用信息配置名称。', - 'type' => 'string', - 'example' => 'llm_config_name1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => 'APIKey密钥信息。', - 'type' => 'string', - 'example' => 'api-abcdxy', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '模型名称。', - 'type' => 'string', - 'example' => 'text-embedding-v1', - ], - 'BaseUrl' => [ - 'title' => '配置基础调用链接。', - 'description' => '配置基础调用链接。', - 'type' => 'string', - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒钟调用次数。', - 'description' => '每秒钟调用次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '单行最大处理Token数。', - 'description' => '单行最大处理Token数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '修改时间。', - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '一次批处理大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '234', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882'], + 'Status' => ['title' => '状态。'."\n" + .'● Initializing-初始化中。'."\n" + .'● Running-运行中。'."\n" + .'● Failure-创建失败。'."\n" + .'● Stopped-停止服务。', 'description' => '状态。'."\n" + ."\n" + .'- Initializing:初始化中'."\n" + .'- Running:运行中'."\n" + .'- Failure:创建失败'."\n" + .'- Stopped:停止服务', 'type' => 'string', 'example' => 'Running'], + 'RegionId' => ['title' => '所属区域。', 'description' => '所属区域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'Progress' => ['title' => '实例生产进度。', 'description' => '实例生产进度。', 'type' => 'number', 'format' => 'double', 'example' => '0.8'], + 'Message' => ['title' => '实例生产日志信息。', 'description' => '实例生产日志信息。', 'type' => 'string', 'example' => 'Success'], + 'Type' => ['title' => '实例类型。', 'description' => '实例类型。', 'type' => 'string', 'example' => 'Basic'], + 'FeatureDBInstanceInfo' => [ + 'title' => '已废弃。请通过 FeatureDBInfo 获取FeatureDB实例信息。', + 'description' => 'FeatureDB实例信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '状态。', 'description' => '状态。', 'type' => 'string'], + ], + 'deprecated' => true, ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'description' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', + 'FeatureDBInfo' => [ + 'title' => 'FeatureDB实例信息。', + 'description' => 'FeatureDB实例信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '状态。', 'description' => '状态。', 'type' => 'string'], + ], ], ], ], ], - [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"Status\\": \\"Running\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"Progress\\": 0.8,\\n \\"Message\\": \\"Success\\",\\n \\"Type\\": \\"Basic\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n}","type":"json"}]', + 'title' => '获取实例详细信息', + 'changeSet' => [ + ['createdAt' => '2025-07-17T03:58:30.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-16T06:46:18.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"api-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024\\n}","type":"json"}]', - 'title' => '获取大模型配置信息', - ], - 'UpdateLLMConfig' => [ - 'summary' => '更新大模型调用信息配置。', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetLLMConfig' => [ + 'summary' => '查询 LLM 调用配置详情。', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-***', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-********'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '大模型配置信息。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '大模型调用信息名称。', - 'description' => '大模型调用信息名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'llm-config1', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '模型名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'text-embedding-v1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '大模型调用密钥。', - 'type' => 'string', - 'required' => true, - 'example' => 'apikey-***', - ], - 'BaseUrl' => [ - 'title' => '大模型调用基础链接。', - 'description' => '大模型调用基础链接。', - 'type' => 'string', - 'required' => true, - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒调用并发数。', - 'description' => '每秒调用并发数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '一行最大输入 token 数。', - 'description' => '一行最大输入 token 数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2048', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '一次批处理大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '8', - ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1024', - ], - ], - 'required' => false, - ], + 'name' => 'LLMConfigId', + 'in' => 'path', + 'schema' => ['title' => '大模型调用信息配置ID。', 'description' => '大模型调用信息配置ID。', 'type' => 'string', 'required' => true, 'example' => 'llm_config1'], ], [ - 'name' => 'LLMConfigId', + 'name' => 'RegionId', 'in' => 'path', - 'schema' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '大模型调用信息配置ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config_test1', - ], + 'schema' => ['title' => '', 'description' => '区域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], ], 'responses' => [ @@ -2811,74 +2497,83 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'LLMConfigId' => ['title' => '大模型调用信息配置ID。', 'description' => '大模型调用信息配置ID。', 'type' => 'string', 'example' => 'llm_config1'], + 'Name' => ['title' => '大模型调用信息配置名称。', 'description' => '大模型调用信息配置名称。', 'type' => 'string', 'example' => 'llm_config_name1'], + 'ApiKey' => ['title' => '大模型调用密钥。', 'description' => 'APIKey密钥信息。', 'type' => 'string', 'example' => 'api-abcdxy'], + 'Model' => ['title' => '模型名称。', 'description' => '模型名称。', 'type' => 'string', 'example' => 'text-embedding-v1'], + 'BaseUrl' => ['title' => '配置基础调用链接。', 'description' => '配置基础调用链接。', 'type' => 'string', 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1'], + 'Rps' => ['title' => '每秒钟调用次数。', 'description' => '每秒钟调用次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'MaxTokens' => ['title' => '单行最大处理Token数。', 'description' => '单行最大处理Token数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => '修改时间。', 'description' => '修改时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'BatchSize' => ['title' => '一次批处理大小。', 'description' => '一次批处理大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'WorkspaceId' => ['title' => '工作空间ID。', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '234'], + 'EmbeddingDimension' => ['title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', 'description' => '向量维度。为空或为0则按照模型各自的默认维度处理。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], + 'ModelType' => [ + 'type' => 'string', + 'enum' => ['MULTI_MODAL_EMBEDDING', 'TEXT_EMBEDDING'], + ], + 'EnableFusion' => ['type' => 'boolean'], ], ], ], + [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"api-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024,\\n \\"ModelType\\": \\"\\",\\n \\"EnableFusion\\": true\\n}","type":"json"}]', + 'title' => '获取大模型配置信息', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', - 'title' => '更新大模型配置信息', - ], - 'DeleteLLMConfig' => [ - 'summary' => '删除大模型调用信息配置。', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLLMConfig'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetLabelTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'LLMConfigId', + 'name' => 'LabelTableId', 'in' => 'path', - 'schema' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '大模型调用信息配置ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config1', - ], + 'schema' => ['title' => 'Label表ID。', 'description' => 'Label表ID,可从接口ListLabelTables获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -2888,119 +2583,113 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '96EE513F-8626-50B8-B046-D57FD3D037C2', + 'RequestId' => ['title' => '请求id。', 'description' => '请求ID。', 'type' => 'string', 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '1'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'DatasourceId' => ['title' => '数据源ID。', 'description' => '数据源ID。', 'type' => 'string', 'example' => '1'], + 'Name' => ['title' => 'label表名称。', 'description' => 'Label表名称。', 'type' => 'string', 'example' => 'label_table1'], + 'DatasourceName' => ['title' => '数据源名称。', 'description' => '数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'example' => '12321312*****'], + 'RelatedModelFeatures' => [ + 'title' => '使用此Label表的模型特征名称。', + 'description' => '关联模型特征名称列表。', + 'type' => 'array', + 'items' => ['description' => '关联模型特征名称。', 'type' => 'string', 'example' => 'rank_v1'], + ], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'Fields' => [ + 'title' => '字段列表。', + 'description' => '字段列表。', + 'type' => 'array', + 'items' => [ + 'description' => '字段。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'example' => 'field1'], + 'Type' => [ + 'title' => '字段类型。', + 'description' => '字段类型。', + 'type' => 'string', + 'example' => 'INT32', + 'enum' => ['INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BOOLEAN', 'TIMESTAMP'], + ], + 'Attributes' => [ + 'title' => '字段属性列表。', + 'description' => '字段属性列表。', + 'type' => 'array', + 'items' => [ + 'description' => '字段属性。', + 'type' => 'string', + 'example' => 'Partition', + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField'], + ], + ], + 'AlignedEntityName' => ['type' => 'string', 'example' => 'item'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取label表详细信息', + 'summary' => '获取 Label 表详细信息,包括字段定义和关联模型。', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-11-22T12:36:07.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96EE513F-8626-50B8-B046-D57FD3D037C2\\"\\n}","type":"json"}]', - 'title' => '删除大模型配置信息', - ], - 'CreateProject' => [ - 'summary' => '创建特征平台项目。', - 'path' => '/api/v1/instances/{InstanceId}/projects', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLabelTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"1\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"12321312*****\\",\\n \\"RelatedModelFeatures\\": [\\n \\"rank_v1\\"\\n ],\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"field1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ],\\n \\"AlignedEntityName\\": \\"item\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189332', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'project1', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '工作空间ID,可通过[ListWorkspaces](~~449124~~)获取。', - 'type' => 'string', - 'required' => true, - 'example' => '324', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '项目描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'This is a test.', - ], - 'OfflineDatasourceId' => [ - 'title' => '离线数据源ID,可通过接口ListDatasources获取。', - 'description' => '离线数据源ID,可通过接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], - 'OfflineLifeCycle' => [ - 'title' => '离线数据表生命周期。', - 'description' => '离线数据生命周期(天)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '90', - ], - 'OnlineDatasourceId' => [ - 'title' => '在线数据源ID,可通过接口ListDatasources获取。', - 'description' => '在线数据源ID,可通过接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - 'required' => false, - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['title' => '模型特征ID,可从接口ListModelFeatures获取。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -3010,170 +2699,164 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '977ADE3A-D69D-58AD-8323-96E2FB898E99', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '5'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'Name' => ['title' => '模型特征名称。', 'description' => '模型特征名称。', 'type' => 'string', 'example' => 'model_feature1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'example' => '1231243253****'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00'], + 'LabelTableId' => ['title' => 'Label表ID。', 'description' => 'Label表ID。', 'type' => 'string', 'example' => '3'], + 'LabelTableName' => ['title' => 'Label表名称。', 'description' => 'Label表名称。', 'type' => 'string', 'example' => 'label_table1'], + 'TrainingSetTable' => ['title' => '导出训练集表的名称。', 'description' => '导出训练集表的名称。', 'type' => 'string', 'example' => 'table1'], + 'TrainingSetFGTable' => ['title' => '导出训练集FG表的名称。', 'description' => '导出训练集FG表的名称。', 'type' => 'string', 'example' => 'table2'], + 'Features' => [ + 'title' => '特征列表。', + 'description' => '特征列表。', + 'type' => 'array', + 'items' => [ + 'description' => '特征。', + 'type' => 'object', + 'properties' => [ + 'FeatureViewId' => ['title' => '特征视图ID。', 'description' => '特征视图ID。', 'type' => 'string', 'example' => '3'], + 'FeatureViewName' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'feature_view_1'], + 'Name' => ['title' => '特征名称。', 'description' => '特征名称。', 'type' => 'string', 'example' => 'feature1'], + 'Type' => ['title' => '特征类型。'."\n" + .'● INT32'."\n" + .'● INT64'."\n" + .'● FLOAT'."\n" + .'● DOUBLE'."\n" + .'● STRING'."\n" + .'● BOOLEAN'."\n" + .'● TIMESTAMP', 'description' => '特征类型。'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP', 'type' => 'string', 'example' => 'INT32'], + 'AliasName' => ['title' => '特征别名。', 'description' => '特征别名。', 'type' => 'string', 'example' => 'feature2'], + 'PrefixName' => ['type' => 'string', 'example' => 'cand_seq__'], + ], + ], ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', + 'Relations' => [ + 'title' => '特征关系。', + 'description' => '特征关系。', + 'type' => 'object', + 'properties' => [ + 'Domains' => [ + 'title' => 'Domain列表。', + 'description' => 'Domain列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => 'Domain ID。', 'description' => 'Domain ID。', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => 'Domain名称。', 'description' => 'Domain名称。', 'type' => 'string', 'example' => 'feature_entity_1'], + 'DomainType' => ['title' => 'Domain类型。'."\n" + .'● FeatureEntity-特征实体'."\n" + .'● FeatureView-特征视图'."\n" + .'● ModelFeature-模型特征', 'description' => 'Domain类型。'."\n" + ."\n" + .'● FeatureEntity-特征实体'."\n" + ."\n" + .'● FeatureView-特征视图'."\n" + ."\n" + .'● ModelFeature-模型特征', 'type' => 'string', 'example' => 'FeatureEntity'], + ], + 'description' => '', + ], + ], + 'Links' => [ + 'title' => '特征关系连接信息列表。', + 'description' => '特征关系连接信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'From' => ['title' => '连接头ID。', 'description' => '连接头ID。', 'type' => 'string', 'example' => 'model_feature_2'], + 'To' => ['title' => '连接尾ID。', 'description' => '连接尾ID。', 'type' => 'string', 'example' => 'feature_entity_3'], + 'Link' => ['title' => '连接依赖字段。', 'description' => '连接依赖字段。', 'type' => 'string', 'example' => 'user_id'], + ], + 'description' => '', + ], + ], + ], ], + 'ExportTrainingSetTableScript' => ['title' => '导出training set表脚本', 'description' => '导出训练样本表脚本。', 'type' => 'string', 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nfrom feature_store_py.fs_project import FeatureStoreProject\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\nfrom feature_store_py.fs_features import FeatureSelector\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\nimport datetime\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\noffset = datetime.timedelta(days=-1)\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\nprint(\'pre_day = \', pre_day)\\n\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\n\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\npartition_config=feature_view_1_partitions)\\n\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\npartition_config=feature_view_2_partitions)\\n\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\npartition_config=feature_view_3_partitions)\\n\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\n\\n\\nmodel_name = \'rank_v1\'\\ncur_model = project.get_model(model_name)\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\ntask.wait()\\nprint(\'task_summary = \', task.task_summary)\\n'], + 'LabelPriorityLevel' => ['title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', 'description' => 'Label 表优先级,默认值为 0,设置为 1 表示 Label 表优先,设置为 2 表示 特征视图优先。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取模型特征详细信息', + 'summary' => '获取模型特征详细信息,包括所选特征列表、血缘关系和训练集导出脚本。', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-03T08:10:50.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-01-29T07:38:08.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"977ADE3A-D69D-58AD-8323-96E2FB898E99\\",\\n \\"ProjectId\\": \\"3\\"\\n}","type":"json"}]', - 'title' => '创建项目', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableId\\": \\"3\\",\\n \\"LabelTableName\\": \\"label_table1\\",\\n \\"TrainingSetTable\\": \\"table1\\",\\n \\"TrainingSetFGTable\\": \\"table2\\",\\n \\"Features\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"FeatureViewName\\": \\"feature_view_1\\",\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"AliasName\\": \\"feature2\\",\\n \\"PrefixName\\": \\"cand_seq__\\"\\n }\\n ],\\n \\"Relations\\": {\\n \\"Domains\\": [\\n {\\n \\"Id\\": \\"3\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"DomainType\\": \\"FeatureEntity\\"\\n }\\n ],\\n \\"Links\\": [\\n {\\n \\"From\\": \\"model_feature_2\\",\\n \\"To\\": \\"feature_entity_3\\",\\n \\"Link\\": \\"user_id\\"\\n }\\n ]\\n },\\n \\"ExportTrainingSetTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nfrom feature_store_py.fs_project import FeatureStoreProject\\\\\\\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\\\\\\\nfrom feature_store_py.fs_features import FeatureSelector\\\\\\\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\\\\\\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\\\\\\\nimport datetime\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\noffset = datetime.timedelta(days=-1)\\\\\\\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\\\\\\\nprint(\'pre_day = \', pre_day)\\\\\\\\n\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\\\\\\\n\\\\\\\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\\\\\\\npartition_config=feature_view_1_partitions)\\\\\\\\n\\\\\\\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\\\\\\\npartition_config=feature_view_2_partitions)\\\\\\\\n\\\\\\\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\\\\\\\npartition_config=feature_view_3_partitions)\\\\\\\\n\\\\\\\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\\\\\\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\\\\\\\n\\\\\\\\n\\\\\\\\nmodel_name = \'rank_v1\'\\\\\\\\ncur_model = project.get_model(model_name)\\\\\\\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\\\\\\\ntask.wait()\\\\\\\\nprint(\'task_summary = \', task.task_summary)\\\\\\\\n\\",\\n \\"LabelPriorityLevel\\": 0\\n}","type":"json"}]', ], - 'ListProjects' => [ - 'summary' => '获取项目列表。', - 'path' => '/api/v1/instances/{InstanceId}/projects', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetModelFeatureFGFeature' => [ + 'summary' => '获取模型特征的FG特征配置信息。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205386', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID,可通过工作空间接口ListWorkspaces获取。', - 'description' => '工作空间ID,可通过工作空间接口[ListWorkspaces](~~449124~~)获取。', - 'type' => 'string', - 'required' => false, - 'example' => '234', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '项目名称过滤。', - 'description' => '项目名称过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'fs1', - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'title' => '项目所有者。', - 'description' => '项目所有者的阿里云账号ID。', - 'type' => 'string', - 'required' => false, - 'example' => '134324352****', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页大小,默认值为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式。'."\n" - ."\n" - .'- Asc - 升序排列。'."\n" - ."\n" - .'- Desc - 降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], - ], - [ - 'name' => 'ProjectIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => '项目ID过滤。', - 'description' => '项目ID过滤。', - 'type' => 'array', - 'items' => [ - 'description' => '项目ID,可通过接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['title' => '模型特征ID。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -3183,193 +2866,189 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D'], + 'RawFeatures' => [ + 'title' => '基础特征信息。', + 'description' => '基础特征信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InputFeatureName' => ['title' => '原始特征名称。', 'description' => '原始特征名称。', 'type' => 'string', 'example' => 'item_id'], + 'FeatureDomain' => ['title' => '原始特征域。'."\n" + .'● User'."\n" + .'● Item'."\n" + .'● Context', 'description' => '原始特征域。'."\n" + .'- User:用户侧'."\n" + .'- Item:物品侧'."\n" + .'- Context:上下文', 'type' => 'string', 'example' => 'User'], + 'FeatureName' => ['title' => '生成特征的名称。', 'description' => '生成特征的名称。', 'type' => 'string', 'example' => 'item_id'], + 'FeatureType' => ['title' => 'FG基础特征类型。'."\n" + .'● IdFeature-主键'."\n" + .'● RawFeature-基础特征', 'description' => 'FG基础特征类型。'."\n" + .'- IdFeature:主键'."\n" + .'- RawFeature:基础特征', 'type' => 'string', 'example' => 'IdFeature'], + 'ValueType' => ['title' => '特征值类型。'."\n" + .'● INTEGER'."\n" + .'● DOUBLE'."\n" + .'● STRING', 'description' => '特征值类型。'."\n" + .'- INTEGER'."\n" + .'- DOUBLE'."\n" + .'- STRING', 'type' => 'string', 'example' => 'STRING'], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => '-1024'], + ], + 'description' => '', + ], ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'LookupFeatures' => [ + 'title' => '查询特征信息。', + 'description' => '查询特征信息。', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MapFeatureName' => ['title' => 'map特征名称。', 'description' => 'map特征名称。', 'type' => 'string', 'example' => 'item_id'], + 'MapFeatureDomain' => ['title' => 'map特征域。'."\n" + .'● User'."\n" + .'● Item'."\n" + .'● Context', 'description' => 'map特征域。'."\n" + .'- User:用户侧'."\n" + .'- Item:物品侧'."\n" + .'- Context:上下文', 'type' => 'string', 'example' => 'User'], + 'FeatureName' => ['title' => '生成特征的名称。', 'description' => '生成特征的名称。', 'type' => 'string', 'example' => 'item_id'], + 'ValueType' => ['title' => '特征值类型。'."\n" + .'● INTEGER'."\n" + .'● DOUBLE'."\n" + .'● STRING', 'description' => '特征值类型。'."\n" + .'- INTEGER'."\n" + .'- DOUBLE'."\n" + .'- STRING', 'type' => 'string', 'example' => 'STRING'], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => '-1024'], + 'KeyFeatureName' => ['title' => 'key特征名称。', 'description' => 'key特征名称。', 'type' => 'string', 'example' => '1'], + 'KeyFeatureDomain' => ['title' => 'key特征域。'."\n" + .'● User'."\n" + .'● Item'."\n" + .'● Context', 'description' => 'key特征域。'."\n" + .'- User:用户侧'."\n" + .'- Item:物品侧'."\n" + .'- Context:上下文', 'type' => 'string', 'example' => 'Item'], + ], + ], ], - 'Projects' => [ - 'title' => '项目列表。', - 'description' => '项目列表。', + 'SequenceFeatures' => [ + 'title' => '序列特征信息。', + 'description' => '序列特征信息。', 'type' => 'array', 'items' => [ - 'description' => '项目。', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '项目描述。', - 'type' => 'string', - 'example' => 'This is a test.', - ], - 'OfflineDatasourceType' => [ - 'title' => '离线数据源类型。', - 'description' => '离线数据源类型。', - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'OfflineDatasourceId' => [ - 'title' => '离线数据源ID。', - 'description' => '离线数据源ID。', - 'type' => 'string', - 'example' => '4', - ], - 'OfflineDatasourceName' => [ - 'title' => '离线数据源名称。', - 'description' => '离线数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'OnlineDatasourceType' => [ - 'title' => '在线数据源类型。', - 'description' => '在线数据源类型。', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'OnlineDatasourceId' => [ - 'title' => '在线数据源ID。', - 'description' => '在线数据源ID。', - 'type' => 'string', - 'example' => '5', - ], - 'OnlineDatasourceName' => [ - 'title' => '在线数据源名称。', - 'description' => '在线数据源名称。', - 'type' => 'string', - 'example' => 'datasource2', - ], - 'OfflineLifecycle' => [ - 'title' => '离线数据表生命周期。', - 'description' => '离线数据生命周期(天)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'FeatureEntityCount' => [ - 'title' => '特征实体数量。', - 'description' => '项目所含特征实体个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'FeatureViewCount' => [ - 'title' => '特征视图数量。', - 'description' => '项目所含特征视图个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ModelCount' => [ - 'title' => '模型特征数量。', - 'description' => '项目所含模型特征个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Owner' => [ - 'title' => '项目所有者。', - 'description' => '项目所有者。', - 'type' => 'string', - 'example' => '1232132543543****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', + 'FeatureName' => ['title' => '序列特征名称。', 'description' => '序列特征名称。', 'type' => 'string', 'example' => 'item_id'], + 'SequenceLength' => ['title' => '序列特征最大长度。', 'description' => '序列特征最大长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'], + 'SequenceDelim' => ['title' => '序列特征分隔符。', 'description' => '序列特征分隔符。', 'type' => 'string', 'example' => ';'], + 'AttributeDelim' => ['title' => '特征属性分隔符。', 'description' => '特征属性分隔符。', 'type' => 'string', 'example' => '#'], + 'SubFeatures' => [ + 'title' => '序列特征子特征列表。', + 'description' => '序列特征子特征列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InputFeatureName' => ['title' => '原始特征名称', 'description' => '原始特征名称', 'type' => 'string', 'example' => 'item_id'], + 'FeatureDomain' => ['title' => '原始特征域。'."\n" + .'● User'."\n" + .'● Item'."\n" + .'● Context', 'description' => '原始特征域。'."\n" + .'- User:用户侧'."\n" + .'- Item:物品侧'."\n" + .'- Context:上下文', 'type' => 'string', 'example' => 'User'], + 'FeatureName' => ['title' => '生成特征的名称。', 'description' => '生成特征的名称。', 'type' => 'string', 'example' => 'item_id'], + 'FeatureType' => ['title' => 'FG特征类型。'."\n" + .'● IdFeature-主键'."\n" + .'● RawFeature-基础特征', 'description' => 'FG特征类型。'."\n" + .'- IdFeature:主键'."\n" + .'- RawFeature:基础特征', 'type' => 'string', 'example' => 'IdFeature'], + 'ValueType' => ['title' => '特征值类型。'."\n" + .'● INTEGER'."\n" + .'● DOUBLE'."\n" + .'● STRING', 'description' => '特征值类型。'."\n" + .'- INTEGER'."\n" + .'- DOUBLE'."\n" + .'- STRING', 'type' => 'string', 'example' => 'STRING'], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => '-1024'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], + 'Reserves' => [ + 'title' => '保留字段。', + 'description' => '保留字段。', + 'type' => 'array', + 'items' => ['description' => '保留字段名称。', 'type' => 'string', 'example' => 'f1'], + ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Projects\\": [\\n {\\n \\"ProjectId\\": \\"3\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 10,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取项目列表', - ], - 'GetProject' => [ - 'summary' => '获取项目详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"RawFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ],\\n \\"LookupFeatures\\": [\\n {\\n \\"MapFeatureName\\": \\"item_id\\",\\n \\"MapFeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\",\\n \\"KeyFeatureName\\": \\"1\\",\\n \\"KeyFeatureDomain\\": \\"Item\\"\\n }\\n ],\\n \\"SequenceFeatures\\": [\\n {\\n \\"FeatureName\\": \\"item_id\\",\\n \\"SequenceLength\\": 50,\\n \\"SequenceDelim\\": \\";\\",\\n \\"AttributeDelim\\": \\"#\\",\\n \\"SubFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ]\\n }\\n ],\\n \\"Reserves\\": [\\n \\"f1\\"\\n ]\\n}","type":"json"}]', + 'title' => '获取模型特征的FG特征配置信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGFeature'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetModelFeatureFGInfo' => [ + 'summary' => '获取模型特征的fg.json文件配置信息。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fginfo', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205348', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ProjectId', + 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '项目ID,可通过接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['title' => '模型特征ID。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -3379,198 +3058,64 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], - 'Name' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '项目描述。', - 'type' => 'string', - 'example' => 'This is a test.', - ], - 'OfflineDatasourceType' => [ - 'title' => '离线数据源类型。', - 'description' => '离线数据源类型,目前仅支持Dataworks。', - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'OfflineDatasourceId' => [ - 'title' => '离线数据源ID。', - 'description' => '离线数据源ID。', - 'type' => 'string', - 'example' => '4', - ], - 'OfflineDatasourceName' => [ - 'title' => '离线数据源名称。', - 'description' => '离线数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'OnlineDatasourceType' => [ - 'title' => '在线数据源类型。', - 'description' => '在线数据源类型。'."\n" - ."\n" - .'- Hologres '."\n" - .'- Redis', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'OnlineDatasourceId' => [ - 'title' => '在线数据源ID。', - 'description' => '在线数据源ID。', - 'type' => 'string', - 'example' => '5', - ], - 'OnlineDatasourceName' => [ - 'title' => '在线数据源名称。', - 'description' => '在线数据源名称。', - 'type' => 'string', - 'example' => 'datasource2', - ], - 'OfflineLifecycle' => [ - 'title' => '离线数据表生命周期。', - 'description' => '离线数据生命周期(天)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'FeatureEntityCount' => [ - 'title' => '特征实体数量。', - 'description' => '项目所含特征实体个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'FeatureViewCount' => [ - 'title' => '特征视图数量。', - 'description' => '项目所含特征视图个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ModelCount' => [ - 'title' => '模型特征数量。', - 'description' => '项目所含模型特征个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Owner' => [ - 'title' => '项目所有者。', - 'description' => '项目所有者的阿里云账号ID。', - 'type' => 'string', - 'example' => '1232132543543****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8'], + 'Content' => ['title' => 'fg.json文件配置内容。', 'description' => 'fg.json文件配置内容。', 'type' => 'string', 'example' => '{"features": [{"feature_name": "item_id","feature_type": "id_feature","value_type": "String","expression": "item:item_id","default_value": "-1024","combiner": "mean","need_prefix": false},{"feature_name": "f1","feature_type": "lookup_feature","value_type": "Integer","map": "item:f1","key": "user:1","default_value": "0","combiner": "mean","need_prefix": false,"needDiscrete": false,"needWeighting": false,"needKey": false}],"reserves": ["f1"]}'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\",\\n \\"Content\\": \\"{\\\\\\"features\\\\\\": [{\\\\\\"feature_name\\\\\\": \\\\\\"item_id\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"id_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"String\\\\\\",\\\\\\"expression\\\\\\": \\\\\\"item:item_id\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"-1024\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false},{\\\\\\"feature_name\\\\\\": \\\\\\"f1\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"lookup_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"Integer\\\\\\",\\\\\\"map\\\\\\": \\\\\\"item:f1\\\\\\",\\\\\\"key\\\\\\": \\\\\\"user:1\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"0\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false,\\\\\\"needDiscrete\\\\\\": false,\\\\\\"needWeighting\\\\\\": false,\\\\\\"needKey\\\\\\": false}],\\\\\\"reserves\\\\\\": [\\\\\\"f1\\\\\\"]}\\"\\n}","type":"json"}]', + 'title' => '获取模型特征的fg.json文件配置信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGInfo'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 90,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n}","type":"json"}]', - 'title' => '获取项目详细信息', ], - 'UpdateProject' => [ - 'summary' => '更新项目信息。', + 'GetProject' => [ 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '项目ID,可通过接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'project1', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '项目描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'This is a test.', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '项目ID,可通过接口ListProjects获取。', 'description' => '项目ID,可通过接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '4'], ], ], 'responses' => [ @@ -3580,75 +3125,91 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2150233F-A1F7-54D2-B5B5-8A70567549BD', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], + 'Name' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'Description' => ['title' => '项目描述。', 'description' => '项目描述。', 'type' => 'string', 'example' => 'This is a test.'], + 'OfflineDatasourceType' => ['title' => '离线数据源类型。', 'description' => '离线数据源类型,目前仅支持Dataworks。', 'type' => 'string', 'example' => 'MaxCompute'], + 'OfflineDatasourceId' => ['title' => '离线数据源ID。', 'description' => '离线数据源ID。', 'type' => 'string', 'example' => '4'], + 'OfflineDatasourceName' => ['title' => '离线数据源名称。', 'description' => '离线数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'OnlineDatasourceType' => ['title' => '在线数据源类型。', 'description' => '在线数据源类型。'."\n" + ."\n" + .'- Hologres '."\n" + .'- Redis', 'type' => 'string', 'example' => 'Hologres'], + 'OnlineDatasourceId' => ['title' => '在线数据源ID。', 'description' => '在线数据源ID。', 'type' => 'string', 'example' => '5'], + 'OnlineDatasourceName' => ['title' => '在线数据源名称。', 'description' => '在线数据源名称。', 'type' => 'string', 'example' => 'datasource2'], + 'OfflineLifecycle' => ['title' => '离线数据表生命周期。', 'description' => '离线数据生命周期(天)。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], + 'FeatureEntityCount' => ['title' => '特征实体数量。', 'description' => '项目所含特征实体个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'FeatureViewCount' => ['title' => '特征视图数量。', 'description' => '项目所含特征视图个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ModelCount' => ['title' => '模型特征数量。', 'description' => '项目所含模型特征个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Owner' => ['title' => '项目所有者。', 'description' => '项目所有者的阿里云账号ID。', 'type' => 'string', 'example' => '1232132543543****'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'WorkspaceId' => ['type' => 'string', 'example' => '35523'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取项目详细信息', + 'summary' => '获取项目详细信息,包括数据源绑定和资源计数。', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2150233F-A1F7-54D2-B5B5-8A70567549BD\\"\\n}","type":"json"}]', - 'title' => '更新项目信息', - ], - 'DeleteProject' => [ - 'summary' => '删除特征平台项目。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 90,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"35523\\"\\n}","type":"json"}]', + ], + 'GetProjectFeatureEntity' => [ + 'summary' => '根据名称,获取项目下指定特征实体的详细信息。', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '项目ID,可通过接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '项目ID,可从接口ListProjects获取。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'FeatureEntityName', + 'in' => 'path', + 'schema' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'required' => true, 'example' => 'feature_entity_1'], ], ], 'responses' => [ @@ -3658,153 +3219,136 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0DA35264-0877-5852-8971-7735B547C969', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'Name' => ['description' => '特征实体名称。', 'type' => 'string', 'example' => 'feature_entity_1'], + 'FeatureEntityId' => ['description' => '特征实体ID。', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['description' => '项目名称。', 'type' => 'string', 'example' => 'project_1'], + 'WorkspaceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => '34245'], + 'JoinId' => ['description' => '关联特征视图用的Join ID。', 'type' => 'string', 'example' => 'user_id'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DA35264-0877-5852-8971-7735B547C969\\"\\n}","type":"json"}]', - 'title' => '删除项目', - ], - 'ListProjectFeatures' => [ - 'summary' => '获取项目下所有特征信息。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/features', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"WorkspaceId\\": \\"34245\\",\\n \\"JoinId\\": \\"user_id\\"\\n}","type":"json"}]', + 'title' => '获取项目下指定特征实体详细信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProjectFeatureEntity'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProjectFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetServiceIdentityRole' => [ + 'summary' => '查询服务关联角色详情,验证角色是否存在且可用。', + 'path' => '/api/v1/serviceidentityroles/{RoleName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'ProjectId', + 'name' => 'RoleName', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '服务账户角色名称。', 'description' => '服务账户角色名称。', 'type' => 'string', 'required' => true, 'example' => 'AliyunServiceRoleForFeatureStore'], ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '特征名称,支持模糊搜索。', - 'description' => '特征名称,支持模糊搜索。', - 'type' => 'string', - 'required' => false, - 'example' => 'f1', - ], - ], - [ - 'name' => 'AliasName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '特征别名,支持模糊搜索。', - 'description' => '特征别名,支持模糊搜索。', - 'type' => 'string', - 'required' => false, - 'example' => 'ff1', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6F629E92-F64D-502D-85AA-A9C54894CA3D'], + 'RoleName' => ['title' => '服务账户角色名称。', 'description' => '服务账户角色名称。', 'type' => 'string', 'example' => 'AliyunServiceRoleForPaiFeatureStore'], + 'Policy' => ['title' => '关联策略。', 'description' => '关联策略。', 'type' => 'string', 'example' => '{'."\n" + .'"Version": "1",'."\n" + .'"Statement":[]'."\n" + .'}'], + ], ], ], - [ - 'name' => 'Filter', - 'in' => 'query', - 'schema' => [ - 'title' => '其它过滤条件,JSON格式填入,AND条件查询。', - 'description' => '其它过滤条件,JSON格式填入,AND条件查询。', - 'type' => 'string', - 'required' => false, - 'example' => '{"feature_view_name":"fv1"}', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6F629E92-F64D-502D-85AA-A9C54894CA3D\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForPaiFeatureStore\\",\\n \\"Policy\\": \\"{\\\\n\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n\\\\\\"Statement\\\\\\":[]\\\\n}\\"\\n}","type":"json"}]', + 'title' => '获取服务账户角色', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceIdentityRole'], ], + ], + 'ramActions' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetServiceIdentityRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'GetTask' => [ + 'summary' => '获取异步任务详情。', + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'ModelFeatureCount', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - ], + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => ['title' => '任务ID,可从接口ListTasks获取。', 'description' => '任务ID,可从接口ListTasks获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -3814,141 +3358,175 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '特征列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '特征名称。', - 'description' => '特征名称。', - 'type' => 'string', - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '字段类型。', - 'type' => 'string', - 'example' => 'STRING', - ], - 'FeatureViewId' => [ - 'title' => '所属特征视图ID。', - 'description' => '所属特征视图ID。', - 'type' => 'string', - 'example' => '1', - ], - 'FeatureViewName' => [ - 'title' => '所属特征视图名称。', - 'description' => '所属特征视图名称。', - 'type' => 'string', - 'example' => 'fv1', - ], - 'Owner' => [ - 'title' => '特征创建者。', - 'description' => '特征创建者。', - 'type' => 'string', - 'example' => '123456', - ], - 'ModelFeatureCount' => [ - 'title' => '被多少个模型特征使用。', - 'description' => '被多少个模型特征使用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AliasNames' => [ - 'title' => '特征别名列表,由逗号分隔。', - 'description' => '特征别名列表,由逗号分隔。', - 'type' => 'string', - 'example' => 'age1,age2', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project_1'], + 'Type' => ['title' => '任务类型。'."\n" + .'● OfflineToOnline-离在线数据同步。'."\n" + .'● ExportTrainingSet-导出训练样本表。', 'description' => '任务类型。'."\n" + ."\n" + .'- OfflineToOnline:离在线数据同步'."\n" + .'- ExportTrainingSet:导出训练样本表', 'type' => 'string', 'example' => 'OfflineToOnline'], + 'ObjectType' => ['title' => '任务目标类型。'."\n" + .'● ModelFeature-模型特征'."\n" + .'● FeatureView-特征视图', 'description' => '任务目标类型。'."\n" + ."\n" + .'- ModelFeature:模型特征'."\n" + .'- FeatureView:特征视图', 'type' => 'string', 'example' => 'ModelFeature'], + 'ObjectId' => ['title' => '任务目标ID。', 'description' => '任务目标ID。', 'type' => 'string', 'example' => '3'], + 'Status' => ['title' => '状态。'."\n" + .'● Initializing-初始化中。'."\n" + .'● Running-运行中。'."\n" + .'● Success-成功。'."\n" + .'● Failure-失败。', 'description' => '状态。'."\n" + ."\n" + .'- Initializing:初始化中'."\n" + .'- Running:运行中'."\n" + .'- Success:成功'."\n" + .'- Failure:失败', 'type' => 'string', 'example' => 'Running'], + 'Config' => ['title' => '任务配置。', 'description' => '任务配置。', 'type' => 'string', 'example' => '{'."\n" + .' "mode": "overwrite",'."\n" + .' "partitions": {'."\n" + .' "dt": "20230820"'."\n" + .' },'."\n" + .' "event_time": "",'."\n" + .' "config": {},'."\n" + .' "offline_to_online": true'."\n" + .'}'], + 'RunningConfig' => ['title' => '任务运行配置。', 'description' => '任务运行配置。', 'type' => 'string', 'example' => 'DROP TABLE IF EXISTS public.fsxxx'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtExecutedTime' => ['title' => '执行时间。', 'description' => '执行时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtFinishedTime' => ['title' => '完成时间。', 'description' => '完成时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"FeatureViewId\\": \\"1\\",\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"Owner\\": \\"123456\\",\\n \\"ModelFeatureCount\\": 10,\\n \\"AliasNames\\": \\"age1,age2\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取项目下所有特征信息', - ], - 'ListProjectFeatureViews' => [ - 'summary' => '获取特征视图与特征列表。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Type\\": \\"OfflineToOnline\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ObjectId\\": \\"3\\",\\n \\"Status\\": \\"Running\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"dt\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"RunningConfig\\": \\"DROP TABLE IF EXISTS public.fsxxx\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', + 'title' => '获取任务详细信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDatasourceFeatureViews' => [ + 'summary' => '获取数据源下所有特征视图信息。', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/featureviews', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '259270', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ProjectId', + 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '数据源ID,可通过接口ListDatasources获取。', 'description' => '数据源ID,可通过接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页大小。', 'description' => '页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtCreateTime'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => '排序方式。', 'description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], + ], + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['title' => '项目ID,可通过接口ListProjects获取。', 'description' => '项目ID,可通过接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => '3'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '特征视图名称模糊过滤。', 'description' => '特征视图名称模糊过滤。', 'type' => 'string', 'required' => false, 'example' => 'fv'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['title' => '特征视图类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征'."\n" + .'● Sequence-序列特征', 'description' => '特征视图类型。'."\n" + .'- Batch-离线特征'."\n" + .'- Stream-实时特征'."\n" + .'- Sequence-序列特征', 'type' => 'string', 'required' => false, 'example' => 'Stream'], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => ['title' => '是否返回所有数据(不分页)。', 'description' => '是否返回所有数据(不分页)。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + ], + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => ['title' => '项目名称过滤。', 'description' => '项目名称过滤。', 'type' => 'string', 'required' => false, 'example' => 'fs_project'], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['title' => '查询读写量的起始时间,格式为yyyy-mm-dd。', 'description' => '查询读写量的起始时间,格式为yyyy-mm-dd。', 'type' => 'string', 'required' => false, 'example' => '2025-03-14'], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['title' => '查询读写量的截止时间,格式为yyyy-mm-dd。', 'description' => '查询读写量的截止时间,格式为yyyy-mm-dd。', 'type' => 'string', 'required' => false, 'example' => '2025-03-19'], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => ['title' => '是否展示详细信息。如果设置为false,则不展示每个视图的UsageStatistics,只展示总量。默认为true。', 'description' => '是否展示详细信息。如果设置为false,则不展示每个视图的UsageStatistics,只展示总量。默认为true。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'], + ], + [ + 'name' => 'ShowStorageUsage', + 'in' => 'query', + 'schema' => ['title' => '是否展示存储用量,默认为true。', 'description' => '是否展示存储用量,默认为true。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'], ], ], 'responses' => [ @@ -3958,18 +3536,30 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0'], + 'TotalUsageStatistics' => [ + 'title' => '用量统计综合。仅使用FeatureDB的特征视图展示。', + 'description' => '用量统计综合。仅使用FeatureDB的特征视图展示。', + 'type' => 'object', + 'properties' => [ + 'TotalDiskUsage' => ['title' => '磁盘存储用量总和。', 'description' => '磁盘存储用量总和。', 'type' => 'number', 'format' => 'double', 'example' => '12.3'], + 'TotalMemoryUsage' => ['title' => '内存存储用量总和。', 'description' => '内存存储用量总和。', 'type' => 'number', 'format' => 'double', 'example' => '1.23'], + 'TotalReadWriteCount' => [ + 'title' => '读写次数总量统计。', + 'description' => '读写次数总量统计。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '日期。', 'description' => '日期。', 'type' => 'string', 'example' => '2025-03-18T00:00:00+08:00'], + 'TotalWriteCount' => ['title' => '写入次数总量。', 'description' => '写入次数总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'TotalReadCount' => ['title' => '读取次数总量。', 'description' => '读取次数总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '456'], + ], + 'description' => '', + ], + ], + ], ], 'FeatureViews' => [ 'title' => '特征视图列表。', @@ -3978,171 +3568,115 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'example' => 'feature_view1', - ], - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '特征列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '特征名称。', - 'description' => '特征名称。', - 'type' => 'string', - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '特征类型,包括:'."\n" - .'- INT32'."\n" - .'- INT64'."\n" - .'- FLOAT'."\n" - .'- DOUBLE'."\n" - .'- STRING'."\n" - .'- BOOLEAN'."\n" - .'- TIMESTAMP', - 'type' => 'string', - 'example' => 'INT32', - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● PrimaryKey-主键'."\n" - .'● EventTime-事件时间', - 'description' => '字段属性列表,可选值包括:'."\n" - .'- Partition:分区字段'."\n" - .'- PrimaryKey:主键'."\n" - .'- EventTime:事件时间', - 'type' => 'array', - 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'example' => 'Partition', + 'FeatureViewId' => ['title' => '特征视图ID。', 'description' => '特征视图ID。', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'fv1'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'p1'], + 'Type' => ['title' => '特征视图类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征'."\n" + .'● Sequence-序列特征', 'description' => '特征视图类型。'."\n" + .'- Batch-离线特征'."\n" + .'- Stream-实时特征'."\n" + .'- Sequence-序列特征', 'type' => 'string', 'example' => 'Batch'], + 'FeatureEntityName' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'example' => 'user'], + 'TTL' => ['title' => '生命周期。单位:秒。', 'description' => '生命周期。单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '86400'], + 'Config' => ['title' => '特征视图配置。仅使用FeatureDB的特征视图有值,展示分片数和副本数信息。', 'description' => '特征视图配置。仅使用FeatureDB的特征视图有值,展示分片数和副本数信息。', 'type' => 'string', 'example' => '{"shard_count":5,"replication_count":1}'], + 'UsageStatistics' => [ + 'title' => '用量统计。仅使用FeatureDB的特征视图展示。', + 'description' => '用量统计。仅使用FeatureDB的特征视图展示。', + 'type' => 'object', + 'properties' => [ + 'RowCount' => ['title' => '行数。', 'description' => '行数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'DiskUsage' => ['title' => '磁盘存储用量。', 'description' => '磁盘存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '1.23'], + 'MemoryUsage' => ['title' => '内存存储用量。', 'description' => '内存存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '0.12'], + 'ReadWriteCount' => [ + 'title' => '读写次数统计。', + 'description' => '读写次数统计。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '日期。', 'description' => '日期。', 'type' => 'string', 'example' => '2025-03-18T00:00:00+08:00'], + 'WriteCount' => ['title' => '写入次数。', 'description' => '写入次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'ReadCount' => ['title' => '读取次数。', 'description' => '读取次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], + 'description' => '', ], ], ], ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-序列特征', - 'description' => '特征视图类型。'."\n" - .'- Batch:离线'."\n" - .'- Stream:实时'."\n" - .'- Sequence:行为序列', - 'type' => 'string', - 'example' => 'Batch', - ], - 'JoinId' => [ - 'title' => '特征实体的JoinId。', - 'description' => '特征实体的JoinId。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'ParentJoinId' => [ - 'title' => '父特征实体的JoinId。', - 'description' => '父特征实体的JoinId。', - 'type' => 'string', - 'example' => 'item_id', - ], ], + 'description' => '', ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureViews\\": [\\n {\\n \\"Name\\": \\"feature_view1\\",\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ],\\n \\"Type\\": \\"Batch\\",\\n \\"JoinId\\": \\"item_id\\",\\n \\"ParentJoinId\\": \\"item_id\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取特征视图与特征列表', - ], - 'GetProjectFeatureEntity' => [ - 'summary' => '根据名称,获取项目下指定特征实体的详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\",\\n \\"TotalUsageStatistics\\": {\\n \\"TotalDiskUsage\\": 12.3,\\n \\"TotalMemoryUsage\\": 1.23,\\n \\"TotalReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"TotalWriteCount\\": 123,\\n \\"TotalReadCount\\": 456\\n }\\n ]\\n },\\n \\"FeatureViews\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Name\\": \\"fv1\\",\\n \\"ProjectName\\": \\"p1\\",\\n \\"Type\\": \\"Batch\\",\\n \\"FeatureEntityName\\": \\"user\\",\\n \\"TTL\\": 86400,\\n \\"Config\\": \\"{\\\\\\"shard_count\\\\\\":5,\\\\\\"replication_count\\\\\\":1}\\",\\n \\"UsageStatistics\\": {\\n \\"RowCount\\": 10000,\\n \\"DiskUsage\\": 1.23,\\n \\"MemoryUsage\\": 0.12,\\n \\"ReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"WriteCount\\": 100,\\n \\"ReadCount\\": 200\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取数据源下所有特征视图信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceFeatureViews'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDatasourceTables' => [ + 'summary' => '列出数据源中的表。仅支持 MaxCompute 类型数据源。', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188514', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ProjectId', + 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '数据源ID。', 'description' => '数据源ID,可从接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ - 'name' => 'FeatureEntityName', - 'in' => 'path', - 'schema' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'feature_entity_1', - ], + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['title' => '表名过滤。', 'description' => '表名过滤。', 'type' => 'string', 'required' => false, 'example' => 'table1'], + ], + [ + 'name' => 'SchemaName', + 'in' => 'query', + 'schema' => ['title' => 'Schema名称。', 'description' => 'Schema名称。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -4152,129 +3686,111 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'Name' => [ - 'description' => '特征实体名称。', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'FeatureEntityId' => [ - 'description' => '特征实体ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project_1', - ], - 'WorkspaceId' => [ - 'description' => '工作空间ID。', - 'type' => 'string', - 'example' => '34245', - ], - 'JoinId' => [ - 'description' => '关联特征视图用的Join ID。', - 'type' => 'string', - 'example' => 'user_id', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Tables' => [ + 'title' => '数据表列表。', + 'description' => '数据表列表。', + 'type' => 'array', + 'items' => ['description' => '数据表表名。', 'type' => 'string', 'example' => 'table1'], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"TotalCount\\": 10,\\n \\"Tables\\": [\\n \\"table1\\"\\n ]\\n}","type":"json"}]', + 'title' => '获取数据源下的数据表列表', + 'changeSet' => [ + ['createdAt' => '2025-09-18T06:15:45.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"WorkspaceId\\": \\"34245\\",\\n \\"JoinId\\": \\"user_id\\"\\n}","type":"json"}]', - 'title' => '获取项目下指定特征实体详细信息', - ], - 'CreateFeatureEntity' => [ - 'summary' => '创建特征实体。', - 'path' => '/api/v1/instances/{InstanceId}/featureentities', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceTables'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDatasources' => [ + 'summary' => '列出 FeatureStore 实例下的数据源,支持按工作空间、类型和名称过滤。', + 'path' => '/api/v1/instances/{InstanceId}/datasources', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => 'The ID of the FeatureStore Instance. Call the ListInstances operation to query the list.', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-XXXXXXX'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'title' => '', - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'JoinId' => [ - 'title' => '关联特征视图用的join id。', - 'description' => '关联特征视图用的Join Id。', - 'type' => 'string', - 'required' => true, - 'example' => 'user_id ', - ], - 'Name' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'feature_entity_1', - ], - 'ProjectId' => [ - 'title' => '项目ID,可从接口ListInstances获取。', - 'description' => '项目ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'ParentFeatureEntityId' => [ - 'title' => '父特征实体ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['title' => 'Filter by workspace ID.', 'description' => '工作空间ID,可从接口[ListWorkspaces](~~449124~~)获取。', 'type' => 'string', 'required' => false, 'example' => '234'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['title' => 'Filter by datasource type. Valid values:\\n\\n* **MaxCompute**\\n* **Hologres**\\n* **TableStore**\\n* **FeatureDB**', 'description' => '数据源类型,取值如下:'."\n" + ."\n" + .'- Hologres'."\n" + .'- Redis'."\n" + .'- MaxCompute', 'type' => 'string', 'required' => false, 'example' => 'MaxCompute'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => 'Filter by datasource name using fuzzy match (partial match).', 'description' => '数据源名称。', 'type' => 'string', 'required' => false, 'example' => 'datasource1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => 'The number of items per page. Default value: 10.', 'description' => '页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => 'The page number, starting from 1. Default value: 1.', 'description' => '页码,起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => 'The sort direction. Valid values: **Asc**, **Desc**. Must be specified together with `SortBy`.', 'description' => '排序方式,取值如下:'."\n" + ."\n" + .'- Asc - 升序排列。'."\n" + ."\n" + .'- Desc - 降序排列。', 'type' => 'string', 'required' => false, 'example' => 'Asc'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => 'The field to sort by. Valid values: **GmtCreateTime**, **GmtModifiedTime**. Must be specified together with `Order`.', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtModifiedTime'], ], ], 'responses' => [ @@ -4284,49 +3800,72 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '特征实体ID。', - 'type' => 'string', - 'example' => '3', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520'], + 'TotalCount' => ['title' => 'The total number of matching datasources.', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Datasources' => [ + 'title' => 'The list of datasources.', + 'description' => '数据源列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DatasourceId' => ['title' => 'The ID of the datasource.', 'description' => '数据源ID。', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => 'The name of the datasource.', 'description' => '数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'Type' => ['title' => 'The type of the datasource: **MaxCompute**, **Hologres**, **TableStore**, or **FeatureDB**.', 'description' => '数据源类型。'."\n" + ."\n" + .'- Hologres'."\n" + .'- Redis'."\n" + .'- MaxCompute', 'type' => 'string', 'example' => 'Hologres'], + 'Uri' => ['title' => 'The resource identifier. Format depends on Type: MaxCompute — project name; Hologres — `<instanceId>/<database>`; TableStore — instance name; FeatureDB — not used.', 'description' => '资源地址。', 'type' => 'string', 'example' => 'igraph_instance1'], + 'Config' => ['title' => 'The type-specific configuration (JSON string). Keys vary by Type: MaxCompute/TableStore — not used; Hologres — may contain `vpc_id`, `vswitch_id`; FeatureDB — may contain `username`, `password`, `vpc_id`, `vswitch_ids`.', 'description' => '资源配置。', 'type' => 'string', 'example' => '{"address": ""}'], + 'GmtCreateTime' => ['title' => 'The time when the datasource was created.', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => 'The time when the datasource was last updated.', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'WorkspaceId' => ['title' => 'The ID of the PAI workspace.', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '32324'], + ], + 'description' => '', + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Datasources\\": [\\n {\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"32324\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取数据源列表', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureEntityId\\": \\"3\\"\\n}","type":"json"}]', - 'title' => '创建特征实体', ], 'ListFeatureEntities' => [ - 'summary' => '获取特征实体列表。', + 'summary' => '列出 FeatureStore 实例下的特征实体,支持按项目、名称、所有者和父特征实体过滤。', 'path' => '/api/v1/instances/{InstanceId}/featureentities', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -4334,104 +3873,52 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188867', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['title' => '项目ID,可从接口ListProjects获取。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => '3'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '特征实体名称过滤。', - 'description' => '特征实体名称过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'feature_entity_1', - ], + 'schema' => ['title' => '特征实体名称过滤。', 'description' => '特征实体名称过滤。', 'type' => 'string', 'required' => false, 'example' => 'feature_entity_1'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小,默认值为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '页大小。', 'description' => '页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1231432*****', - ], + 'schema' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'required' => false, 'example' => '1231432*****'], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtModifiedTime'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式,可选值包括:'."\n" - ."\n" - .'- Asc - 升序排序。'."\n" - ."\n" - .'- Desc - 降序排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - ], + 'schema' => ['title' => '排序方式。', 'description' => '排序方式,可选值包括:'."\n" + ."\n" + .'- Asc - 升序排序。'."\n" + ."\n" + .'- Desc - 降序排序。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'FeatureEntityIds', @@ -4441,31 +3928,20 @@ 'title' => '特征实体ID过滤。', 'description' => '特征实体ID过滤。', 'type' => 'array', - 'items' => [ - 'description' => '特征实体ID。', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'items' => ['description' => '特征实体ID。', 'type' => 'string', 'required' => false, 'example' => '4'], 'required' => false, ], ], [ 'name' => 'ParentFeatureEntityId', 'in' => 'query', - 'schema' => [ - 'title' => '父特征实体ID过滤。'."\n" - .'不传,列出所有的特征实体。'."\n" - .'传0,列出所有根特征实体。'."\n" - .'传非0数值,列出指定父特征实体下所有子特征实体。', - 'description' => '父特征实体ID过滤。'."\n" - .'不传,列出所有的特征实体。'."\n" - .'传0,列出所有根特征实体。'."\n" - .'传非0数值,列出指定父特征实体下所有子特征实体。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '父特征实体ID过滤。'."\n" + .'不传,列出所有的特征实体。'."\n" + .'传0,列出所有根特征实体。'."\n" + .'传非0数值,列出指定父特征实体下所有子特征实体。', 'description' => '父特征实体ID过滤。'."\n" + .'不传,列出所有的特征实体。'."\n" + .'传0,列出所有根特征实体。'."\n" + .'传非0数值,列出指定父特征实体下所有子特征实体。', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -4473,19 +3949,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'FeatureEntities' => [ 'title' => '特征实体列表。', 'description' => '特征实体列表。', @@ -4493,263 +3958,202 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '特征实体ID。', - 'type' => 'string', - 'example' => '3', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'JoinId' => [ - 'title' => '关联特征视图用的join id。', - 'description' => '关联特征视图用的Join ID。', - 'type' => 'string', - 'example' => 'user_id', - ], - 'Name' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建者的阿里云账号ID。', - 'type' => 'string', - 'example' => '123456789****', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project_1', - ], - 'ParentFeatureEntityId' => [ - 'title' => '父特征实体ID。为空或为0则表示为根特征实体。', - 'description' => '父特征实体ID。为空或为0则表示为根特征实体。', - 'type' => 'string', - 'example' => '1', - ], - 'ParentFeatureEntityName' => [ - 'title' => '父特征实体名称。', - 'description' => '父特征实体名称。', - 'type' => 'string', - 'example' => 'user', - ], - 'ParentJoinId' => [ - 'title' => '父特征实体的JoinID。', - 'description' => '父特征实体的JoinID。', - 'type' => 'string', - 'example' => 'user_id', - ], + 'FeatureEntityId' => ['title' => '特征实体ID。', 'description' => '特征实体ID。', 'type' => 'string', 'example' => '3'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'JoinId' => ['title' => '关联特征视图用的join id。', 'description' => '关联特征视图用的Join ID。', 'type' => 'string', 'example' => 'user_id'], + 'Name' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'example' => 'feature_entity_1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建者的阿里云账号ID。', 'type' => 'string', 'example' => '123456789****'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project_1'], + 'ParentFeatureEntityId' => ['title' => '父特征实体ID。为空或为0则表示为根特征实体。', 'description' => '父特征实体ID。为空或为0则表示为根特征实体。', 'type' => 'string', 'example' => '1'], + 'ParentFeatureEntityName' => ['title' => '父特征实体名称。', 'description' => '父特征实体名称。', 'type' => 'string', 'example' => 'user'], + 'ParentJoinId' => ['title' => '父特征实体的JoinID。', 'description' => '父特征实体的JoinID。', 'type' => 'string', 'example' => 'user_id'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureEntities\\": [\\n {\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"Owner\\": \\"123456789****\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"ParentFeatureEntityId\\": \\"1\\",\\n \\"ParentFeatureEntityName\\": \\"user\\",\\n \\"ParentJoinId\\": \\"user_id\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => '获取特征实体列表', - ], - 'GetFeatureEntity' => [ - 'summary' => '获取特征实体详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:05.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureEntities'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListFeatureViewFieldRelationships' => [ + 'summary' => '查询特征视图指定字段的血缘关系,返回引用该字段的模型特征列表及在线/离线表名。', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/fields/{FieldName}/relationships', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实力ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'FeatureEntityId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'title' => '特征实体ID,可从接口ListFeatureEntities获取。', - 'description' => '特征实体ID,可从接口ListFeatureEntities获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '特征视图ID,可从接口ListFeatureViews获取。', 'description' => '特征视图ID,可从接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '4'], + ], + [ + 'name' => 'FieldName', + 'in' => 'path', + 'schema' => ['title' => '特征字段名称。', 'description' => '特征字段名称。', 'type' => 'string', 'required' => true, 'example' => 'user_id'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D', - ], - 'Name' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project_1', - ], - 'JoinId' => [ - 'title' => '关联特征视图用的join id。', - 'description' => '关联特征视图用的Join ID。', - 'type' => 'string', - 'example' => 'user_id', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建者的阿里云账号ID。', - 'type' => 'string', - 'example' => '123456789*****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'ParentFeatureEntityId' => [ - 'title' => '父特征实体ID。为空或为0则表示为根特征实体。', - 'description' => '父特征实体ID。为空或为0则表示为根特征实体。', - 'type' => 'string', - 'example' => '1', - ], - 'ParentFeatureEntityName' => [ - 'title' => '父特征实体名称。', - 'description' => '父特征实体名称。', - 'type' => 'string', - 'example' => 'user', - ], - 'ParentJoinId' => [ - 'title' => '父特征实体的JoinID。', - 'description' => '父特征实体的JoinID。', - 'type' => 'string', - 'example' => 'user_id', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], + 'Relationships' => [ + 'title' => '血缘关系列表。', + 'description' => '血缘关系列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FeatureName' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'featureView1'], + 'OnlineTableName' => ['title' => '在线表名称。', 'description' => '在线表名称。', 'type' => 'string', 'example' => 'table1'], + 'OfflineTableName' => ['title' => '离线表名称。', 'description' => '离线表名称。', 'type' => 'string', 'example' => 'table2'], + 'Models' => [ + 'title' => '模型列表。', + 'description' => '模型列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModelId' => ['title' => '模型ID。', 'description' => '模型ID。', 'type' => 'string', 'example' => '3'], + 'ModelName' => ['title' => '模型名称。', 'description' => '模型名称。', 'type' => 'string', 'example' => 'dbmtl'], + 'FeatureAliasName' => ['title' => '特征别名。', 'description' => '特征别名。', 'type' => 'string', 'example' => 'f1'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureName\\": \\"featureView1\\",\\n \\"OnlineTableName\\": \\"table1\\",\\n \\"OfflineTableName\\": \\"table2\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\",\\n \\"FeatureAliasName\\": \\"f1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取特征字段血缘关系', + 'changeSet' => [ + ['createdAt' => '2025-03-12T08:12:12.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"Owner\\": \\"123456789*****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"ParentFeatureEntityId\\": \\"1\\",\\n \\"ParentFeatureEntityName\\": \\"user\\",\\n \\"ParentJoinId\\": \\"user_id\\"\\n}","type":"json"}]', - 'title' => '获取特征实体详细信息', - ], - 'DeleteFeatureEntity' => [ - 'summary' => '删除特征实体。', - 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewFieldRelationships'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewFieldRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListFeatureViewOnlineFeatures' => [ + 'summary' => '根据 Join ID 查询特征视图的在线特征数据,返回每个 Join ID 对应的特征字段键值对。', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '225290', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'FeatureEntityId', + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['title' => '特征视图ID。', 'description' => '特征视图ID,可通过接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'JoinIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '特征实体ID,可从接口ListFeatureEntities获取。', - 'description' => '特征实体ID,可从接口ListFeatureEntities获取。', - 'type' => 'string', + 'title' => 'JoinId值列表。', + 'description' => '查询的JoinId列表。', + 'type' => 'array', + 'items' => ['title' => 'JoinId的值。', 'description' => 'JoinId的值。', 'type' => 'string', 'required' => true, 'example' => 'user1'], 'required' => true, - 'example' => '3', ], ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['title' => '查询配置。', 'type' => 'string', 'example' => '{"dlrm_hstu": true}'], + ], ], 'responses' => [ 200 => [ @@ -4758,347 +4162,144 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], + 'OnlineFeatures' => [ + 'title' => '在线特征数据。', + 'description' => '在线特征数据列表。', + 'type' => 'array', + 'items' => ['description' => '在线特征数据。', 'type' => 'string', 'example' => '{"f1":123,"f2":"456"}'], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\"\\n}","type":"json"}]', - 'title' => '删除特征实体', - ], - 'CreateFeatureView' => [ - 'summary' => '创建特征视图。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取特征视图下的在线特征数据', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewOnlineFeatures'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewOnlineFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"OnlineFeatures\\": [\\n \\"{\\\\\\"f1\\\\\\":123,\\\\\\"f2\\\\\\":\\\\\\"456\\\\\\"}\\"\\n ]\\n}","type":"json"}]', + ], + 'ListFeatureViewRelationships' => [ + 'summary' => '查询特征视图的血缘关系,返回引用该特征视图的模型特征列表。', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/relationships', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188527', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['title' => '特征视图ID,可从接口ListFeatureViews获取。', 'description' => '特征视图ID,可从接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '请求body。', - 'description' => '请求body。', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '特征实体ID。', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'FeatureView1', - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-行为序列特征', - 'description' => '类型。'."\n" - ."\n" - .'- Batch:离线特征'."\n" - .'- Stream:实时特征', - 'type' => 'string', - 'required' => true, - 'example' => 'Batch', - ], - 'WriteMethod' => [ - 'title' => '写入方式。'."\n" - .'● ByReadyMadeTable-使用现成表注册'."\n" - .'● Custom-自定义表结构', - 'description' => '写入方式。'."\n" - ."\n" - .'- ByReadyMadeTable:使用现成表注册'."\n" - .'- Custom:自定义表结构', - 'type' => 'string', - 'required' => true, - 'example' => 'Custom', - ], - 'WriteToFeatureDB' => [ - 'title' => '是否写入在线托管存储。如果项目在线数据源为托管存储,会自动设置为true。'."\n" - .'默认:false', - 'description' => '是否写入在线托管存储,取值如下:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'RegisterTable' => [ - 'title' => '注册表名称。', - 'description' => '注册表名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'table1', - ], - 'RegisterDatasourceId' => [ - 'title' => '注册表所在数据源ID。', - 'description' => '注册表所在数据源ID,可从接口ListDatasources获取。', - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], - 'SyncOnlineTable' => [ - 'title' => '是否同步在线特征表。', - 'description' => '是否同步在线特征表,取值如下:'."\n" - ."\n" - .'- true:是'."\n" - .'- false:否', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - 'TTL' => [ - 'title' => '生命周期。', - 'description' => '生命周期(单位:天)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '90', - ], - 'Tags' => [ - 'title' => '标签列表。', - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '特征视图的标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'label1', - ], - 'required' => false, - ], - 'Config' => [ - 'title' => '特征视图配置。', - 'description' => '特征视图配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{"save_original_field":true}', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '字段列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B'], + 'Relationships' => [ + 'title' => '血缘关系列表。', + 'description' => '血缘关系列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '字段名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'age', - ], - 'Type' => [ - 'title' => '字段类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP'."\n" - .'● ARRAY'."\n" - .'● MAP', - 'description' => '字段类型。'."\n" - ."\n" - .'- INT32'."\n" - .'- INT64'."\n" - .'- FLOAT'."\n" - .'- DOUBLE'."\n" - .'- STRING'."\n" - .'- BOOLEAN'."\n" - .'- TIMESTAMP', - 'type' => 'string', - 'required' => false, - 'example' => 'INT32', - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● PrimaryKey-主键'."\n" - .'● EventTime-事件时间', - 'description' => '字段属性列表,可选值包括:'."\n" - ."\n" - .'- Partition:分区字段'."\n" - .'- PrimaryKey:主键'."\n" - .'- EventTime:事件时间', - 'type' => 'array', - 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'required' => false, - 'example' => 'Partition', - ], - 'required' => false, - ], - 'Transform' => [ - 'title' => '特征生产配置。', + 'FeatureViewName' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'fv1'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'Models' => [ + 'title' => '模型特征列表。', + 'description' => '模型特征列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '特征生产类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'LLMEmbedding', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用信息ID。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'Input' => [ - 'title' => '特征生产输入。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '输入字段名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '输入字段类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'STRING', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'ModelId' => ['title' => '模型特征ID。', 'description' => '模型特征ID。', 'type' => 'string', 'example' => '3'], + 'ModelName' => ['title' => '模型特征名称。', 'description' => '模型特征名称。', 'type' => 'string', 'example' => 'dbmtl'], ], - 'required' => false, + 'description' => '', ], - 'required' => false, ], ], - 'required' => false, + 'description' => '', ], - 'required' => false, ], ], - 'required' => false, ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID。', - 'type' => 'string', - 'example' => '3', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取特征视图血缘关系', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewRelationships'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureViewId\\": \\"3\\"\\n}","type":"json"}]', - 'title' => '创建特征视图', ], 'ListFeatureViews' => [ - 'summary' => '获取特征视图列表。', 'path' => '/api/v1/instances/{InstanceId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -5106,111 +4307,53 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188634', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '页大小。', 'description' => '页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '项目ID,可通过接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['title' => '项目ID,可通过接口ListProjects获取。', 'description' => '项目ID,可通过接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => '3'], ], [ 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'title' => '创建人过滤。', - 'description' => '创建人过滤。', - 'type' => 'string', - 'required' => false, - 'example' => '1232143243242****', - ], + 'schema' => ['title' => '创建人过滤。', 'description' => '创建人过滤。', 'type' => 'string', 'required' => false, 'example' => '1232143243242****'], ], [ 'name' => 'Tag', 'in' => 'query', - 'schema' => [ - 'title' => '标签过滤。', - 'description' => '标签过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], + 'schema' => ['title' => '标签过滤。', 'description' => '标签过滤。', 'type' => 'string', 'required' => false, 'example' => 'tag1'], ], [ 'name' => 'FeatureName', 'in' => 'query', - 'schema' => [ - 'title' => '特征名称。', - 'description' => '特征名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'feature1', - ], + 'schema' => ['title' => '特征名称。', 'description' => '特征名称。', 'type' => 'string', 'required' => false, 'example' => 'feature1'], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - ], + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtCreateTime'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - ], + 'schema' => ['title' => '排序方式。', 'description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], [ 'name' => 'FeatureViewIds', @@ -5220,42 +4363,25 @@ 'title' => '特征视图ID过滤。', 'description' => '特征视图ID过滤。', 'type' => 'array', - 'items' => [ - 'description' => '特征视图ID。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'items' => ['description' => '特征视图ID。', 'type' => 'string', 'required' => false, 'example' => '3'], 'required' => false, ], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征', - 'description' => '类型。'."\n" - ."\n" - .'● Batch-离线特征'."\n" - ."\n" - .'● Stream-实时特征', - 'type' => 'string', - 'required' => false, - 'example' => 'Batch', - ], + 'schema' => ['title' => '类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征', 'description' => '类型。'."\n" + ."\n" + .'● Batch-离线特征'."\n" + ."\n" + .'● Stream-实时特征', 'type' => 'string', 'required' => false, 'example' => 'Batch'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '特征视图名称过滤。', - 'description' => '特征视图名称过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'fv1', - ], + 'schema' => ['title' => '特征视图名称过滤。', 'description' => '特征视图名称过滤。', 'type' => 'string', 'required' => false, 'example' => 'fv1'], ], ], 'responses' => [ @@ -5265,19 +4391,8 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'FeatureViews' => [ 'title' => '特征视图列表。', 'description' => '特征视图列表。', @@ -5287,97 +4402,26 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'FeatureEntityName' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'example' => 'featureEntity1', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'example' => 'featureView1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'example' => '12321421412****', - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征', - 'description' => '类型,可选值如下:'."\n" - ."\n" - .'● Batch-离线特征'."\n" - ."\n" - .'● Stream-实时特征', - 'type' => 'string', - 'example' => 'Batch', - ], - 'WriteToFeatureDB' => [ - 'title' => '是否写入在线托管存储。', - 'description' => '是否写入在线托管存储。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'RegisterTable' => [ - 'title' => '注册表名称。', - 'description' => '注册表名称。', - 'type' => 'string', - 'example' => 'table1', - ], - 'RegisterDatasourceName' => [ - 'title' => '注册表所在数据源。', - 'description' => '注册表所在数据源。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'TTL' => [ - 'title' => '特征生命周期(秒)。', - 'description' => '特征生命周期(秒)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'RegisterDatasourceId' => [ - 'title' => '注册表所在数据源ID。', - 'description' => '注册表所在数据源ID。', - 'type' => 'string', - 'example' => '4', - ], + 'FeatureViewId' => ['title' => '特征视图ID。', 'description' => '特征视图ID。', 'type' => 'string', 'example' => '3'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'FeatureEntityName' => ['title' => '特征实体名称。', 'description' => '特征实体名称。', 'type' => 'string', 'example' => 'featureEntity1'], + 'Name' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'featureView1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'example' => '12321421412****'], + 'Type' => ['title' => '类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征', 'description' => '类型,可选值如下:'."\n" + ."\n" + .'● Batch-离线特征'."\n" + ."\n" + .'● Stream-实时特征', 'type' => 'string', 'example' => 'Batch'], + 'WriteToFeatureDB' => ['title' => '是否写入在线托管存储。', 'description' => '是否写入在线托管存储。', 'type' => 'boolean', 'example' => 'false'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'RegisterTable' => ['title' => '注册表名称。', 'description' => '注册表名称。', 'type' => 'string', 'example' => 'table1'], + 'RegisterDatasourceName' => ['title' => '注册表所在数据源。', 'description' => '注册表所在数据源。', 'type' => 'string', 'example' => 'datasource1'], + 'TTL' => ['title' => '特征生命周期(秒)。', 'description' => '特征生命周期(秒)。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], + 'RegisterDatasourceId' => ['title' => '注册表所在数据源ID。', 'description' => '注册表所在数据源ID。', 'type' => 'string', 'example' => '4'], ], ], ], @@ -5385,66 +4429,97 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取特征视图列表', + 'summary' => '列出特征视图,支持按项目、名称、类型、标签和特征名过滤。', + 'changeSet' => [ + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-03-25T06:53:33.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-09-04T03:45:21.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViews'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureViews\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"FeatureEntityName\\": \\"featureEntity1\\",\\n \\"Name\\": \\"featureView1\\",\\n \\"Owner\\": \\"12321421412****\\",\\n \\"Type\\": \\"Batch\\",\\n \\"WriteToFeatureDB\\": false,\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"RegisterTable\\": \\"table1\\",\\n \\"RegisterDatasourceName\\": \\"datasource1\\",\\n \\"TTL\\": 90,\\n \\"RegisterDatasourceId\\": \\"4\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取特征视图列表', ], - 'GetFeatureView' => [ - 'summary' => '获取指定特征视图详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstances' => [ + 'summary' => '列出当前账号下的 FeatureStore 实例,支持按状态过滤。', + 'path' => '/api/v1/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188637', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188082', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'description' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页大小。', 'description' => '页大小,默认为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['title' => '状态过滤。'."\n" + .'● Initializing-初始化中。'."\n" + .'● Running-运行中。'."\n" + .'● Failure-创建失败。', 'description' => '状态过滤。'."\n" + ."\n" + .'- Initializing:初始化中'."\n" + .'- Running:运行中'."\n" + .'- Failure:创建失败', 'type' => 'string', 'required' => false, 'example' => 'Running'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '排序依据。'."\n" + .'● GmtCreateTime-创建时间。'."\n" + .'● GmtModifiedTime-更新时间。', 'description' => '排序依据。'."\n" + ."\n" + .'- GmtCreateTime:创建时间'."\n" + .'- GmtModifiedTime:更新时间', 'type' => 'string', 'required' => false, 'example' => 'GmtCreateTime'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => '排序方式。'."\n" + .'● ASC-升序。'."\n" + .'● DESC-降序。', 'description' => '排序方式。'."\n" + ."\n" + .'- ASC:升序'."\n" + .'- DESC:降序', 'type' => 'string', 'required' => false, 'example' => 'DESC'], ], ], 'responses' => [ @@ -5454,622 +4529,157 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'FeatureEntityName' => [ - 'title' => '特征实体名称。', - 'description' => '特征实体名称。', - 'type' => 'string', - 'example' => 'featureEntity1', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'example' => 'featureView1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'example' => '12321421412****', - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征', - 'description' => '类型。'."\n" - ."\n" - .'● Batch-离线特征'."\n" - ."\n" - .'● Stream-实时特征', - 'type' => 'string', - 'example' => 'Batch', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '特征实体ID。', - 'type' => 'string', - 'example' => '3', - ], - 'JoinId' => [ - 'title' => '特征实体的joinid。', - 'description' => '特征实体的Join ID。', - 'type' => 'string', - 'example' => 'user_id', - ], - 'WriteMethod' => [ - 'title' => '写入方式。'."\n" - .'● ByReadyMadeTable-使用现成表注册'."\n" - .'● Custom-自定义表结构', - 'description' => '写入方式。'."\n" - ."\n" - .'● ByReadyMadeTable-使用现成表注册'."\n" - ."\n" - .'● Custom-自定义表结构', - 'type' => 'string', - 'example' => 'custom', - ], - 'RegisterTable' => [ - 'title' => '注册表名称。', - 'description' => '注册表名称。', - 'type' => 'string', - 'example' => 'table1', - ], - 'RegisterDatasourceId' => [ - 'title' => '注册表所在数据源ID。', - 'description' => '注册表所在数据源ID。', - 'type' => 'string', - 'example' => '4', - ], - 'RegisterDatasourceName' => [ - 'title' => '注册表所在数据源名称。', - 'description' => '注册表所在数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'WriteToFeatureDB' => [ - 'title' => '是否写入在线托管存储。', - 'description' => '是否写入在线托管存储。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SyncOnlineTable' => [ - 'title' => '是否同步在线特征表。', - 'description' => '是否同步在线特征表。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TTL' => [ - 'title' => '生命周期。', - 'description' => '生命周期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'Tags' => [ - 'title' => '标签列表。', - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '特征视图的标签。', - 'type' => 'string', - 'example' => 'tag1', - ], - ], - 'Config' => [ - 'title' => '配置。', - 'description' => '配置。', - 'type' => 'string', - 'example' => '{"save_original_field":true}', - ], - 'GmtSyncTime' => [ - 'title' => '同步时间。', - 'description' => '同步时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'LastSyncConfig' => [ - 'title' => '最近一次的同步配置。', - 'description' => '最近一次的同步配置。', - 'type' => 'string', - 'example' => '{'."\n" - .' "mode": "overwrite",'."\n" - .' "partitions": {'."\n" - .' "ds": {'."\n" - .' "value": "20230820"'."\n" - .' }'."\n" - .' },'."\n" - .' "event_time": "",'."\n" - .' "config": {},'."\n" - .' "offline_to_online": true'."\n" - .'}', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '字段列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE'], + 'TotalCount' => ['title' => '列表内元素总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Instances' => [ + 'title' => '实例列表。', + 'description' => '实例列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '字段名称。', - 'type' => 'string', - 'example' => 'user', - ], - 'Type' => [ - 'title' => '字段类型。'."\n" - .'● int'."\n" - .'● string'."\n" - .'● float', - 'description' => '字段类型。'."\n" - ."\n" - .'● int'."\n" - ."\n" - .'● string'."\n" - ."\n" - .'● float', - 'type' => 'string', - 'example' => 'int', - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● PrimaryKey-主键'."\n" - .'● EventTime-事件时间', - 'description' => '字段属性列表,可选值包括:'."\n" - ."\n" - .'● Partition-分区字段'."\n" - ."\n" - .'● PrimaryKey-主键'."\n" - ."\n" - .'● EventTime-事件时间', - 'type' => 'array', - 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'example' => 'Partition', + 'InstanceId' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'example' => 'featureStore-cn-7mz2xfu****'], + 'Type' => ['title' => '实例类型。'."\n" + .'● Basic-基础版', 'description' => '实例类型,目前仅支持Basic(基础版)。', 'type' => 'string', 'example' => 'Basic'], + 'Status' => ['title' => '状态。'."\n" + .'● Initializing-初始化中。'."\n" + .'● Running-运行中。'."\n" + .'● Stopped-停止服务。', 'description' => '状态。'."\n" + ."\n" + .'- Initializing:初始化中'."\n" + .'- Running:运行中'."\n" + .'- Stopped:停止服务', 'type' => 'string', 'example' => 'Initializing'], + 'RegionId' => ['title' => '所属区域。'."\n" + .'● cn-hangzhou'."\n" + .'● cn-beijing'."\n" + .'● cn-shanghai'."\n" + .'● cn-shenzhen', 'description' => '所属区域。'."\n" + ."\n" + .'- cn-hangzhou'."\n" + .'- cn-beijing'."\n" + .'- cn-shanghai'."\n" + .'- cn-shenzhen', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'FeatureDBInstanceInfo' => [ + 'title' => '已废弃。请通过 FeatureDBInfo 获取FeatureDB实例信息。', + 'description' => 'FeatureDB实例信息', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '状态。', 'description' => '状态。', 'type' => 'string'], ], + 'deprecated' => true, ], - 'Transform' => [ - 'title' => '特征生产配置。', - 'description' => '特征变换。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'title' => '特征生产类型。', - 'description' => '特征变换类型。', - 'type' => 'string', - 'example' => 'LLMEmbedding', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用配置信息ID。', - 'description' => '大模型配置信息Id。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Input' => [ - 'title' => '特征生产输入。', - 'description' => '输入。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '输入字段名称。', - 'description' => '特征名称。', - 'type' => 'string', - 'example' => 'feature1', - ], - 'Type' => [ - 'title' => '输入字段类型。', - 'description' => '特征类型。', - 'type' => 'string', - 'example' => 'STRING', - ], - ], - ], - ], - ], + 'FeatureDBInfo' => [ + 'title' => 'FeatureDB实例信息。', + 'description' => 'FeatureDB实例信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '状态。', 'description' => '状态。', 'type' => 'string'], ], ], ], + 'description' => '', ], ], - 'PublishTableScript' => [ - 'title' => '同步数据脚本', - 'description' => '同步数据脚本。', - 'type' => 'string', - 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nimport datetime\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nfeature_view_name = \'user_fea\'\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\ntask.wait()\\ntask.print_summary()\\n', - ], - 'MockTableName' => [ - 'title' => '实时特征视图模拟数据表名称', - 'description' => '实时特征视图模拟数据表名称', - 'type' => 'string', - 'example' => 'item_table_mock_1', - ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"FeatureEntityName\\": \\"featureEntity1\\",\\n \\"Name\\": \\"featureView1\\",\\n \\"Owner\\": \\"12321421412****\\",\\n \\"Type\\": \\"Batch\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"WriteMethod\\": \\"custom\\",\\n \\"RegisterTable\\": \\"table1\\",\\n \\"RegisterDatasourceId\\": \\"4\\",\\n \\"RegisterDatasourceName\\": \\"datasource1\\",\\n \\"WriteToFeatureDB\\": false,\\n \\"SyncOnlineTable\\": true,\\n \\"TTL\\": 90,\\n \\"Tags\\": [\\n \\"tag1\\"\\n ],\\n \\"Config\\": \\"{\\\\\\"save_original_field\\\\\\":true}\\",\\n \\"GmtSyncTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"LastSyncConfig\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"ds\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"value\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"user\\",\\n \\"Type\\": \\"int\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ],\\n \\"Transform\\": [\\n {\\n \\"Type\\": \\"LLMEmbedding\\",\\n \\"LLMConfigId\\": 1,\\n \\"Input\\": [\\n {\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"STRING\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"PublishTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nimport datetime\\\\\\\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nfeature_view_name = \'user_fea\'\\\\\\\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\\\\\\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\\\\\\\ntask.wait()\\\\\\\\ntask.print_summary()\\\\\\\\n\\",\\n \\"MockTableName\\": \\"item_table_mock_1\\"\\n}","type":"json"}]', - 'title' => '获取特征视图详细信息', - ], - 'DeleteFeatureView' => [ - 'summary' => '删除特征视图。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 10,\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Type\\": \\"Basic\\",\\n \\"Status\\": \\"Initializing\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取实例列表', + 'changeSet' => [ + ['createdAt' => '2025-07-17T03:58:30.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-16T06:46:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-08-28T08:14:52.000Z', 'description' => '请求参数发生变更'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'description' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', - 'title' => '删除特征视图', ], - 'PublishFeatureViewTable' => [ - 'summary' => '将特征视图的离线数据发布/同步到线上。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/publishtable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLLMConfigs' => [ + 'summary' => '查询 LLM 调用配置列表。', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-XXXXXXX'], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '特征视图ID,可从接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['title' => '工作空间ID。', 'description' => '工作空间ID。', 'type' => 'string', 'required' => false, 'example' => '234'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区表。', - 'description' => '分区表。', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '20220718', - 'description' => '分区日期。', - ], - 'description' => '分区字段的映射。', - ], - ], - 'Mode' => [ - 'title' => '模式'."\n" - .'● Overwrite-覆盖写'."\n" - .'● Merge-合并', - 'description' => '模式,包括以下可选值:'."\n" - ."\n" - .'- Overwrite:覆盖写'."\n" - .'- Merge:合并', - 'type' => 'string', - 'required' => true, - 'example' => 'Overwrite', - ], - 'EventTime' => [ - 'title' => '事件时间。', - 'description' => '事件时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'Config' => [ - 'title' => '配置。', - 'description' => '配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], - 'OfflineToOnline' => [ - 'title' => '是否同步在线特征。', - 'description' => '是否同步在线特征。', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - ], - 'required' => false, - ], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '大模型调用信息配置名称。', 'description' => '大模型调用信息配置名称。', 'type' => 'string', 'required' => false, 'example' => 'llm_config_1'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '627B5776-4D06-5A49-8A04-508AA39653F4', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'description' => '任务ID。', - 'type' => 'string', - ], - ], - ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页大小。', 'description' => '页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"627B5776-4D06-5A49-8A04-508AA39653F4\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', - 'title' => '发布特征视图下表数据', - ], - 'WriteFeatureViewTable' => [ - 'summary' => '向指定特征视图写表。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/writetable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => '排序方式。', 'description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'Asc'], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtModifiedTime'], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'description' => '特征视图ID,可从LIstFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区表。', - 'description' => '分区表。', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '20220909', - 'description' => '分区日期。', - ], - 'description' => '分区字段的映射。', - ], - ], - 'UrlDatasource' => [ - 'title' => '文件数据源。', - 'description' => '文件数据源。', - 'type' => 'object', - 'properties' => [ - 'Path' => [ - 'title' => '数据源路径。', - 'description' => '数据源路径。', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx.xxx.com/file.csv', - ], - 'Delimiter' => [ - 'title' => '文件分隔符。', - 'description' => '文件分隔符。', - 'type' => 'string', - 'required' => false, - 'example' => ',', - ], - 'OmitHeader' => [ - 'title' => '文件中是否省略header。', - 'description' => '文件中是否省略header。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], - 'Mode' => [ - 'title' => '模式'."\n" - .'● Overwrite-覆盖写'."\n" - .'● Merge-合并', - 'description' => '模式。'."\n" - ."\n" - .'- Overwrite:覆盖写'."\n" - .'- Merge:合并', - 'type' => 'string', - 'required' => true, - 'example' => 'Merge', - ], - ], - 'required' => false, - ], + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:如果NextToken为空表示没有下一次查询。 如果NextToken有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'required' => false, 'example' => 'None'], ], ], 'responses' => [ @@ -6079,98 +4689,148 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'description' => '任务ID。', - 'type' => 'string', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '898DB17C-09E9-5C41-909D-269BA183EB92'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'LLMConfigs' => [ + 'title' => '大模型配置信息字段。', + 'description' => '大模型配置信息字段。', + 'type' => 'array', + 'items' => [ + 'description' => '大模型配置信息字段。', + 'type' => 'object', + 'properties' => [ + 'LLMConfigId' => ['title' => '大模型调用信息配置ID。', 'description' => '大模型调用信息配置ID。', 'type' => 'string', 'example' => 'llm_config1'], + 'Name' => ['title' => '大模型调用信息配置名称。', 'description' => '大模型调用信息配置名称。', 'type' => 'string', 'example' => 'llm_config_name1'], + 'ApiKey' => ['title' => '大模型调用密钥。', 'description' => '大模型调用信息配置名称。', 'type' => 'string', 'example' => 'apikey-abcdxy'], + 'Model' => ['title' => '模型名称。', 'description' => '模型名称。', 'type' => 'string', 'example' => 'text-embedding-v1'], + 'BaseUrl' => ['title' => '配置基础调用链接。', 'description' => '配置基础调用链接。', 'type' => 'string', 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1'], + 'Rps' => ['title' => '每秒钟最大并发调用次数。', 'description' => '每秒钟最大并发调用次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'MaxTokens' => ['title' => '单行最大处理Token数。', 'description' => '单行最大处理Token数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => '修改时间。', 'description' => '修改时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aek2vtzqjaohzqi'], + 'BatchSize' => ['title' => '一次批处理大小。', 'description' => '一次批处理大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'WorkspaceId' => ['title' => '工作空间ID。', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '234'], + 'EmbeddingDimension' => ['title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', 'description' => '向量维度。为空或为0则按照模型各自的默认维度处理。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], + 'ModelType' => [ + 'type' => 'string', + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + 'description' => '', + ], + 'EnableFusion' => ['type' => 'boolean', 'description' => ''], + ], + ], + 'required' => true, + 'minItems' => 0, ], + 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:如果NextToken为空表示没有下一次查询。 如果NextToken有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5'], + 'MaxResults' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], + [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"898DB17C-09E9-5C41-909D-269BA183EB92\\",\\n \\"TotalCount\\": 10,\\n \\"LLMConfigs\\": [\\n {\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"apikey-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ResourceGroupId\\": \\"rg-aek2vtzqjaohzqi\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024,\\n \\"ModelType\\": \\"\\",\\n \\"EnableFusion\\": true\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', + 'title' => '列举大模型配置信息', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', - 'title' => '向指定特征视图写表', - ], - 'ListFeatureViewOnlineFeatures' => [ - 'summary' => '获取特征视图下的在线特征数据。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLLMConfigs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListLLMConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListLabelTables' => [ + 'summary' => '列出 Label 表,支持按项目、名称、所有者和 ID 过滤。', + 'path' => '/api/v1/instances/{InstanceId}/labeltables', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '225290', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188213', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可通过接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featurestore-test*'], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['title' => '项目ID。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => 'project1'], ], [ - 'name' => 'JoinIds', + 'name' => 'PageNumber', 'in' => 'query', - 'style' => 'json', + 'schema' => ['title' => '页大小。'."\n", 'description' => '页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => 'label表名称。', 'description' => 'label表名称。', 'type' => 'string', 'required' => false, 'example' => 'label_table1'], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'required' => false, 'example' => '1231432432****'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtModifiedTime'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => '排序方式。', 'description' => '排序方式。'."\n" + ."\n" + .'- Asc - 升序排序。'."\n" + ."\n" + .'- Desc - 降序排序。', 'type' => 'string', 'required' => false, 'example' => 'Asc'], + ], + [ + 'name' => 'LabelTableIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => 'JoinId值列表。', - 'description' => '查询的JoinId列表。', + 'title' => 'label表ID过滤。', + 'description' => 'Label表ID过滤。', 'type' => 'array', - 'items' => [ - 'title' => 'JoinId的值。', - 'description' => 'JoinId的值。', - 'type' => 'string', - 'required' => true, - 'example' => 'user1', - ], - 'required' => true, + 'items' => ['description' => 'Label表ID,可从接口ListLabelTables获取。', 'type' => 'string', 'required' => false, 'example' => '3'], + 'required' => false, ], ], ], @@ -6181,85 +4841,94 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], - 'OnlineFeatures' => [ - 'title' => '在线特征数据。', - 'description' => '在线特征数据列表。', + 'RequestId' => ['title' => '请求id。', 'description' => '请求ID。', 'type' => 'string', 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'default' => '10'], + 'LabelTables' => [ + 'title' => 'Label表列表。', + 'description' => 'Label表列表。', 'type' => 'array', 'items' => [ - 'description' => '在线特征数据。', - 'type' => 'string', - 'example' => '{"f1":123,"f2":"456"}', + 'type' => 'object', + 'properties' => [ + 'LabelTableId' => ['title' => 'Label表ID。', 'description' => 'Label表ID。', 'type' => 'string', 'example' => '3'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '1'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'DatasourceId' => ['title' => '数据源ID。', 'description' => '数据源ID。', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => 'label表名称。', 'description' => 'label表名称。', 'type' => 'string', 'example' => 'label_table1'], + 'DatasourceName' => ['title' => '数据源名称。', 'description' => '数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'example' => '123214213214'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + ], + 'description' => '', ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"TotalCount\\": 21,\\n \\"LabelTables\\": [\\n {\\n \\"LabelTableId\\": \\"3\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"123214213214\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取label表列表', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"OnlineFeatures\\": [\\n \\"{\\\\\\"f1\\\\\\":123,\\\\\\"f2\\\\\\":\\\\\\"456\\\\\\"}\\"\\n ]\\n}","type":"json"}]', - 'title' => '获取特征视图下的在线特征数据', - ], - 'ListFeatureViewRelationships' => [ - 'summary' => '获取特征视图血缘关系。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/relationships', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLabelTables'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListLabelTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListModelFeatureAvailableFeatures' => [ + 'summary' => '获取注册FG特征时模型特征下可选的所有特征。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/availablefeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205398', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'FeatureViewId', + 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '特征视图ID,可从接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '模型特征ID。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'FeatureName', + 'in' => 'query', + 'schema' => ['title' => '特征名称(模糊过滤)。', 'description' => '特征名称过滤。', 'type' => 'string', 'required' => false, 'example' => 'f1'], ], ], 'responses' => [ @@ -6269,129 +4938,154 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B', - ], - 'Relationships' => [ - 'title' => '血缘关系列表。', - 'description' => '血缘关系列表。', + 'requestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'AvaliableFeatures' => [ + 'title' => '可选的特征列表。', + 'description' => '可选的特征列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FeatureViewName' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', + 'Name' => ['title' => '特征名。', 'description' => '特征名。', 'type' => 'string', 'example' => 'age'], + 'Type' => [ + 'title' => '特征值类型。'."\n" + .'● INTEGER'."\n" + .'● DOUBLE'."\n" + .'● STRING', + 'description' => '特征值类型。'."\n" + .'- INTEGER'."\n" + .'- DOUBLE'."\n" + .'- STRING', 'type' => 'string', - 'example' => 'fv1', + 'enumValueTitles' => [], + 'example' => 'STRING', ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', + 'SourceType' => [ + 'title' => '特征来源'."\n" + .'● FeatureView'."\n" + .'● LabelTable', + 'description' => '特征来源'."\n" + .'- FeatureView-特征视图'."\n" + .'- LabelTable-Label表', 'type' => 'string', - 'example' => 'project1', - ], - 'Models' => [ - 'title' => '模型特征列表。', - 'description' => '模型特征列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ModelId' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ModelName' => [ - 'title' => '模型特征名称。', - 'description' => '模型特征名称。', - 'type' => 'string', - 'example' => 'dbmtl', - ], - ], - ], + 'enumValueTitles' => [], + 'example' => 'FeatureView', ], + 'SourceName' => ['title' => '特征来源名称', 'description' => '特征来源名称', 'type' => 'string', 'example' => 'user_fea'], ], + 'description' => '', ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取特征视图血缘关系', - ], - 'ListFeatureViewFieldRelationships' => [ - 'summary' => '获取特征字段血缘关系。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/fields/{FieldName}/relationships', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"TotalCount\\": 10,\\n \\"AvaliableFeatures\\": [\\n {\\n \\"Name\\": \\"age\\",\\n \\"Type\\": \\"STRING\\",\\n \\"SourceType\\": \\"FeatureView\\",\\n \\"SourceName\\": \\"user_fea\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取注册FG特征时模型特征下可选的所有特征', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatureAvailableFeatures'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatureAvailableFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListModelFeatures' => [ + 'summary' => '列出模型特征,支持按项目、名称、创建人和 ID 过滤,支持排序和分页。', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189326', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '特征视图ID,可从接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['title' => '项目ID,可从接口ListProjects获取。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => '4'], ], [ - 'name' => 'FieldName', - 'in' => 'path', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页大小。', 'description' => '页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '排序依据。'."\n" + .'● GmtCreateTime-创建时间。'."\n" + .'● GmtModifiedTime-更新时间。', 'description' => '排序依据。'."\n" + ."\n" + .'- GmtCreateTime:创建时间。'."\n" + .'- GmtModifiedTime:更新时间。', 'type' => 'string', 'required' => false, 'example' => 'DESC'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => '排序方式。'."\n" + .'● ASC-升序。'."\n" + .'● DESC-降序。', 'description' => '排序方式。'."\n" + ."\n" + .'- ASC:升序。'."\n" + .'- DESC:降序。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '模型特征名称过滤。', 'description' => '模型特征名称过滤。', 'type' => 'string', 'required' => false, 'example' => 'model_feature1'], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'required' => false, 'example' => '12323143****'], + ], + [ + 'name' => 'ModelFeatureIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => '特征字段名称。', - 'description' => '特征字段名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'user_id', + 'title' => '模型特征ID过滤。', + 'description' => '模型特征ID过滤。', + 'type' => 'array', + 'items' => ['description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => false, 'example' => '3'], + 'required' => false, ], ], ], @@ -6402,65 +5096,24 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], - 'Relationships' => [ - 'title' => '血缘关系列表。', - 'description' => '血缘关系列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'ModelFeatures' => [ + 'title' => '模型特征列表。', + 'description' => '模型特征列表。', 'type' => 'array', 'items' => [ + 'description' => '模型特征。', 'type' => 'object', 'properties' => [ - 'FeatureName' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'example' => 'featureView1', - ], - 'OnlineTableName' => [ - 'title' => '在线表名称。', - 'description' => '在线表名称。', - 'type' => 'string', - 'example' => 'table1', - ], - 'OfflineTableName' => [ - 'title' => '离线表名称。', - 'description' => '离线表名称。', - 'type' => 'string', - 'example' => 'table2', - ], - 'Models' => [ - 'title' => '模型列表。', - 'description' => '模型列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ModelId' => [ - 'title' => '模型ID。', - 'description' => '模型ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ModelName' => [ - 'title' => '模型名称。', - 'description' => '模型名称。', - 'type' => 'string', - 'example' => 'dbmtl', - ], - 'FeatureAliasName' => [ - 'title' => '特征别名。', - 'description' => '特征别名。', - 'type' => 'string', - 'example' => 'f1', - ], - ], - ], - ], + 'ModelFeatureId' => ['title' => '模型特征ID。', 'description' => '模型特征ID。', 'type' => 'string', 'example' => '3'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '5'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'Name' => ['title' => '模型特征名称。', 'description' => '模型特征名称。', 'type' => 'string', 'example' => 'model_feature1'], + 'Owner' => ['title' => '创建人。', 'description' => '创建人的阿里云账号ID。', 'type' => 'string', 'example' => '1231243253****'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00'], + 'LabelTableName' => ['title' => 'label表名称。', 'description' => 'Label表名称。', 'type' => 'string', 'example' => 'label_table_1'], ], ], ], @@ -6468,334 +5121,230 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 4,\\n \\"ModelFeatures\\": [\\n {\\n \\"ModelFeatureId\\": \\"3\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableName\\": \\"label_table_1\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取模型特征列表', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-09-08T04:01:39.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureName\\": \\"featureView1\\",\\n \\"OnlineTableName\\": \\"table1\\",\\n \\"OfflineTableName\\": \\"table2\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\",\\n \\"FeatureAliasName\\": \\"f1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取特征字段血缘关系', - ], - 'CreateLabelTable' => [ - 'summary' => '创建label表。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatures'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListProjectFeatureViews' => [ + 'summary' => '列出项目下所有特征视图及其可选的特征字段,用于为 CreateModelFeature 和 UpdateModelFeature 选取特征视图和字段。', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featurestore-test1', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'ProjectId', + 'in' => 'path', + 'schema' => ['title' => '项目ID,可从接口ListProjects获取。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '请求Body。', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'Name' => [ - 'title' => 'label表名称。', - 'description' => 'Label表名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'rec_test', - ], - 'DatasourceId' => [ - 'title' => 'label表所在数据源ID。', - 'description' => 'Label表所在数据源ID,可从接口ListDatasources获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '字段列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'FeatureViews' => [ + 'title' => '特征视图列表。', + 'description' => '特征视图列表。', 'type' => 'array', 'items' => [ - 'description' => '字段。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '字段名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'lat', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '字段类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'INT32', - 'enum' => [ - 'INT32', - 'INT64', - 'FLOAT', - 'DOUBLE', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● FeatureField-特征字段。'."\n" - .'● FeatureGenerationReserveField-FG保留字段'."\n" - .'● EventTime-事件时间'."\n" - .'● LabelField-Label字段。', - 'description' => '字段属性列表,可选值包括:'."\n" - ."\n" - .'● Partition-分区字段。'."\n" - ."\n" - .'● FeatureField-特征字段。'."\n" - ."\n" - .'● FeatureGenerationReserveField-FG保留字段。'."\n" - ."\n" - .'● EventTime-事件时间。'."\n" - ."\n" - .'● LabelField-Label字段。', + 'Name' => ['title' => '特征视图名称。', 'description' => '特征视图名称。', 'type' => 'string', 'example' => 'feature_view1'], + 'FeatureViewId' => ['title' => '特征视图ID。', 'description' => '特征视图ID。', 'type' => 'string', 'example' => '3'], + 'Features' => [ + 'title' => '特征列表。', + 'description' => '特征列表。', 'type' => 'array', 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'required' => false, - 'example' => 'Partition', - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - 'EventTimeIsUnixTime', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '特征名称。', 'description' => '特征名称。', 'type' => 'string', 'example' => 'f1'], + 'Type' => ['title' => '特征类型。'."\n" + .'● INT32'."\n" + .'● INT64'."\n" + .'● FLOAT'."\n" + .'● DOUBLE'."\n" + .'● STRING'."\n" + .'● BOOLEAN'."\n" + .'● TIMESTAMP', 'description' => '特征类型,包括:'."\n" + .'- INT32'."\n" + .'- INT64'."\n" + .'- FLOAT'."\n" + .'- DOUBLE'."\n" + .'- STRING'."\n" + .'- BOOLEAN'."\n" + .'- TIMESTAMP', 'type' => 'string', 'example' => 'INT32'], + 'Attributes' => [ + 'title' => '字段属性列表,可选值包括:'."\n" + .'● Partition-分区字段'."\n" + .'● PrimaryKey-主键'."\n" + .'● EventTime-事件时间', + 'description' => '字段属性列表,可选值包括:'."\n" + .'- Partition:分区字段'."\n" + .'- PrimaryKey:主键'."\n" + .'- EventTime:事件时间', + 'type' => 'array', + 'items' => ['description' => '字段属性。', 'type' => 'string', 'example' => 'Partition'], + ], ], + 'description' => '', ], - 'required' => true, ], + 'Type' => ['title' => '类型。'."\n" + .'● Batch-离线特征'."\n" + .'● Stream-实时特征'."\n" + .'● Sequence-序列特征', 'description' => '特征视图类型。'."\n" + .'- Batch:离线'."\n" + .'- Stream:实时'."\n" + .'- Sequence:行为序列', 'type' => 'string', 'example' => 'Batch'], + 'JoinId' => ['title' => '特征实体的JoinId。', 'description' => '特征实体的JoinId。', 'type' => 'string', 'example' => 'item_id'], + 'ParentJoinId' => ['title' => '父特征实体的JoinId。', 'description' => '父特征实体的JoinId。', 'type' => 'string', 'example' => 'item_id'], ], - 'required' => true, + 'description' => '', ], - 'required' => true, ], ], - 'required' => false, ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0FA90B3B-F30A-5C9D-A9FD-8114F8868062', - ], - 'LabelTableId' => [ - 'title' => 'label表ID。', - 'description' => 'Label表ID。', - 'type' => 'string', - 'example' => '1', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureViews\\": [\\n {\\n \\"Name\\": \\"feature_view1\\",\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ],\\n \\"Type\\": \\"Batch\\",\\n \\"JoinId\\": \\"item_id\\",\\n \\"ParentJoinId\\": \\"item_id\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取特征视图与特征列表', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:05.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-02-02T02:25:58.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatureViews'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FA90B3B-F30A-5C9D-A9FD-8114F8868062\\",\\n \\"LabelTableId\\": \\"1\\"\\n}","type":"json"}]', - 'title' => '创建label表', ], - 'ListLabelTables' => [ - 'summary' => '获取label表列表。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectFeatures' => [ + 'summary' => '检索项目下所有特征字段,支持按名称、别名和特征视图过滤,支持排序和分页。返回结果包含每个特征的类型、所属特征视图和被模型特征引用的次数。', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/features', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188213', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featurestore-test*', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'project1', - ], + 'in' => 'path', + 'schema' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ - 'name' => 'PageNumber', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '页大小。'."\n", - 'description' => '页大小,默认值为10。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['title' => '特征名称,支持模糊搜索。', 'description' => '特征名称,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'f1'], ], [ - 'name' => 'PageSize', + 'name' => 'AliasName', 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为10。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['title' => '特征别名,支持模糊搜索。', 'description' => '特征别名,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'ff1'], ], [ - 'name' => 'Name', + 'name' => 'Filter', 'in' => 'query', - 'schema' => [ - 'title' => 'label表名称。', - 'description' => 'label表名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'label_table1', - ], + 'schema' => ['title' => '其它过滤条件,JSON格式填入,AND条件查询。', 'description' => '其它过滤条件,JSON格式填入,AND条件查询。', 'type' => 'string', 'required' => false, 'example' => '{"feature_view_name":"fv1"}'], ], [ - 'name' => 'Owner', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1231432432****', - ], + 'schema' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'SortBy', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '排序依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], + 'schema' => ['title' => '页大小。', 'description' => '页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'Order', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '排序方式。'."\n" - ."\n" - .'- Asc - 升序排序。'."\n" - ."\n" - .'- Desc - 降序排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', - ], + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'ModelFeatureCount'], ], [ - 'name' => 'LabelTableIds', + 'name' => 'Order', 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => 'label表ID过滤。', - 'description' => 'Label表ID过滤。', - 'type' => 'array', - 'items' => [ - 'description' => 'Label表ID,可从接口ListLabelTables获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, - ], + 'schema' => ['title' => '排序方式。', 'description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'Desc'], ], ], 'responses' => [ @@ -6805,146 +5354,129 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - 'default' => '10', - ], - 'LabelTables' => [ - 'title' => 'Label表列表。', - 'description' => 'Label表列表。', + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B'], + 'Features' => [ + 'title' => '特征列表。', + 'description' => '特征列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'LabelTableId' => [ - 'title' => 'Label表ID。', - 'description' => 'Label表ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '1', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => 'label表名称。', - 'description' => 'label表名称。', - 'type' => 'string', - 'example' => 'label_table1', - ], - 'DatasourceName' => [ - 'title' => '数据源名称。', - 'description' => '数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'example' => '123214213214', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], + 'Name' => ['title' => '特征名称。', 'description' => '特征名称。', 'type' => 'string', 'example' => 'f1'], + 'Type' => ['title' => '字段类型。', 'description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'], + 'FeatureViewId' => ['title' => '所属特征视图ID。', 'description' => '所属特征视图ID。', 'type' => 'string', 'example' => '1'], + 'FeatureViewName' => ['title' => '所属特征视图名称。', 'description' => '所属特征视图名称。', 'type' => 'string', 'example' => 'fv1'], + 'Owner' => ['title' => '特征创建者。', 'description' => '特征创建者。', 'type' => 'string', 'example' => '123456'], + 'ModelFeatureCount' => ['title' => '被多少个模型特征使用。', 'description' => '被多少个模型特征使用。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'AliasNames' => ['title' => '特征别名列表,由逗号分隔。', 'description' => '特征别名列表,由逗号分隔。', 'type' => 'string', 'example' => 'age1,age2'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], ], + 'description' => '', ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"TotalCount\\": 21,\\n \\"LabelTables\\": [\\n {\\n \\"LabelTableId\\": \\"3\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"123214213214\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取label表列表', - ], - 'GetLabelTable' => [ - 'summary' => '获取label表详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"FeatureViewId\\": \\"1\\",\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"Owner\\": \\"123456\\",\\n \\"ModelFeatureCount\\": 10,\\n \\"AliasNames\\": \\"age1,age2\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取项目下所有特征信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatures'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListProjects' => [ + 'summary' => '列出 FeatureStore 实例下的项目,支持按名称、工作空间和所有者过滤。', + 'path' => '/api/v1/instances/{InstanceId}/projects', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'LabelTableId', - 'in' => 'path', + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['title' => '工作空间ID,可通过工作空间接口ListWorkspaces获取。', 'description' => '工作空间ID,可通过工作空间接口[ListWorkspaces](~~449124~~)获取。', 'type' => 'string', 'required' => false, 'example' => '234'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '项目名称过滤。', 'description' => '项目名称过滤。', 'type' => 'string', 'required' => false, 'example' => 'fs1'], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['title' => '项目所有者。', 'description' => '项目所有者的阿里云账号ID。', 'type' => 'string', 'required' => false, 'example' => '134324352****'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => '排序方式。', 'description' => '排序方式。'."\n" + ."\n" + .'- Asc - 升序排列。'."\n" + ."\n" + .'- Desc - 降序排列。', 'type' => 'string', 'required' => false, 'example' => 'Asc'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => '排序依据。', 'description' => '排序依据。', 'type' => 'string', 'required' => false, 'example' => 'GmtModifiedTime'], + ], + [ + 'name' => 'ProjectIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => 'Label表ID。', - 'description' => 'Label表ID,可从接口ListLabelTables获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => '项目ID过滤。', + 'description' => '项目ID过滤。', + 'type' => 'array', + 'items' => ['description' => '项目ID,可通过接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => '3'], + 'required' => false, ], ], ], @@ -6955,116 +5487,33 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '1', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '数据源ID。', - 'type' => 'string', - 'example' => '1', - ], - 'Name' => [ - 'title' => 'label表名称。', - 'description' => 'Label表名称。', - 'type' => 'string', - 'example' => 'label_table1', - ], - 'DatasourceName' => [ - 'title' => '数据源名称。', - 'description' => '数据源名称。', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'example' => '12321312*****', - ], - 'RelatedModelFeatures' => [ - 'title' => '使用此Label表的模型特征名称。', - 'description' => '关联模型特征名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '关联模型特征名称。', - 'type' => 'string', - 'example' => 'rank_v1', - ], - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '字段列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Projects' => [ + 'title' => '项目列表。', + 'description' => '项目列表。', 'type' => 'array', 'items' => [ - 'description' => '字段。', + 'description' => '项目。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '字段名称。', - 'type' => 'string', - 'example' => 'field1', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '字段类型。', - 'type' => 'string', - 'example' => 'INT32', - 'enum' => [ - 'INT32', - 'INT64', - 'FLOAT', - 'DOUBLE', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'title' => '字段属性列表。', - 'description' => '字段属性列表。', - 'type' => 'array', - 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'example' => 'Partition', - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - ], - ], - ], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project1'], + 'Description' => ['title' => '项目描述。', 'description' => '项目描述。', 'type' => 'string', 'example' => 'This is a test.'], + 'OfflineDatasourceType' => ['title' => '离线数据源类型。', 'description' => '离线数据源类型。', 'type' => 'string', 'example' => 'MaxCompute'], + 'OfflineDatasourceId' => ['title' => '离线数据源ID。', 'description' => '离线数据源ID。', 'type' => 'string', 'example' => '4'], + 'OfflineDatasourceName' => ['title' => '离线数据源名称。', 'description' => '离线数据源名称。', 'type' => 'string', 'example' => 'datasource1'], + 'OnlineDatasourceType' => ['title' => '在线数据源类型。', 'description' => '在线数据源类型。', 'type' => 'string', 'example' => 'Hologres'], + 'OnlineDatasourceId' => ['title' => '在线数据源ID。', 'description' => '在线数据源ID。', 'type' => 'string', 'example' => '5'], + 'OnlineDatasourceName' => ['title' => '在线数据源名称。', 'description' => '在线数据源名称。', 'type' => 'string', 'example' => 'datasource2'], + 'OfflineLifecycle' => ['title' => '离线数据表生命周期。', 'description' => '离线数据生命周期(天)。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'FeatureEntityCount' => ['title' => '特征实体数量。', 'description' => '项目所含特征实体个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'FeatureViewCount' => ['title' => '特征视图数量。', 'description' => '项目所含特征视图个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ModelCount' => ['title' => '模型特征数量。', 'description' => '项目所含模型特征个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Owner' => ['title' => '项目所有者。', 'description' => '项目所有者。', 'type' => 'string', 'example' => '1232132543543****'], + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'WorkspaceId' => ['title' => 'PAI 工作空间 ID。', 'type' => 'string', 'example' => '35523'], ], ], ], @@ -7072,147 +5521,72 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取项目列表', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-08-30T06:54:43.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"1\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"12321312*****\\",\\n \\"RelatedModelFeatures\\": [\\n \\"rank_v1\\"\\n ],\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"field1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取label表详细信息', - ], - 'UpdateLabelTable' => [ - 'summary' => '更新label表信息,例如更新表名。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjects'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Projects\\": [\\n {\\n \\"ProjectId\\": \\"3\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 10,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"35523\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTaskLogs' => [ + 'summary' => '获取异步任务的执行日志,支持分页。', + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'featurestore-test1', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'LabelTableId', + 'name' => 'TaskId', 'in' => 'path', - 'schema' => [ - 'title' => 'Label表ID。', - 'description' => 'Label表ID,可从接口ListLabelTables获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '任务ID。', 'description' => '任务ID,可从接口ListTasks获取。', 'type' => 'string', 'required' => true, 'example' => '4'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => 'label表名称。', - 'description' => 'label表名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'rec_test', - ], - 'DatasourceId' => [ - 'title' => 'label表所在数据源ID。', - 'description' => 'label表所在数据源ID。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '字段列表。', - 'type' => 'array', - 'items' => [ - 'description' => '字段。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '字段名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'lat', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '字段类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'DOUBLE', - 'enum' => [ - 'DOUBLE', - 'INT32', - 'INT64', - 'FLOAT', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'title' => '字段属性列表。', - 'description' => '字段属性列表。', - 'type' => 'array', - 'items' => [ - 'description' => '字段属性。', - 'type' => 'string', - 'required' => false, - 'example' => 'Partition', - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - 'EventTimeIsUnixTime', - ], - ], - 'required' => true, - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - 'required' => false, - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页大小。', 'description' => '页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -7222,143 +5596,250 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A'], + 'TotalCount' => ['title' => '日志总行数。', 'description' => '日志总行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Logs' => [ + 'title' => '日志列表。', + 'description' => '日志列表。', + 'type' => 'array', + 'items' => ['description' => '日志。', 'type' => 'string', 'example' => 'success!'], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\"\\n}","type":"json"}]', - 'title' => '更新label表', - ], - 'DeleteLabelTable' => [ - 'summary' => '删除label表。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'delete', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"TotalCount\\": 100,\\n \\"Logs\\": [\\n \\"success!\\"\\n ]\\n}","type":"json"}]', + 'title' => '获取任务日志', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskLogs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTaskLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTasks' => [ + 'summary' => '列出实例下的异步任务,支持按项目、对象类型、状态等条件过滤,支持分页。', + 'path' => '/api/v1/instances/{InstanceId}/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188874', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'LabelTableId', - 'in' => 'path', + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['title' => '项目ID,可从接口ListProjects获取。', 'description' => '项目ID,可从接口ListProjects获取。', 'type' => 'string', 'required' => false, 'example' => '4'], + ], + [ + 'name' => 'ObjectType', + 'in' => 'query', + 'schema' => ['title' => '任务对象类型。'."\n" + .'● ModelFeature-模型特征。'."\n" + .'● FeatureView-特征视图。', 'description' => '任务对象类型。'."\n" + ."\n" + .'● ModelFeature-模型特征。'."\n" + ."\n" + .'● FeatureView-特征视图。', 'type' => 'string', 'required' => false, 'example' => 'ModelFeature'], + ], + [ + 'name' => 'ObjectId', + 'in' => 'query', + 'schema' => ['title' => '任务对象ID。', 'description' => '任务对象ID,可从接口ListModelFeatures、ListFeatureViews获取。', 'type' => 'string', 'required' => false, 'example' => '4'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['title' => '状态。'."\n" + .'● Initializing-初始化中。'."\n" + .'● Running-运行中。'."\n" + .'● Success-成功。'."\n" + .'● Failure-失败。', 'description' => '状态。'."\n" + ."\n" + .'● Initializing-初始化中。'."\n" + ."\n" + .'● Running-运行中。'."\n" + ."\n" + .'● Success-成功。'."\n" + ."\n" + .'● Failure-失败。', 'type' => 'string', 'required' => false, 'example' => 'Running'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '页大小。', 'description' => '页大小,默认为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码。', 'description' => '页码,起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['title' => '任务类型过滤。'."\n" + .'● OfflineToOnline-离在线数据同步。'."\n" + .'● ExportTrainingSet-导出训练样本表。', 'description' => '任务类型过滤。'."\n" + .'● OfflineToOnline-离在线数据同步。'."\n" + .'● ExportTrainingSet-导出训练样本表。', 'type' => 'string', 'required' => false, 'example' => 'OfflineToOnline'], + ], + [ + 'name' => 'TaskIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => 'Label表ID,可从接口ListLabelTables获取。', - 'description' => 'Label表ID,可从接口ListLabelTables获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => '任务ID过滤。', + 'description' => '任务ID过滤。', + 'type' => 'array', + 'items' => ['description' => '任务ID,可从接口ListTasks获取。', 'type' => 'string', 'required' => false, 'example' => '3'], + 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FFD39C0F-DD8D-51B2-864E-2842206DB0E8', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], + 'TotalCount' => ['title' => '总个数。', 'description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Tasks' => [ + 'title' => '任务列表。', + 'description' => '任务列表。', + 'type' => 'array', + 'items' => [ + 'description' => '任务。', + 'type' => 'object', + 'properties' => [ + 'GmtCreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtExecutedTime' => ['title' => '执行时间。', 'description' => '执行时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtFinishedTime' => ['title' => '完成时间。', 'description' => '完成时间。', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'ObjectId' => ['title' => '任务对象ID。', 'description' => '任务对象ID。', 'type' => 'string', 'example' => '5'], + 'ObjectType' => ['title' => '任务对象类型。'."\n" + .'● ModelFeature-模型特征'."\n" + .'● FeatureView-特征视图', 'description' => '任务对象类型。'."\n" + ."\n" + .'● ModelFeature-模型特征'."\n" + ."\n" + .'● FeatureView-特征视图', 'type' => 'string', 'example' => 'ModelFeature'], + 'ProjectId' => ['title' => '项目ID。', 'description' => '项目ID。', 'type' => 'string', 'example' => '4'], + 'ProjectName' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'example' => 'project_1'], + 'Status' => ['title' => '状态。'."\n" + .'● Initializing-初始化中。'."\n" + .'● Running-运行中。'."\n" + .'● Success-成功。'."\n" + .'● Failure-失败。', 'description' => '状态。'."\n" + ."\n" + .'● Initializing-初始化中。'."\n" + ."\n" + .'● Running-运行中。'."\n" + ."\n" + .'● Success-成功。'."\n" + ."\n" + .'● Failure-失败。', 'type' => 'string', 'example' => 'Running'], + 'TaskId' => ['title' => '任务ID。', 'description' => '任务ID。', 'type' => 'string', 'example' => '4'], + 'Type' => ['title' => '任务类型。'."\n" + .'● OfflineToOnline-离在线数据同步。'."\n" + .'● ExportTrainingSet-导出训练样本表。', 'description' => '任务类型。'."\n" + ."\n" + .'● OfflineToOnline-离在线数据同步。'."\n" + ."\n" + .'● ExportTrainingSet-导出训练样本表。', 'type' => 'string', 'example' => 'OfflineToOnline'], + ], + ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"TotalCount\\": 10,\\n \\"Tasks\\": [\\n {\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ObjectId\\": \\"5\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ProjectId\\": \\"4\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"4\\",\\n \\"Type\\": \\"OfflineToOnline\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取任务列表', + 'changeSet' => [ + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFD39C0F-DD8D-51B2-864E-2842206DB0E8\\"\\n}","type":"json"}]', - 'title' => '删除label表', - ], - 'CreateModelFeature' => [ - 'summary' => '创建模型特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'PublishFeatureViewTable' => [ + 'summary' => '创建特征视图的数据同步任务,把离线表数据同步到对应的在线存储。', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/publishtable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189325', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['title' => '特征视图ID,可从接口ListFeatureViews获取。', 'description' => '特征视图ID,可从接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ 'name' => 'body', @@ -7368,105 +5849,26 @@ 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'Name' => [ - 'title' => '模型特征名称。', - 'description' => '模型特征名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'model_feature_1', - ], - 'LabelTableId' => [ - 'title' => 'Label表ID,可从接口ListLabelTables获取。', - 'description' => 'Label表ID,可从接口ListLabelTables获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '特征列表。', - 'type' => 'array', - 'items' => [ - 'description' => '特征。', + 'Partitions' => [ + 'title' => '分区表。', + 'description' => '分区表。', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', - 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID,可从接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], - 'Name' => [ - 'title' => '特征名称。', - 'description' => '特征名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'user_id', - ], - 'AliasName' => [ - 'title' => '特征别名。', - 'description' => '特征别名。', - 'type' => 'string', - 'required' => false, - 'example' => 'userid', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '特征类型。'."\n" - ."\n" - .'● INT32'."\n" - ."\n" - .'● INT64'."\n" - ."\n" - .'● FLOAT'."\n" - ."\n" - .'● DOUBLE'."\n" - ."\n" - .'● STRING'."\n" - ."\n" - .'● BOOLEAN'."\n" - ."\n" - .'● TIMESTAMP', - 'type' => 'string', - 'required' => true, - 'example' => 'STRING', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - 'SequenceFeatureViewIds' => [ - 'title' => '序列特征IDs。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, + 'additionalProperties' => ['type' => 'string', 'example' => '20220718', 'description' => '分区日期。'], + 'description' => '分区字段的映射。', ], - 'required' => false, - ], - 'LabelPriorityLevel' => [ - 'title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', ], + 'Mode' => ['title' => '模式'."\n" + .'● Overwrite-覆盖写'."\n" + .'● Merge-合并', 'description' => '模式,包括以下可选值:'."\n" + ."\n" + .'- Overwrite:覆盖写'."\n" + .'- Merge:合并', 'type' => 'string', 'required' => true, 'example' => 'Overwrite'], + 'EventTime' => ['title' => '事件时间。', 'description' => '事件时间。', 'type' => 'string', 'required' => false, 'example' => '2021-12-15T23:24:33.132+08:00'], + 'Config' => ['title' => '配置。', 'description' => '配置。', 'type' => 'string', 'required' => false, 'example' => '{}'], + 'OfflineToOnline' => ['title' => '是否同步在线特征。', 'description' => '是否同步在线特征。', 'type' => 'boolean', 'required' => true, 'example' => 'true'], ], 'required' => false, ], @@ -7479,177 +5881,67 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'ModelFeatureId' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID。', - 'type' => 'string', - 'example' => '3', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '627B5776-4D06-5A49-8A04-508AA39653F4'], + 'TaskId' => ['title' => '任务ID。', 'description' => '任务ID。', 'type' => 'string'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"627B5776-4D06-5A49-8A04-508AA39653F4\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', + 'title' => '发布特征视图下表数据', + 'changeSet' => [ + ['createdAt' => '2023-09-08T06:37:50.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ModelFeatureId\\": \\"3\\"\\n}","type":"json"}]', - 'title' => '创建模型特征', - ], - 'ListModelFeatures' => [ - 'summary' => '获取模型特征列表。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishFeatureViewTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:PublishFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'StopTask' => [ + 'summary' => '停止异步任务。仅 Initializing 或 Running 状态的任务可以停止。', + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189326', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小,默认值为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。'."\n" - .'● GmtCreateTime-创建时间。'."\n" - .'● GmtModifiedTime-更新时间。', - 'description' => '排序依据。'."\n" - ."\n" - .'- GmtCreateTime:创建时间。'."\n" - .'- GmtModifiedTime:更新时间。', - 'type' => 'string', - 'required' => false, - 'example' => 'DESC', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。'."\n" - .'● ASC-升序。'."\n" - .'● DESC-降序。', - 'description' => '排序方式。'."\n" - ."\n" - .'- ASC:升序。'."\n" - .'- DESC:降序。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '模型特征名称过滤。', - 'description' => '模型特征名称过滤。', - 'type' => 'string', - 'required' => false, - 'example' => 'model_feature1', - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'required' => false, - 'example' => '12323143****', - ], - ], - [ - 'name' => 'ModelFeatureIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => '模型特征ID过滤。', - 'description' => '模型特征ID过滤。', - 'type' => 'array', - 'items' => [ - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, - ], + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => ['title' => '任务ID。', 'description' => '任务ID。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -7659,141 +5951,78 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'ModelFeatures' => [ - 'title' => '模型特征列表。', - 'description' => '模型特征列表。', - 'type' => 'array', - 'items' => [ - 'description' => '模型特征。', - 'type' => 'object', - 'properties' => [ - 'ModelFeatureId' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '5', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'Name' => [ - 'title' => '模型特征名称。', - 'description' => '模型特征名称。', - 'type' => 'string', - 'example' => 'model_feature1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'example' => '1231243253****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'LabelTableName' => [ - 'title' => 'label表名称。', - 'description' => 'Label表名称。', - 'type' => 'string', - 'example' => 'label_table_1', - ], - ], - ], - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 4,\\n \\"ModelFeatures\\": [\\n {\\n \\"ModelFeatureId\\": \\"3\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableName\\": \\"label_table_1\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取模型特征列表', - ], - 'GetModelFeature' => [ - 'summary' => '获取模型特征详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\"\\n}","type":"json"}]', + 'title' => '停止任务', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:StopTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateDatasource' => [ + 'summary' => '更新数据源信息。数据源类型和工作空间不可更改。', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189332', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => 'The ID of the FeatureStore Instance. Call the ListInstances operation to query the list.', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'DatasourceId', 'in' => 'path', + 'schema' => ['title' => 'The ID of the datasource. Call the ListDatasources operation to query the list.', 'description' => '数据源ID,可通过接口ListDatasources获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => 'The name of the datasource.', 'description' => '数据源名称。', 'type' => 'string', 'required' => true, 'example' => 'datasource1'], + 'Uri' => ['title' => 'The resource identifier. The format depends on the datasource type (same as CreateDatasource):\\n\\n* **MaxCompute**: the MaxCompute project name\\n* **Hologres**: `<instanceId>/<database>`\\n* **TableStore**: the TableStore instance name\\n* **FeatureDB**: any non-empty string (this value is not used)', 'description' => '资源地址。', 'type' => 'string', 'required' => true, 'example' => 'igraph_instance1'], + 'Config' => ['title' => 'A JSON string providing type-specific configuration (same structure as CreateDatasource). Structure and required keys depend on the datasource type:\\n\\n* **MaxCompute**: not used\\n* **Hologres** (optional): `{"vpc_id": "string", "vswitch_id": "string"}` — specify both to enable VPC access, or omit both.\\n > If VPC connectivity is already established, the Uri cannot be changed (it would alter the connection addresses). Create a new datasource instead.\\n* **TableStore**: not used\\n* **FeatureDB** (optional): `{"password": "string", "vpc_id": "string", "vswitch_ids": "string"}`\\n - `password`: 8–16 characters, at least one letter, one digit, and one special character. Username cannot be changed.\\n - `vpc_id` and `vswitch_ids` are optional. VpcId cannot be changed once set. `vswitch_ids` can only be appended (existing zone mappings cannot be modified).\\n\\nFormat: `--config \'{"password":"Pass123!"}\'`', 'description' => '资源配置。', 'type' => 'string', 'required' => false, 'example' => '{"address": ""}'], + ], + 'required' => false, ], ], ], @@ -7804,283 +6033,63 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '5', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project1', - ], - 'Name' => [ - 'title' => '模型特征名称。', - 'description' => '模型特征名称。', - 'type' => 'string', - 'example' => 'model_feature1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '创建人的阿里云账号ID。', - 'type' => 'string', - 'example' => '1231243253****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'LabelTableId' => [ - 'title' => 'Label表ID。', - 'description' => 'Label表ID。', - 'type' => 'string', - 'example' => '3', - ], - 'LabelTableName' => [ - 'title' => 'Label表名称。', - 'description' => 'Label表名称。', - 'type' => 'string', - 'example' => 'label_table1', - ], - 'TrainingSetTable' => [ - 'title' => '导出训练集表的名称。', - 'description' => '导出训练集表的名称。', - 'type' => 'string', - 'example' => 'table1', - ], - 'TrainingSetFGTable' => [ - 'title' => '导出训练集FG表的名称。', - 'description' => '导出训练集FG表的名称。', - 'type' => 'string', - 'example' => 'table2', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '特征列表。', - 'type' => 'array', - 'items' => [ - 'description' => '特征。', - 'type' => 'object', - 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '特征视图ID。', - 'type' => 'string', - 'example' => '3', - ], - 'FeatureViewName' => [ - 'title' => '特征视图名称。', - 'description' => '特征视图名称。', - 'type' => 'string', - 'example' => 'feature_view_1', - ], - 'Name' => [ - 'title' => '特征名称。', - 'description' => '特征名称。', - 'type' => 'string', - 'example' => 'feature1', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '特征类型。'."\n" - ."\n" - .'● INT32'."\n" - ."\n" - .'● INT64'."\n" - ."\n" - .'● FLOAT'."\n" - ."\n" - .'● DOUBLE'."\n" - ."\n" - .'● STRING'."\n" - ."\n" - .'● BOOLEAN'."\n" - ."\n" - .'● TIMESTAMP', - 'type' => 'string', - 'example' => 'INT32', - ], - 'AliasName' => [ - 'title' => '特征别名。', - 'description' => '特征别名。', - 'type' => 'string', - 'example' => 'feature2', - ], - ], - ], - ], - 'Relations' => [ - 'title' => '特征关系。', - 'description' => '特征关系。', - 'type' => 'object', - 'properties' => [ - 'Domains' => [ - 'title' => 'Domain列表。', - 'description' => 'Domain列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => 'Domain ID。', - 'description' => 'Domain ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => 'Domain名称。', - 'description' => 'Domain名称。', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'DomainType' => [ - 'title' => 'Domain类型。'."\n" - .'● FeatureEntity-特征实体'."\n" - .'● FeatureView-特征视图'."\n" - .'● ModelFeature-模型特征', - 'description' => 'Domain类型。'."\n" - ."\n" - .'● FeatureEntity-特征实体'."\n" - ."\n" - .'● FeatureView-特征视图'."\n" - ."\n" - .'● ModelFeature-模型特征', - 'type' => 'string', - 'example' => 'FeatureEntity', - ], - ], - ], - ], - 'Links' => [ - 'title' => '特征关系连接信息列表。', - 'description' => '特征关系连接信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'From' => [ - 'title' => '连接头ID。', - 'description' => '连接头ID。', - 'type' => 'string', - 'example' => 'model_feature_2', - ], - 'To' => [ - 'title' => '连接尾ID。', - 'description' => '连接尾ID。', - 'type' => 'string', - 'example' => 'feature_entity_3', - ], - 'Link' => [ - 'title' => '连接依赖字段。', - 'description' => '连接依赖字段。', - 'type' => 'string', - 'example' => 'user_id', - ], - ], - ], - ], - ], - ], - 'ExportTrainingSetTableScript' => [ - 'title' => '导出training set表脚本', - 'description' => '导出训练样本表脚本。', - 'type' => 'string', - 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nfrom feature_store_py.fs_project import FeatureStoreProject\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\nfrom feature_store_py.fs_features import FeatureSelector\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\nimport datetime\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\noffset = datetime.timedelta(days=-1)\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\nprint(\'pre_day = \', pre_day)\\n\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\n\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\npartition_config=feature_view_1_partitions)\\n\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\npartition_config=feature_view_2_partitions)\\n\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\npartition_config=feature_view_3_partitions)\\n\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\n\\n\\nmodel_name = \'rank_v1\'\\ncur_model = project.get_model(model_name)\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\ntask.wait()\\nprint(\'task_summary = \', task.task_summary)\\n', - ], - 'LabelPriorityLevel' => [ - 'title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', - 'description' => 'Label 表优先级,默认值为 0,设置为 1 表示 Label 表优先,设置为 2 表示 特征视图优先。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableId\\": \\"3\\",\\n \\"LabelTableName\\": \\"label_table1\\",\\n \\"TrainingSetTable\\": \\"table1\\",\\n \\"TrainingSetFGTable\\": \\"table2\\",\\n \\"Features\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"FeatureViewName\\": \\"feature_view_1\\",\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"AliasName\\": \\"feature2\\"\\n }\\n ],\\n \\"Relations\\": {\\n \\"Domains\\": [\\n {\\n \\"Id\\": \\"3\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"DomainType\\": \\"FeatureEntity\\"\\n }\\n ],\\n \\"Links\\": [\\n {\\n \\"From\\": \\"model_feature_2\\",\\n \\"To\\": \\"feature_entity_3\\",\\n \\"Link\\": \\"user_id\\"\\n }\\n ]\\n },\\n \\"ExportTrainingSetTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nfrom feature_store_py.fs_project import FeatureStoreProject\\\\\\\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\\\\\\\nfrom feature_store_py.fs_features import FeatureSelector\\\\\\\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\\\\\\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\\\\\\\nimport datetime\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\noffset = datetime.timedelta(days=-1)\\\\\\\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\\\\\\\nprint(\'pre_day = \', pre_day)\\\\\\\\n\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\\\\\\\n\\\\\\\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\\\\\\\npartition_config=feature_view_1_partitions)\\\\\\\\n\\\\\\\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\\\\\\\npartition_config=feature_view_2_partitions)\\\\\\\\n\\\\\\\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\\\\\\\npartition_config=feature_view_3_partitions)\\\\\\\\n\\\\\\\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\\\\\\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\\\\\\\n\\\\\\\\n\\\\\\\\nmodel_name = \'rank_v1\'\\\\\\\\ncur_model = project.get_model(model_name)\\\\\\\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\\\\\\\ntask.wait()\\\\\\\\nprint(\'task_summary = \', task.task_summary)\\\\\\\\n\\",\\n \\"LabelPriorityLevel\\": 0\\n}","type":"json"}]', - 'title' => '获取模型特征详细信息', - ], - 'UpdateModelFeature' => [ - 'summary' => '更新指定模型特征的信息,例如更新模型特征关联的label表ID。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'put', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', + 'title' => '更新数据源', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDatasource'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189379', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['title' => '特征视图ID,可从接口ListFeatureViews获取。', 'description' => '特征视图ID,可从接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ 'name' => 'body', @@ -8090,90 +6099,69 @@ 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'LabelTableId' => [ - 'title' => 'Label表ID,可从接口ListLabelTables获取。', - 'description' => 'Label表ID,可从接口ListLabelTables获取。', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '特征列表。', + 'Fields' => [ + 'title' => '字段列表。', + 'description' => '字段列表。', 'type' => 'array', 'items' => [ - 'description' => '特征。', + 'description' => '字段列表。', 'type' => 'object', 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '特征视图ID,可从接口ListFeatureViews获取。', - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], - 'Name' => [ - 'title' => '特征名称。', - 'description' => '特征名称。', - 'type' => 'string', + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'required' => true, 'example' => 'user_id'], + 'Type' => ['title' => '字段类型。', 'description' => '字段类型。', 'type' => 'string', 'required' => true, 'example' => 'INT32'], + 'Attributes' => [ + 'title' => '字段属性列表,可选值包括:'."\n" + .'Partition-分区字段'."\n" + .'PrimaryKey-主键'."\n" + .'EventTime-事件时间', + 'description' => '字段属性列表,可选值包括:'."\n" + .'- Partition-分区字段'."\n" + .'- PrimaryKey-主键'."\n" + .'- EventTime-事件时间', + 'type' => 'array', + 'items' => ['description' => '字段属性。', 'type' => 'string', 'required' => false, 'example' => 'Partition'], 'required' => true, - 'example' => 'gender', ], - 'AliasName' => [ - 'title' => '特征别名。', - 'description' => '特征别名。', - 'type' => 'string', + 'Transform' => [ + 'title' => '特征生产配置。', + 'description' => '特征生产配置。', + 'type' => 'array', + 'items' => [ + 'description' => '特征生产配置。', + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '特征生产类型。', 'description' => '特征生产类型。', 'type' => 'string', 'required' => true, 'example' => 'LLMEmbedding'], + 'LLMConfigId' => ['title' => '大模型调用信息ID。', 'description' => '大模型调用信息ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'Input' => [ + 'title' => '特征生产输入。', + 'description' => '输入字段。', + 'type' => 'array', + 'items' => [ + 'description' => '输入字段。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '输入字段名称。', 'description' => '输入字段名称。', 'type' => 'string', 'required' => true, 'example' => 'f1'], + 'Type' => ['title' => '输入字段类型。', 'description' => '输入字段类型。', 'type' => 'string', 'required' => true, 'example' => 'STRING'], + 'Modality' => [ + 'type' => 'string', + 'example' => 'NONE', + 'default' => 'NONE', + 'enum' => ['NONE', 'TEXT', 'IMAGE', 'VIDEO', 'MULTI_IMAGES'], + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'sex', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '特征类型。'."\n" - ."\n" - .'● INT32'."\n" - ."\n" - .'● INT64'."\n" - ."\n" - .'● FLOAT'."\n" - ."\n" - .'● DOUBLE'."\n" - ."\n" - .'● STRING'."\n" - ."\n" - .'● BOOLEAN'."\n" - ."\n" - .'● TIMESTAMP', - 'type' => 'string', - 'required' => true, - 'example' => 'STRING', ], ], 'required' => false, ], - 'required' => false, - ], - 'SequenceFeatureViewIds' => [ - 'title' => '序列特征IDs。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - 'LabelPriorityLevel' => [ - 'title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', + 'required' => true, ], ], 'required' => false, @@ -8187,79 +6175,78 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新特征视图', + 'summary' => '更新特征视图。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', - 'title' => '更新模型特征', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\"\\n}","type":"json"}]', ], - 'DeleteModelFeature' => [ - 'summary' => '删除指定模型特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateLLMConfig' => [ + 'summary' => '更新 LLM 调用配置。ApiKey 不传则保留原有密钥,更新时会重新验证模型可用性和参数合法性。', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-***'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + 'description' => '大模型配置信息。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '大模型调用信息名称。', 'description' => '大模型调用信息名称。', 'type' => 'string', 'required' => true, 'example' => 'llm-config1'], + 'Model' => ['title' => '模型名称。', 'description' => '模型名称。', 'type' => 'string', 'required' => true, 'example' => 'text-embedding-v1'], + 'ApiKey' => ['title' => '大模型调用密钥。', 'description' => '大模型调用密钥。', 'type' => 'string', 'required' => true, 'example' => 'apikey-***'], + 'BaseUrl' => ['title' => '大模型调用基础链接。', 'description' => '大模型调用基础链接。', 'type' => 'string', 'required' => true, 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1'], + 'Rps' => ['title' => '每秒调用并发数。', 'description' => '每秒调用并发数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], + 'MaxTokens' => ['title' => '一行最大输入 token 数。', 'description' => '一行最大输入 token 数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2048'], + 'BatchSize' => ['title' => '一次批处理大小。', 'description' => '一次批处理大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'], + 'EmbeddingDimension' => ['title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1024', 'description' => '向量维度。为空或为0则按照模型各自的默认维度处理。'], + 'ModelType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + 'description' => '', + ], + 'EnableFusion' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + 'required' => false, ], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'LLMConfigId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['title' => '大模型调用信息配置ID。', 'description' => '大模型调用信息配置ID。', 'type' => 'string', 'required' => true, 'example' => 'llm_config_test1'], ], ], 'responses' => [ @@ -8269,76 +6256,66 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', + 'title' => '更新大模型配置信息', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\"\\n}","type":"json"}]', - 'title' => '删除模型特征', - ], - 'ExportModelFeatureTrainingSetTable' => [ - 'summary' => '导出指定模型特征的训练集表。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLLMConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateLabelTable' => [ + 'summary' => '更新 Label 表字段属性。只能修改已有字段的属性,不能新增、删除字段或修改字段名和类型。', + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189386', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口[ListInstances](~~2787137~~)获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'featurestore-test1'], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'LabelTableId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '模型特征ID,可从接口[ListModelFeatures](~~2787184~~)获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => 'Label表ID。', 'description' => 'Label表ID,可从接口ListLabelTables获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ 'name' => 'body', @@ -8348,193 +6325,43 @@ 'description' => '请求Body。', 'type' => 'object', 'properties' => [ - 'LabelInputConfig' => [ - 'title' => 'Label输入配置。', - 'description' => 'Label输入配置。', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区列表。', - 'description' => '分区列表。', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '分区日期', - 'example' => '20230101', - ], - 'description' => '分区字段的映射。', - ], - ], - 'EventTime' => [ - 'title' => '事件时间。', - 'description' => '事件时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-07-02 00:00:00', - ], - ], - 'required' => false, - ], - 'FeatureViewConfig' => [ - 'title' => '特征视图配置。', - 'description' => '特征视图配置映射表。', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ + 'Name' => ['title' => 'label表名称。', 'description' => 'label表名称。', 'type' => 'string', 'required' => false, 'example' => 'rec_test'], + 'DatasourceId' => ['title' => 'label表所在数据源ID。', 'description' => 'label表所在数据源ID。', 'type' => 'string', 'required' => false, 'example' => '3'], + 'Fields' => [ + 'title' => '字段列表。', + 'description' => '字段列表。', + 'type' => 'array', + 'items' => [ + 'description' => '字段。', 'type' => 'object', 'properties' => [ - 'Partitions' => [ - 'title' => '分区列表。', - 'description' => '分区列表。', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'title' => '分区值。', - 'description' => '分区值。', - 'type' => 'string', - 'required' => false, - 'example' => '20230101', - ], - 'Values' => [ - 'title' => '分区列表。', - 'description' => '分区列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'description' => '分区列表。', - 'example' => '20230101', - ], - 'required' => false, - ], - 'StartValue' => [ - 'title' => '开始时间分区。', - 'description' => '开始时间分区。', - 'type' => 'string', - 'required' => false, - 'example' => '20230101', - ], - 'EndValue' => [ - 'title' => '结束时间分区。', - 'description' => '结束时间分区。', - 'type' => 'string', - 'required' => false, - 'example' => '20230202', - ], - ], - 'description' => '分区字段的映射。', - ], - ], - 'EventTime' => [ - 'title' => '事件时间。', - 'description' => '事件时间。', + 'Name' => ['title' => '字段名称。', 'description' => '字段名称。', 'type' => 'string', 'required' => true, 'example' => 'lat'], + 'Type' => [ + 'title' => '字段类型。', + 'description' => '字段类型。', 'type' => 'string', - 'required' => false, - 'example' => '1721186536', - ], - 'Equal' => [ - 'title' => '是否与事件时间相等。', - 'description' => '是否与事件时间相等。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - ], - 'UseMock' => [ - 'title' => '是否使用模拟数据表。', - 'description' => '是否使用模拟数据表。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'True', - ], - 'Snapshot' => [ - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - 'example' => '20260101', - ], - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - 'StartValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'EndValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'Table' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'table_name', - ], - ], - 'required' => false, + 'required' => true, + 'example' => 'DOUBLE', + 'enum' => ['DOUBLE', 'INT32', 'INT64', 'FLOAT', 'STRING', 'BOOLEAN', 'TIMESTAMP'], ], - ], - 'description' => '特征视图配置。', - ], - ], - 'TrainingSetConfig' => [ - 'title' => '训练集配置。', - 'description' => '训练集配置。', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区列表。', - 'description' => '分区列表。', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ + 'Attributes' => [ + 'title' => '字段属性列表。', + 'description' => '字段属性列表。', + 'type' => 'array', + 'items' => [ + 'description' => '字段属性。', 'type' => 'string', - 'description' => '分区日期。', - 'example' => '20230101', + 'required' => false, + 'example' => 'Partition', + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'], ], - 'description' => '分区字段的映射。', + 'required' => true, ], + 'AlignedEntityName' => ['title' => '对应哪个特征实体', 'type' => 'string', 'example' => 'item'], ], + 'required' => false, ], - 'required' => false, - ], - 'RealTimeIterateInterval' => [ - 'title' => '实时特征轮询拉取间隔。', - 'description' => '实时特征轮询拉取间隔。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'RealTimePartitionCountValue' => [ - 'title' => '实时特征视图分区统计天数。', - 'description' => '实时特征视图分区统计天数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', + 'required' => true, ], ], 'required' => false, @@ -8545,95 +6372,130 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '请求ID。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '51', - ], + 'RequestId' => ['title' => '请求id。', 'description' => '请求ID。', 'type' => 'string', 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新label表', + 'changeSet' => [ + ['createdAt' => '2025-07-15T08:31:33.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-11-23T03:38:30.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-11-22T12:36:07.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"TaskId\\": \\"51\\"\\n}","type":"json"}]', - 'title' => '导出模型特征的训练集表', - ], - 'ListModelFeatureAvailableFeatures' => [ - 'summary' => '获取注册FG特征时模型特征下可选的所有特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/availablefeatures', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLabelTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\"\\n}","type":"json"}]', + ], + 'UpdateModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205398', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189379', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可从接口ListInstances获取。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '模型特征ID,可从接口ListModelFeatures获取。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '4'], ], [ - 'name' => 'FeatureName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '特征名称(模糊过滤)。', - 'description' => '特征名称过滤。', - 'type' => 'string', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'LabelTableId' => ['title' => 'Label表ID,可从接口ListLabelTables获取。', 'description' => 'Label表ID,可从接口ListLabelTables获取。', 'type' => 'string', 'required' => false, 'example' => '4'], + 'Features' => [ + 'title' => '特征列表。', + 'description' => '特征列表。', + 'type' => 'array', + 'items' => [ + 'description' => '特征。', + 'type' => 'object', + 'properties' => [ + 'FeatureViewId' => ['title' => '特征视图ID,可从接口ListFeatureViews获取。', 'description' => '特征视图ID,可从接口ListFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '5'], + 'Name' => ['title' => '特征名称。', 'description' => '特征名称。', 'type' => 'string', 'required' => true, 'example' => 'gender'], + 'AliasName' => ['title' => '特征别名。', 'description' => '特征别名。', 'type' => 'string', 'required' => false, 'example' => 'sex'], + 'Type' => ['title' => '特征类型。'."\n" + .'● INT32'."\n" + .'● INT64'."\n" + .'● FLOAT'."\n" + .'● DOUBLE'."\n" + .'● STRING'."\n" + .'● BOOLEAN'."\n" + .'● TIMESTAMP', 'description' => '特征类型。'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP', 'type' => 'string', 'required' => true, 'example' => 'STRING'], + 'PrefixName' => ['type' => 'string', 'example' => 'cand_seq__'], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SequenceFeatureViewIds' => [ + 'title' => '序列特征IDs。', + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'description' => ''], + 'required' => false, + 'description' => '', + ], + 'LabelPriorityLevel' => ['title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'description' => ''], + ], 'required' => false, - 'example' => 'f1', ], ], ], @@ -8644,96 +6506,55 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'AvaliableFeatures' => [ - 'title' => '可选的特征列表。', - 'description' => '可选的特征列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '特征名。', - 'description' => '特征名。', - 'type' => 'string', - 'example' => 'age', - ], - 'Type' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '特征值类型。'."\n" - .'- INTEGER'."\n" - .'- DOUBLE'."\n" - .'- STRING', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'STRING', - ], - 'SourceType' => [ - 'title' => '特征来源'."\n" - .'● FeatureView'."\n" - .'● LabelTable', - 'description' => '特征来源'."\n" - .'- FeatureView-特征视图'."\n" - .'- LabelTable-Label表', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'FeatureView', - ], - 'SourceName' => [ - 'title' => '特征来源名称', - 'description' => '特征来源名称', - 'type' => 'string', - 'example' => 'user_fea', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '更新模型特征', + 'summary' => '更新模型特征的信息,包括关联的 Label 表、所选特征字段和冲突优先级策略。更新为全量替换,传入的 Features 会覆盖已有值。', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-12-02T03:55:05.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-30T02:07:07.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"TotalCount\\": 10,\\n \\"AvaliableFeatures\\": [\\n {\\n \\"Name\\": \\"age\\",\\n \\"Type\\": \\"STRING\\",\\n \\"SourceType\\": \\"FeatureView\\",\\n \\"SourceName\\": \\"user_fea\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取注册FG特征时模型特征下可选的所有特征', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', ], 'UpdateModelFeatureFGFeature' => [ 'summary' => '更新模型特征的FG特征配置信息。', 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ @@ -8741,32 +6562,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '205443', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID。', 'description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '模型特征ID。', 'description' => '模型特征ID,可从接口ListModelFeatures获取。', 'type' => 'string', 'required' => true, 'example' => '3'], ], [ 'name' => 'body', @@ -8783,13 +6590,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称。', - 'description' => '原始特征名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'InputFeatureName' => ['title' => '原始特征名称。', 'description' => '原始特征名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], 'FeatureDomain' => [ 'title' => '原始特征域。'."\n" .'● User'."\n" @@ -8804,13 +6605,7 @@ 'enumValueTitles' => [], 'example' => 'User', ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '生成特征的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'FeatureName' => ['title' => '生成特征的名称。', 'description' => '生成特征的名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], 'FeatureType' => [ 'title' => 'FG基础特征类型。'."\n" .'● IdFeature-主键'."\n" @@ -8837,15 +6632,10 @@ 'enumValueTitles' => [], 'example' => 'STRING', ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'required' => true, - 'example' => '-1024', - ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'required' => true, 'example' => '-1024'], ], 'required' => false, + 'description' => '', ], 'required' => false, ], @@ -8856,13 +6646,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'MapFeatureName' => [ - 'title' => 'map特征名称。', - 'description' => 'map特征名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'MapFeatureName' => ['title' => 'map特征名称。', 'description' => 'map特征名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], 'MapFeatureDomain' => [ 'title' => 'map特征域。'."\n" .'● User'."\n" @@ -8877,13 +6661,7 @@ 'enumValueTitles' => [], 'example' => 'User', ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '生成特征的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'FeatureName' => ['title' => '生成特征的名称。', 'description' => '生成特征的名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], 'ValueType' => [ 'title' => '特征值类型。'."\n" .'● INTEGER'."\n" @@ -8898,20 +6676,8 @@ 'enumValueTitles' => [], 'example' => 'STRING', ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'required' => true, - 'example' => '-1024', - ], - 'KeyFeatureName' => [ - 'title' => 'key特征特征。', - 'description' => 'key特征。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'required' => true, 'example' => '-1024'], + 'KeyFeatureName' => ['title' => 'key特征特征。', 'description' => 'key特征。', 'type' => 'string', 'required' => true, 'example' => '1'], 'KeyFeatureDomain' => [ 'title' => 'key特征域。'."\n" .'● User'."\n" @@ -8928,6 +6694,7 @@ ], ], 'required' => false, + 'description' => '', ], 'required' => false, ], @@ -8938,35 +6705,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'FeatureName' => [ - 'title' => '序列特征名称。', - 'description' => '序列特征名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], - 'SequenceLength' => [ - 'title' => '序列特征最大长度。', - 'description' => '序列特征最大长度。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50', - ], - 'SequenceDelim' => [ - 'title' => '序列特征分隔符。', - 'description' => '序列特征分隔符。', - 'type' => 'string', - 'required' => true, - 'example' => ';', - ], - 'AttributeDelim' => [ - 'title' => '特征属性分隔符。', - 'description' => '特征属性分隔符。', - 'type' => 'string', - 'required' => true, - 'example' => '#', - ], + 'FeatureName' => ['title' => '序列特征名称。', 'description' => '序列特征名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], + 'SequenceLength' => ['title' => '序列特征最大长度。', 'description' => '序列特征最大长度。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50'], + 'SequenceDelim' => ['title' => '序列特征分隔符。', 'description' => '序列特征分隔符。', 'type' => 'string', 'required' => true, 'example' => ';'], + 'AttributeDelim' => ['title' => '特征属性分隔符。', 'description' => '特征属性分隔符。', 'type' => 'string', 'required' => true, 'example' => '#'], 'SubFeatures' => [ 'title' => '序列特征子特征列表。', 'description' => '序列特征子特征列表。', @@ -8974,13 +6716,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称。', - 'description' => '原始特征名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'InputFeatureName' => ['title' => '原始特征名称。', 'description' => '原始特征名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], 'FeatureDomain' => [ 'title' => '原始特征域。'."\n" .'● User'."\n" @@ -8995,13 +6731,7 @@ 'enumValueTitles' => [], 'example' => 'User', ], - 'FeatureName' => [ - 'title' => '生成子特征的名称。', - 'description' => '生成子特征的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'FeatureName' => ['title' => '生成子特征的名称。', 'description' => '生成子特征的名称。', 'type' => 'string', 'required' => true, 'example' => 'item_id'], 'FeatureType' => [ 'title' => 'FG序列特征子特征类型。'."\n" .'● IdFeature-主键'."\n" @@ -9028,20 +6758,16 @@ 'enumValueTitles' => [], 'example' => 'STRING', ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'required' => true, - 'example' => '-1024', - ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'required' => true, 'example' => '-1024'], ], 'required' => false, + 'description' => '', ], 'required' => false, ], ], 'required' => false, + 'description' => '', ], 'required' => false, ], @@ -9049,12 +6775,7 @@ 'title' => '保留字段。', 'description' => '保留字段。', 'type' => 'array', - 'items' => [ - 'description' => '保留字段名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'f1', - ], + 'items' => ['description' => '保留字段名称。', 'type' => 'string', 'required' => false, 'example' => 'f1'], 'required' => false, ], ], @@ -9069,75 +6790,79 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\"\\n}","type":"json"}]', 'title' => '更新模型特征的FG特征配置信息', - ], - 'GetModelFeatureFGFeature' => [ - 'summary' => '获取模型特征的FG特征配置信息。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-03T03:48:43.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeatureFGFeature'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateProject' => [ + 'summary' => '更新项目的描述。', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205386', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '实例ID,可通过接口ListInstances获取。', 'description' => '实例ID,可通过接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'ProjectId', 'in' => 'path', + 'schema' => ['title' => '项目ID,可通过接口ListProjects获取。', 'description' => '项目ID,可通过接口ListProjects获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '项目名称。', 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'project1'], + 'Description' => ['title' => '项目描述。', 'description' => '项目描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a test.'], + ], + 'required' => false, ], ], ], @@ -9148,316 +6873,103 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D', - ], - 'RawFeatures' => [ - 'title' => '基础特征信息。', - 'description' => '基础特征信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称。', - 'description' => '原始特征名称。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureDomain' => [ - 'title' => '原始特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '原始特征域。'."\n" - .'- User:用户侧'."\n" - .'- Item:物品侧'."\n" - .'- Context:上下文', - 'type' => 'string', - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '生成特征的名称。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureType' => [ - 'title' => 'FG基础特征类型。'."\n" - .'● IdFeature-主键'."\n" - .'● RawFeature-基础特征', - 'description' => 'FG基础特征类型。'."\n" - .'- IdFeature:主键'."\n" - .'- RawFeature:基础特征', - 'type' => 'string', - 'example' => 'IdFeature', - ], - 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '特征值类型。'."\n" - .'- INTEGER'."\n" - .'- DOUBLE'."\n" - .'- STRING', - 'type' => 'string', - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'example' => '-1024', - ], - ], - ], - ], - 'LookupFeatures' => [ - 'title' => '查询特征信息。', - 'description' => '查询特征信息。', - 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MapFeatureName' => [ - 'title' => 'map特征名称。', - 'description' => 'map特征名称。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'MapFeatureDomain' => [ - 'title' => 'map特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => 'map特征域。'."\n" - .'- User:用户侧'."\n" - .'- Item:物品侧'."\n" - .'- Context:上下文', - 'type' => 'string', - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '生成特征的名称。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '特征值类型。'."\n" - .'- INTEGER'."\n" - .'- DOUBLE'."\n" - .'- STRING', - 'type' => 'string', - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'example' => '-1024', - ], - 'KeyFeatureName' => [ - 'title' => 'key特征名称。', - 'description' => 'key特征名称。', - 'type' => 'string', - 'example' => '1', - ], - 'KeyFeatureDomain' => [ - 'title' => 'key特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => 'key特征域。'."\n" - .'- User:用户侧'."\n" - .'- Item:物品侧'."\n" - .'- Context:上下文', - 'type' => 'string', - 'example' => 'Item', - ], - ], - ], - ], - 'SequenceFeatures' => [ - 'title' => '序列特征信息。', - 'description' => '序列特征信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FeatureName' => [ - 'title' => '序列特征名称。', - 'description' => '序列特征名称。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'SequenceLength' => [ - 'title' => '序列特征最大长度。', - 'description' => '序列特征最大长度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'SequenceDelim' => [ - 'title' => '序列特征分隔符。', - 'description' => '序列特征分隔符。', - 'type' => 'string', - 'example' => ';', - ], - 'AttributeDelim' => [ - 'title' => '特征属性分隔符。', - 'description' => '特征属性分隔符。', - 'type' => 'string', - 'example' => '#', - ], - 'SubFeatures' => [ - 'title' => '序列特征子特征列表。', - 'description' => '序列特征子特征列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称', - 'description' => '原始特征名称', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureDomain' => [ - 'title' => '原始特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '原始特征域。'."\n" - .'- User:用户侧'."\n" - .'- Item:物品侧'."\n" - .'- Context:上下文', - 'type' => 'string', - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '生成特征的名称。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureType' => [ - 'title' => 'FG特征类型。'."\n" - .'● IdFeature-主键'."\n" - .'● RawFeature-基础特征', - 'description' => 'FG特征类型。'."\n" - .'- IdFeature:主键'."\n" - .'- RawFeature:基础特征', - 'type' => 'string', - 'example' => 'IdFeature', - ], - 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '特征值类型。'."\n" - .'- INTEGER'."\n" - .'- DOUBLE'."\n" - .'- STRING', - 'type' => 'string', - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'example' => '-1024', - ], - ], - ], - ], - ], - ], - ], - 'Reserves' => [ - 'title' => '保留字段。', - 'description' => '保留字段。', - 'type' => 'array', - 'items' => [ - 'description' => '保留字段名称。', - 'type' => 'string', - 'example' => 'f1', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '2150233F-A1F7-54D2-B5B5-8A70567549BD'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"RawFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ],\\n \\"LookupFeatures\\": [\\n {\\n \\"MapFeatureName\\": \\"item_id\\",\\n \\"MapFeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\",\\n \\"KeyFeatureName\\": \\"1\\",\\n \\"KeyFeatureDomain\\": \\"Item\\"\\n }\\n ],\\n \\"SequenceFeatures\\": [\\n {\\n \\"FeatureName\\": \\"item_id\\",\\n \\"SequenceLength\\": 50,\\n \\"SequenceDelim\\": \\";\\",\\n \\"AttributeDelim\\": \\"#\\",\\n \\"SubFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ]\\n }\\n ],\\n \\"Reserves\\": [\\n \\"f1\\"\\n ]\\n}","type":"json"}]', - 'title' => '获取模型特征的FG特征配置信息', - ], - 'GetModelFeatureFGInfo' => [ - 'summary' => '获取模型特征的fg.json文件配置信息。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fginfo', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2150233F-A1F7-54D2-B5B5-8A70567549BD\\"\\n}","type":"json"}]', + 'title' => '更新项目信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'WriteFeatureViewTable' => [ + 'summary' => '从 URL 导入数据到特征视图的离线表,异步执行。', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/writetable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205348', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => '实例ID,可从接口ListInstances获取。', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['description' => '特征视图ID,可从LIstFeatureViews获取。', 'type' => 'string', 'required' => true, 'example' => '3'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Partitions' => [ + 'title' => '分区表。', + 'description' => '分区表。', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string', 'example' => '20220909', 'description' => '分区日期。'], + 'description' => '分区字段的映射。', + ], + ], + 'UrlDatasource' => [ + 'title' => '文件数据源。', + 'description' => '文件数据源。', + 'type' => 'object', + 'properties' => [ + 'Path' => ['title' => '数据源路径。', 'description' => '数据源路径。', 'type' => 'string', 'required' => false, 'example' => 'xxx.xxx.com/file.csv'], + 'Delimiter' => ['title' => '文件分隔符。', 'description' => '文件分隔符。', 'type' => 'string', 'required' => false, 'example' => ','], + 'OmitHeader' => ['title' => '文件中是否省略header。', 'description' => '文件中是否省略header。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + 'required' => false, + ], + 'Mode' => ['title' => '模式'."\n" + .'● Overwrite-覆盖写'."\n" + .'● Merge-合并', 'description' => '模式。'."\n" + ."\n" + .'- Overwrite:覆盖写'."\n" + .'- Merge:合并', 'type' => 'string', 'required' => true, 'example' => 'Merge'], + ], + 'required' => false, ], ], ], @@ -9468,1012 +6980,1066 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8', - ], - 'Content' => [ - 'title' => 'fg.json文件配置内容。', - 'description' => 'fg.json文件配置内容。', - 'type' => 'string', - 'example' => '{"features": [{"feature_name": "item_id","feature_type": "id_feature","value_type": "String","expression": "item:item_id","default_value": "-1024","combiner": "mean","need_prefix": false},{"feature_name": "f1","feature_type": "lookup_feature","value_type": "Integer","map": "item:f1","key": "user:1","default_value": "0","combiner": "mean","need_prefix": false,"needDiscrete": false,"needWeighting": false,"needKey": false}],"reserves": ["f1"]}', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'TaskId' => ['title' => '任务ID。', 'description' => '任务ID。', 'type' => 'string'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\",\\n \\"Content\\": \\"{\\\\\\"features\\\\\\": [{\\\\\\"feature_name\\\\\\": \\\\\\"item_id\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"id_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"String\\\\\\",\\\\\\"expression\\\\\\": \\\\\\"item:item_id\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"-1024\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false},{\\\\\\"feature_name\\\\\\": \\\\\\"f1\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"lookup_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"Integer\\\\\\",\\\\\\"map\\\\\\": \\\\\\"item:f1\\\\\\",\\\\\\"key\\\\\\": \\\\\\"user:1\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"0\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false,\\\\\\"needDiscrete\\\\\\": false,\\\\\\"needWeighting\\\\\\": false,\\\\\\"needKey\\\\\\": false}],\\\\\\"reserves\\\\\\": [\\\\\\"f1\\\\\\"]}\\"\\n}","type":"json"}]', - 'title' => '获取模型特征的fg.json文件配置信息', - ], - 'CheckModelFeatureFGFeature' => [ - 'summary' => '检查FG配置内容是否正确,是否满足所有规则。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/checkfgfeature', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', + 'title' => '向指定特征视图写表', + 'changeSet' => [ + ['createdAt' => '2023-09-08T06:37:50.000Z', 'description' => '响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'WriteFeatureViewTable'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:WriteFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'consumes' => [ - 'application/json', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.ap-southeast-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.ap-southeast-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.ap-southeast-5.aliyuncs.com', 'endpoint' => 'paifeaturestore.ap-southeast-5.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.cn-beijing.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-beijing.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-hangzhou.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.cn-hongkong.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-hongkong.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.cn-shanghai.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-shanghai.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paifeaturestore.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-shenzhen.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paifeaturestore.us-west-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.us-west-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paifeaturestore.us-east-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.us-east-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paifeaturestore.eu-central-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.eu-central-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.eu-central-1.aliyuncs.com'], + ], + 'errorCodes' => [], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateDatasource'], + ['description' => '请求参数发生变更', 'api' => 'CreateFeatureView'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateLLMConfig'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateModelFeature'], + ['description' => '请求参数发生变更', 'api' => 'CreateProject'], + ], + 'createdAt' => '2025-11-19T11:22:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateFeatureEntity'], + ['description' => '响应参数发生变更', 'api' => 'GetFeatureEntity'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListFeatureEntities'], + ['description' => '响应参数发生变更', 'api' => 'ListProjectFeatureViews'], + ], + 'createdAt' => '2025-11-17T06:07:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ExportModelFeatureTrainingSetTable'], + ['description' => '响应参数发生变更', 'api' => 'GetFeatureView'], ], - 'produces' => [ - 'application/json', + 'createdAt' => '2024-12-18T07:08:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'UpdateModelFeatureFGFeature'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '205450', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'createdAt' => '2024-12-03T03:48:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'UpdateModelFeature'], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '模型特征ID,可从接口ListModelFeatures获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], + 'createdAt' => '2024-12-02T03:55:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListFeatureEntities'], + ['description' => '请求参数发生变更', 'api' => 'ListFeatureViews'], + ['description' => '请求参数发生变更', 'api' => 'ListLabelTables'], + ['description' => '请求参数发生变更', 'api' => 'ListModelFeatures'], + ['description' => '请求参数发生变更', 'api' => 'ListTasks'], + ], + 'createdAt' => '2024-11-25T02:36:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetInstance'], + ['description' => '响应参数发生变更', 'api' => 'ListInstances'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280', - ], - 'FGCheckResults' => [ - 'title' => 'FG配置检查结果。', - 'description' => 'FG配置检查结果。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RuleCode' => [ - 'title' => '检查规则代码。'."\n" - .'● SeqSubEx: FG序列特征的子特征是否存在于 ModelFeature 的特征中?'."\n" - .'● LookupKeyEx: FG查询特征的检查键值特征是否存在 ModelFeature 特征中?'."\n" - .'● FGSetEx: 所有FG特征,是否存在于 ModelFeature 特征中?'."\n" - .'● ModelSetEx: 所有 ModelFeature 特征,是否存在于 FG 特征中?', - 'description' => '检查规则代码。'."\n" - .'- SeqSubEx-FG序列特征的子特征是否存在于ModelFeature的特征中?'."\n" - .'- LookupKeyEx-FG查询特征的检查键值特征是否存在 ModelFeature 特征中?'."\n" - .'- FGSetEx-所有FG特征,是否存在于 ModelFeature 特征中?'."\n" - .'- ModelSetEx-所有 ModelFeature 特征,是否存在于 FG 特征中?', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'SeqSubEx', - ], - 'Status' => [ - 'title' => '检查规则是否符合。', - 'description' => '检查规则是否符合。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Message' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2024-10-16T06:46:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateModelFeature'], + ['description' => '请求参数发生变更', 'api' => 'ExportModelFeatureTrainingSetTable'], + ['description' => '响应参数发生变更', 'api' => 'GetModelFeature'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2024-09-03T08:11:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ExportModelFeatureTrainingSetTable'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"FGCheckResults\\": [\\n {\\n \\"RuleCode\\": \\"SeqSubEx\\",\\n \\"Status\\": true,\\n \\"Message\\": \\"f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '检查模型特征FG配置内容是否正确', + 'createdAt' => '2024-07-12T03:35:15.000Z', + 'description' => '', ], - 'ListTasks' => [ - 'summary' => '获取任务列表。', - 'path' => '/api/v1/instances/{InstanceId}/tasks', - 'methods' => [ - 'get', + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateFeatureView'], + ['description' => '响应参数发生变更', 'api' => 'GetFeatureView'], + ['description' => '响应参数发生变更', 'api' => 'ListFeatureViews'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2024-03-25T06:53:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListProjectFeatureViews'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-02-02T02:26:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetDatasource'], + ['description' => '响应参数发生变更', 'api' => 'GetFeatureView'], + ['description' => '响应参数发生变更', 'api' => 'GetModelFeature'], ], - 'consumes' => [ - 'application/json', + 'createdAt' => '2024-01-29T07:38:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'UpdateLabelTable'], ], - 'produces' => [ - 'application/json', + 'createdAt' => '2023-11-23T03:38:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetLabelTable'], + ['description' => '请求参数发生变更', 'api' => 'UpdateLabelTable'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + 'createdAt' => '2023-11-22T12:36:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateModelFeature'], + ['description' => '请求参数发生变更', 'api' => 'UpdateModelFeature'], + ], + 'createdAt' => '2023-10-30T02:07:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ExportModelFeatureTrainingSetTable'], + ], + 'createdAt' => '2023-09-13T09:48:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ExportModelFeatureTrainingSetTable'], + ], + 'createdAt' => '2023-09-08T11:53:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'PublishFeatureViewTable'], + ['description' => '响应参数发生变更', 'api' => 'WriteFeatureViewTable'], + ], + 'createdAt' => '2023-09-08T06:37:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListModelFeatures'], + ], + 'createdAt' => '2023-09-08T04:01:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListFeatureViews'], + ], + 'createdAt' => '2023-09-04T03:45:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListProjects'], + ], + 'createdAt' => '2023-08-30T06:54:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListInstances'], + ], + 'createdAt' => '2023-08-28T08:15:02.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureView'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDatasource'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjects'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckModelFeatureFGFeature'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureEntities'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLLMConfig'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasourceTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewFieldRelationships'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureView'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewRelationships'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeatureFGFeature'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceFeatureViews'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModelFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGFeature'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatures'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureEntity'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewOnlineFeatures'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishFeatureViewTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLLMConfig'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLLMConfig'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportModelFeatureTrainingSetTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProjectFeatureEntity'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDatasource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureEntity'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatureViews'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckInstanceDatasource'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'WriteFeatureViewTable'], + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLabelTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLLMConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteModelFeature'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLabelTable'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViews'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureView'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceTables'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskLogs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureEntity'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDatasource'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLLMConfigs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLabelTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatures'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGInfo'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasources'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLabelTables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatureAvailableFeatures'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLabelTable'], + ], + ], + 'ram' => [ + 'productCode' => 'PaiFeatureStore', + 'productName' => '人工智能平台 PAI', + 'ramCodes' => ['featurestore'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListModelFeatureAvailableFeatures', + 'description' => '获取注册FG特征时模型特征下可选的所有特征', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '188874', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatureAvailableFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'GetModelFeature', + 'description' => '获取模型特征详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '项目ID,可从接口ListProjects获取。', - 'type' => 'string', - 'required' => false, - 'example' => '4', + ], + [ + 'apiName' => 'ListFeatureViewOnlineFeatures', + 'description' => '获取特征视图下的在线特征数据', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewOnlineFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectType', - 'in' => 'query', - 'schema' => [ - 'title' => '任务对象类型。'."\n" - .'● ModelFeature-模型特征。'."\n" - .'● FeatureView-特征视图。', - 'description' => '任务对象类型。'."\n" - ."\n" - .'● ModelFeature-模型特征。'."\n" - ."\n" - .'● FeatureView-特征视图。', - 'type' => 'string', - 'required' => false, - 'example' => 'ModelFeature', + ], + [ + 'apiName' => 'ListProjectFeatureViews', + 'description' => '获取特征视图与特征列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '任务对象ID。', - 'description' => '任务对象ID,可从接口ListModelFeatures、ListFeatureViews获取。', - 'type' => 'string', - 'required' => false, - 'example' => '4', + ], + [ + 'apiName' => 'GetLabelTable', + 'description' => '获取label表详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '状态。'."\n" - ."\n" - .'● Initializing-初始化中。'."\n" - ."\n" - .'● Running-运行中。'."\n" - ."\n" - .'● Success-成功。'."\n" - ."\n" - .'● Failure-失败。', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', + ], + [ + 'apiName' => 'GetProjectFeatureEntity', + 'description' => '获取项目下指定特征实体详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProjectFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小,默认为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ListDatasources', + 'description' => '获取数据源列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'GetModelFeatureFGInfo', + 'description' => '获取模型特征的fg.json文件配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'title' => '任务类型过滤。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'description' => '任务类型过滤。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'type' => 'string', - 'required' => false, - 'example' => 'OfflineToOnline', + ], + [ + 'apiName' => 'UpdateDatasource', + 'description' => '更新数据源', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TaskIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => '任务ID过滤。', - 'description' => '任务ID过滤。', - 'type' => 'array', - 'items' => [ - 'description' => '任务ID,可从接口ListTasks获取。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, + ], + [ + 'apiName' => 'CreateLLMConfig', + 'description' => '创建大模型配置信息', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '总个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Tasks' => [ - 'title' => '任务列表。', - 'description' => '任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务。', - 'type' => 'object', - 'properties' => [ - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtExecutedTime' => [ - 'title' => '执行时间。', - 'description' => '执行时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtFinishedTime' => [ - 'title' => '完成时间。', - 'description' => '完成时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'ObjectId' => [ - 'title' => '任务对象ID。', - 'description' => '任务对象ID。', - 'type' => 'string', - 'example' => '5', - ], - 'ObjectType' => [ - 'title' => '任务对象类型。'."\n" - .'● ModelFeature-模型特征'."\n" - .'● FeatureView-特征视图', - 'description' => '任务对象类型。'."\n" - ."\n" - .'● ModelFeature-模型特征'."\n" - ."\n" - .'● FeatureView-特征视图', - 'type' => 'string', - 'example' => 'ModelFeature', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '4', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project_1', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '状态。'."\n" - ."\n" - .'● Initializing-初始化中。'."\n" - ."\n" - .'● Running-运行中。'."\n" - ."\n" - .'● Success-成功。'."\n" - ."\n" - .'● Failure-失败。', - 'type' => 'string', - 'example' => 'Running', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '4', - ], - 'Type' => [ - 'title' => '任务类型。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'description' => '任务类型。'."\n" - ."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - ."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'type' => 'string', - 'example' => 'OfflineToOnline', - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetFeatureView', + 'description' => '获取特征视图详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetInstance', + 'description' => '获取实例详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"TotalCount\\": 10,\\n \\"Tasks\\": [\\n {\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ObjectId\\": \\"5\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ProjectId\\": \\"4\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"4\\",\\n \\"Type\\": \\"OfflineToOnline\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取任务列表', - ], - 'GetTask' => [ - 'summary' => '获取任务详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}', - 'methods' => [ - 'get', + [ + 'apiName' => 'ListTasks', + 'description' => '获取任务列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListProjects', + 'description' => '获取项目列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteModelFeature', + 'description' => '删除模型特征', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'CreateFeatureEntity', + 'description' => '创建特征实体', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'DeleteFeatureView', + 'description' => '删除特征视图', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'apiName' => 'ListFeatureEntities', + 'description' => '获取特征实体列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'ListFeatureViewRelationships', + 'description' => '获取特征视图血缘关系', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID,可从接口ListTasks获取。', - 'description' => '任务ID,可从接口ListTasks获取。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + ], + [ + 'apiName' => 'CheckModelFeatureFGFeature', + 'description' => '检查模型特征FG配置内容是否正确', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'project_1', - ], - 'Type' => [ - 'title' => '任务类型。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'description' => '任务类型。'."\n" - ."\n" - .'- OfflineToOnline:离在线数据同步'."\n" - .'- ExportTrainingSet:导出训练样本表', - 'type' => 'string', - 'example' => 'OfflineToOnline', - ], - 'ObjectType' => [ - 'title' => '任务目标类型。'."\n" - .'● ModelFeature-模型特征'."\n" - .'● FeatureView-特征视图', - 'description' => '任务目标类型。'."\n" - ."\n" - .'- ModelFeature:模型特征'."\n" - .'- FeatureView:特征视图', - 'type' => 'string', - 'example' => 'ModelFeature', - ], - 'ObjectId' => [ - 'title' => '任务目标ID。', - 'description' => '任务目标ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '状态。'."\n" - ."\n" - .'- Initializing:初始化中'."\n" - .'- Running:运行中'."\n" - .'- Success:成功'."\n" - .'- Failure:失败', - 'type' => 'string', - 'example' => 'Running', - ], - 'Config' => [ - 'title' => '任务配置。', - 'description' => '任务配置。', - 'type' => 'string', - 'example' => '{'."\n" - .' "mode": "overwrite",'."\n" - .' "partitions": {'."\n" - .' "dt": "20230820"'."\n" - .' },'."\n" - .' "event_time": "",'."\n" - .' "config": {},'."\n" - .' "offline_to_online": true'."\n" - .'}', - ], - 'RunningConfig' => [ - 'title' => '任务运行配置。', - 'description' => '任务运行配置。', - 'type' => 'string', - 'example' => 'DROP TABLE IF EXISTS public.fsxxx', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtExecutedTime' => [ - 'title' => '执行时间。', - 'description' => '执行时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtFinishedTime' => [ - 'title' => '完成时间。', - 'description' => '完成时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - ], + [ + 'apiName' => 'ListProjectFeatures', + 'description' => '获取项目下所有特征信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'UpdateModelFeatureFGFeature', + 'description' => '更新模型特征的FG特征配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Type\\": \\"OfflineToOnline\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ObjectId\\": \\"3\\",\\n \\"Status\\": \\"Running\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"dt\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"RunningConfig\\": \\"DROP TABLE IF EXISTS public.fsxxx\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', - 'title' => '获取任务详细信息', - ], - 'StopTask' => [ - 'summary' => '停止任务。', - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop', - 'methods' => [ - 'post', + [ + 'apiName' => 'ListModelFeatures', + 'description' => '获取模型特征列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ListLabelTables', + 'description' => '获取label表列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListLabelTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetFeatureEntity', + 'description' => '获取特征实体详细信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'ListDatasourceFeatureViews', + 'description' => '获取数据源下所有特征视图信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'GetModelFeatureFGFeature', + 'description' => '获取模型特征的FG特征配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ExportModelFeatureTrainingSetTable', + 'description' => '导出模型特征的训练集表', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:ExportModelFeatureTrainingSetTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'DeleteLLMConfig', + 'description' => '删除大模型配置信息', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID。', - 'description' => '任务ID。', - 'type' => 'string', - 'required' => true, - 'example' => '3', + ], + [ + 'apiName' => 'UpdateLabelTable', + 'description' => '更新label表', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - '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' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0', - ], - ], + [ + 'apiName' => 'GetProject', + 'description' => '获取项目详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\"\\n}","type":"json"}]', - 'title' => '停止任务', - ], - 'ListTaskLogs' => [ - 'summary' => '获取任务日志。', - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListFeatureViews', + 'description' => '获取特征视图列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'CreateProject', + 'description' => '创建项目', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'UpdateModelFeature', + 'description' => '更新模型特征', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListLLMConfigs', + 'description' => '列举大模型配置信息', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:ListLLMConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '实例ID,可从接口ListInstances获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'ListTaskLogs', + 'description' => '获取任务日志', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTaskLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID。', - 'description' => '任务ID,可从接口ListTasks获取。', - 'type' => 'string', - 'required' => true, - 'example' => '4', + ], + [ + 'apiName' => 'DeleteDatasource', + 'description' => '删除数据源', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '页码,起始值为1,默认值为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DeleteFeatureEntity', + 'description' => '删除特征实体', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '页大小,默认值为10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'StopTask', + 'description' => '停止任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:StopTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A', - ], - 'TotalCount' => [ - 'title' => '日志总行数。', - 'description' => '日志总行数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Logs' => [ - 'title' => '日志列表。', - 'description' => '日志列表。', - 'type' => 'array', - 'items' => [ - 'description' => '日志。', - 'type' => 'string', - 'example' => 'success!', - ], - ], - ], + [ + 'apiName' => 'GetDatasourceTable', + 'description' => '获取数据源下指定表的详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasourceTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"TotalCount\\": 100,\\n \\"Logs\\": [\\n \\"success!\\"\\n ]\\n}","type":"json"}]', - 'title' => '获取任务日志', - ], - 'CreateServiceIdentityRole' => [ - 'summary' => '创建服务账户角色。', - 'path' => '/api/v1/serviceidentityroles', - 'methods' => [ - 'post', + [ + 'apiName' => 'CreateDatasource', + 'description' => '创建数据源', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListFeatureViewFieldRelationships', + 'description' => '获取特征字段血缘关系', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewFieldRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CheckInstanceDatasource', + 'description' => '检查数据源连通性', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckInstanceDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'CreateModelFeature', + 'description' => '创建模型特征', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'ListInstances', + 'description' => '获取实例列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateFeatureView', + 'description' => '创建特征视图', 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求Body。', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'title' => '服务账户角色名称。', - 'description' => '服务账户角色名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'AliyunServiceRoleForFeatureStore', - ], - ], - 'required' => false, + [ + 'apiName' => 'WriteFeatureViewTable', + 'description' => '向指定特征视图写表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:WriteFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'RoleName' => [ - 'title' => '服务账户角色名称。', - 'description' => '服务账户角色名称。', - 'type' => 'string', - 'example' => 'AliyunServiceRoleForFeatureStore', - ], - 'Code' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => 'ServiceLinkedRoleAlreadyExistsErrorProblem', - ], - ], + [ + 'apiName' => 'GetTask', + 'description' => '获取任务详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetDatasource', + 'description' => '获取数据源详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForFeatureStore\\",\\n \\"Code\\": \\"ServiceLinkedRoleAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', - 'title' => '创建服务账户角色', - ], - 'GetServiceIdentityRole' => [ - 'summary' => '获取服务账户角色详细信息。', - 'path' => '/api/v1/serviceidentityroles/{RoleName}', - 'methods' => [ - 'get', + [ + 'apiName' => 'GetLLMConfig', + 'description' => '获取大模型配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteLabelTable', + 'description' => '删除label表', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListDatasourceTables', + 'description' => '获取数据源下的数据表列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'UpdateProject', + 'description' => '更新项目信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'UpdateLLMConfig', + 'description' => '更新大模型配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'apiName' => 'PublishFeatureViewTable', + 'description' => '发布特征视图下表数据', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:PublishFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RoleName', - 'in' => 'path', - 'schema' => [ - 'title' => '服务账户角色名称。', - 'description' => '服务账户角色名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'AliyunServiceRoleForFeatureStore', + [ + 'apiName' => 'CreateLabelTable', + 'description' => '创建label表', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6F629E92-F64D-502D-85AA-A9C54894CA3D', - ], - 'RoleName' => [ - 'title' => '服务账户角色名称。', - 'description' => '服务账户角色名称。', - 'type' => 'string', - 'example' => 'AliyunServiceRoleForPaiFeatureStore', - ], - 'Policy' => [ - 'title' => '关联策略。', - 'description' => '关联策略。', - 'type' => 'string', - 'example' => '{'."\n" - .'"Version": "1",'."\n" - .'"Statement":[]'."\n" - .'}', - ], - ], + [ + 'apiName' => 'UpdateFeatureView', + 'description' => '更新特征视图', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteProject', + 'description' => '删除项目', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateInstance', + 'description' => '创建实例', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6F629E92-F64D-502D-85AA-A9C54894CA3D\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForPaiFeatureStore\\",\\n \\"Policy\\": \\"{\\\\n\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n\\\\\\"Statement\\\\\\":[]\\\\n}\\"\\n}","type":"json"}]', - 'title' => '获取服务账户角色', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'paifeaturestore.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'paifeaturestore.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'paifeaturestore.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'paifeaturestore.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'paifeaturestore.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'paifeaturestore.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'paifeaturestore.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'paifeaturestore.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'paifeaturestore.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'paifeaturestore.eu-central-1.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
