From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/paifeaturestore/2023-06-21/api-docs.php | 4656 +++++++++----------------- 1 file changed, 1566 insertions(+), 3090 deletions(-) (limited to 'data/paifeaturestore') diff --git a/data/paifeaturestore/2023-06-21/api-docs.php b/data/paifeaturestore/2023-06-21/api-docs.php index 424b4d5..e1e99b3 100644 --- a/data/paifeaturestore/2023-06-21/api-docs.php +++ b/data/paifeaturestore/2023-06-21/api-docs.php @@ -1,36 +1,28 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'PaiFeatureStore', - 'version' => '2023-06-21', - ], + 'info' => ['style' => 'ROA', 'product' => 'PaiFeatureStore', 'version' => '2023-06-21'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateInstance' => [ - 'path' => '/api/v1/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckInstanceDatasource' => [ + 'path' => '/api/v1/instances/{InstanceId}/action/checkdatasource', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -39,142 +31,92 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], + 'Type' => ['type' => 'string', 'required' => true], + 'Uri' => ['type' => 'string', 'required' => true], + 'Config' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ListInstances' => [ - 'path' => '/api/v1/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckModelFeatureFGFeature' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetInstance' => [ - 'path' => '/api/v1/instances/{InstanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDatasource' => [ + 'path' => '/api/v1/instances/{InstanceId}/datasources', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'WorkspaceId' => ['type' => 'string', 'required' => true], + 'Type' => ['type' => 'string', 'required' => true], + 'Uri' => ['type' => 'string', 'required' => true], + 'Config' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CheckInstanceDatasource' => [ - 'path' => '/api/v1/instances/{InstanceId}/action/checkdatasource', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFeatureEntity' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureentities', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -184,52 +126,32 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => true, - ], - 'Uri' => [ - 'type' => 'string', - 'required' => true, - ], - 'Config' => [ - 'type' => 'string', - 'required' => false, - ], + 'JoinId' => ['type' => 'string', 'required' => true], + 'Name' => ['type' => 'string', 'required' => true], + 'ProjectId' => ['type' => 'string', 'required' => true], + 'ParentFeatureEntityId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateDatasource' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -239,198 +161,162 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - ], - 'Uri' => [ - 'type' => 'string', - 'required' => true, + 'ProjectId' => ['type' => 'string', 'required' => true], + 'FeatureEntityId' => ['type' => 'string', 'required' => false], + 'Name' => ['type' => 'string', 'required' => true], + 'Type' => ['type' => 'string', 'required' => true], + 'WriteMethod' => ['type' => 'string', 'required' => true], + 'WriteToFeatureDB' => ['type' => 'boolean', 'required' => false], + 'RegisterTable' => ['type' => 'string', 'required' => false], + 'RegisterDatasourceId' => ['type' => 'string', 'required' => false], + 'SyncOnlineTable' => ['type' => 'boolean', 'required' => true], + 'TTL' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'Config' => [ - 'type' => 'string', + 'Config' => ['type' => 'string', 'required' => false], + 'Fields' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => false], + 'Attributes' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'Transform' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Type' => ['type' => 'string', 'required' => false], + 'LLMConfigId' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Input' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => false], + 'Modality' => [ + 'type' => 'string', + 'enum' => ['NONE', 'TEXT', 'IMAGE', 'VIDEO', 'MULTI_IMAGES'], + ], + ], + ], + ], + ], + ], + ], + 'Dimension' => ['type' => 'integer', 'format' => 'int32'], + ], + ], ], ], ], ], ], ], - 'ListDatasources' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstance' => [ + 'path' => '/api/v1/instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Type' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GetDatasource' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateLLMConfig' => [ + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'Model' => ['type' => 'string', 'required' => true], + 'ApiKey' => ['type' => 'string', 'required' => true], + 'BaseUrl' => ['type' => 'string', 'required' => false], + 'Rps' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'MaxTokens' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'BatchSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'WorkspaceId' => ['type' => 'string', 'required' => true], + 'EmbeddingDimension' => ['type' => 'integer', 'format' => 'int32'], + 'ModelType' => [ + 'type' => 'string', + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + ], + 'EnableFusion' => ['type' => 'boolean'], + ], ], ], [ - 'name' => 'DatasourceId', + 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateDatasource' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateLabelTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/labeltables', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'DatasourceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -440,333 +326,357 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'Uri' => [ - 'type' => 'string', + 'ProjectId' => ['type' => 'string', 'required' => true], + 'Name' => ['type' => 'string', 'required' => true], + 'DatasourceId' => ['type' => 'string', 'required' => true], + 'Fields' => [ + 'type' => 'array', 'required' => true, - ], - 'Config' => [ - 'type' => 'string', - 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'Type' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BOOLEAN', 'TIMESTAMP'], + ], + 'Attributes' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'], + ], + ], + 'AlignedEntityName' => ['type' => 'string'], + ], + ], ], ], ], ], ], ], - 'DeleteDatasource' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DatasourceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ProjectId' => ['type' => 'string', 'required' => true], + 'Name' => ['type' => 'string', 'required' => true], + 'LabelTableId' => ['type' => 'string', 'required' => true], + 'Features' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'FeatureViewId' => ['type' => 'string', 'required' => true], + 'Name' => ['type' => 'string', 'required' => true], + 'AliasName' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => true], + 'PrefixName' => ['type' => 'string'], + ], + ], + ], + 'SequenceFeatureViewIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'LabelPriorityLevel' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'ListDatasourceFeatureViews' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateProject' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'DatasourceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageNumber', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'WorkspaceId' => ['type' => 'string', 'required' => true], + 'Description' => ['type' => 'string', 'required' => false], + 'OfflineDatasourceId' => ['type' => 'string', 'required' => true], + 'OfflineLifeCycle' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'OnlineDatasourceId' => ['type' => 'string', 'required' => true], + ], ], ], + ], + ], + 'CreateServiceIdentityRole' => [ + 'path' => '/api/v1/serviceidentityroles', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Order', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'RoleName' => ['type' => 'string', 'required' => true], + ], ], ], + ], + ], + 'DeleteDatasource' => [ + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'DatasourceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteFeatureEntity' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'ProjectName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'StartDate', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'FeatureEntityId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndDate', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Verbose', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ShowStorageUsage', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDatasourceTables' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteLLMConfig' => [ + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'DatasourceId', + 'name' => 'LLMConfigId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'SchemaName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetDatasourceTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables/{TableName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteLabelTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'DatasourceId', + 'name' => 'LabelTableId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TableName', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateLLMConfig' => [ - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteProject' => [ + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ProjectId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'ExportModelFeatureTrainingSetTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -775,970 +685,684 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'Model' => [ - 'type' => 'string', - 'required' => true, - ], - 'ApiKey' => [ - 'type' => 'string', - 'required' => true, - ], - 'BaseUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'Rps' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'MaxTokens' => [ - 'type' => 'integer', - 'format' => 'int32', + 'LabelInputConfig' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'EventTime' => ['type' => 'string', 'required' => false], + ], ], - 'BatchSize' => [ - 'type' => 'integer', - 'format' => 'int32', + 'FeatureViewConfig' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'required' => false], + 'Values' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'StartValue' => ['type' => 'string', 'required' => false], + 'EndValue' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'EventTime' => ['type' => 'string', 'required' => false], + 'Equal' => ['type' => 'boolean', 'required' => false], + 'UseMock' => ['type' => 'boolean', 'required' => false], + 'Snapshot' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'required' => false], + 'Values' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'StartValue' => ['type' => 'string', 'required' => false], + 'EndValue' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'Table' => ['type' => 'string', 'required' => false], + ], + ], + 'SecondJoinKey' => ['type' => 'string', 'required' => false], + 'JoinWithLabel' => ['type' => 'boolean'], + ], + ], ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'EmbeddingDimension' => [ - 'type' => 'integer', - 'format' => 'int32', + 'TrainingSetConfig' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], ], + 'RealTimeIterateInterval' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'RealTimePartitionCountValue' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], ], ], - 'ListLLMConfigs' => [ - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetDatasource' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'DatasourceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetDatasourceTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables/{TableName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'DatasourceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'TableName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetFeatureEntity' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'FeatureEntityId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetLLMConfig' => [ - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'LLMConfigId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetInstance' => [ + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RegionId', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateLLMConfig' => [ + 'GetLLMConfig' => [ 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'Model' => [ - 'type' => 'string', - 'required' => true, - ], - 'ApiKey' => [ - 'type' => 'string', - 'required' => true, - ], - 'BaseUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'Rps' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'MaxTokens' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'BatchSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'EmbeddingDimension' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'name' => 'LLMConfigId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'LLMConfigId', + 'name' => 'RegionId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteLLMConfig' => [ - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetLabelTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'LLMConfigId', + 'name' => 'LabelTableId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateProject' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Description' => [ - 'type' => 'string', - 'required' => false, - ], - 'OfflineDatasourceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'OfflineLifeCycle' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'OnlineDatasourceId' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListProjects' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetModelFeatureFGFeature' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetModelFeatureFGInfo' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fginfo', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ProjectIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetProject' => [ 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateProject' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetProjectFeatureEntity' => [ + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'Description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'FeatureEntityName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteProject' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetServiceIdentityRole' => [ + 'path' => '/api/v1/serviceidentityroles/{RoleName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RoleName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetTask' => [ + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ProjectId', + 'name' => 'TaskId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListProjectFeatures' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/features', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListDatasourceFeatureViews' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ProjectId', + 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Name', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'AliasName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Filter', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SortBy', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Order', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'ListProjectFeatureViews' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'All', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ProjectId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'ShowStorageUsage', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetProjectFeatureEntity' => [ - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDatasourceTables' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ProjectId', + 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureEntityName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SchemaName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateFeatureEntity' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureentities', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDatasources' => [ + 'path' => '/api/v1/instances/{InstanceId}/datasources', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'JoinId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'ProjectId' => [ - 'type' => 'string', - 'required' => true, - ], - 'ParentFeatureEntityId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListFeatureEntities' => [ '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FeatureEntityIds', @@ -1747,356 +1371,168 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'ParentFeatureEntityId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFeatureEntity' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFeatureViewFieldRelationships' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/fields/{FieldName}/relationships', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'FieldName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListFeatureViewOnlineFeatures' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureEntityId', + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'JoinIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => true], ], ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], ], - 'DeleteFeatureEntity' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFeatureViewRelationships' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/relationships', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureEntityId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateFeatureView' => [ + 'ListFeatureViews' => [ 'path' => '/api/v1/instances/{InstanceId}/featureviews', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ProjectId' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureEntityId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - ], - 'WriteMethod' => [ - 'type' => 'string', - 'required' => true, - ], - 'WriteToFeatureDB' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'RegisterTable' => [ - 'type' => 'string', - 'required' => false, - ], - 'RegisterDatasourceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'SyncOnlineTable' => [ - 'type' => 'boolean', - 'required' => true, - ], - 'TTL' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Config' => [ - 'type' => 'string', - 'required' => false, - ], - 'Fields' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'Attributes' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Transform' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'LLMConfigId' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Input' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'ListFeatureViews' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tag', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FeatureName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FeatureViewIds', @@ -2105,689 +1541,553 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFeatureView' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstances' => [ + 'path' => '/api/v1/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteFeatureView' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLLMConfigs' => [ + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PublishFeatureViewTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/publishtable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLabelTables' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'LabelTableIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'Mode' => [ - 'type' => 'string', - 'required' => true, - ], - 'EventTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'Config' => [ - 'type' => 'string', - 'required' => false, - ], - 'OfflineToOnline' => [ - 'type' => 'boolean', - 'required' => true, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'WriteFeatureViewTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/writetable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListModelFeatureAvailableFeatures' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureViewId', + 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'UrlDatasource' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Path' => [ - 'type' => 'string', - 'required' => false, - ], - 'Delimiter' => [ - 'type' => 'string', - 'required' => false, - ], - 'OmitHeader' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - 'Mode' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'FeatureName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListFeatureViewOnlineFeatures' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListModelFeatures' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'JoinIds', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'json', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ModelFeatureIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => true, - ], + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'ListFeatureViewRelationships' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/relationships', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectFeatureViews' => [ + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureViewId', + 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListFeatureViewFieldRelationships' => [ - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/fields/{FieldName}/relationships', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectFeatures' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FeatureViewId', + 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'FieldName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AliasName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateLabelTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/labeltables', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjects' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ProjectIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ProjectId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'DatasourceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Fields' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'INT32', - 'INT64', - 'FLOAT', - 'DOUBLE', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - 'EventTimeIsUnixTime', - ], - ], - ], - ], - ], - ], - ], + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'ListLabelTables' => [ - 'path' => '/api/v1/instances/{InstanceId}/labeltables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTaskLogs' => [ + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], + ], + ], + 'ListTasks' => [ + 'path' => '/api/v1/instances/{InstanceId}/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Name', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Owner', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SortBy', + 'name' => 'ObjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Order', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'LabelTableIds', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - ], - 'GetLabelTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'LabelTableId', - 'in' => 'path', + 'name' => 'TaskIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'UpdateLabelTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PublishFeatureViewTable' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'LabelTableId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -2797,131 +2097,109 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatasourceId' => [ - 'type' => 'string', + 'Partitions' => [ + 'type' => 'object', 'required' => false, - ], - 'Fields' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ + 'additionalProperties' => [ 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'DOUBLE', - 'INT32', - 'INT64', - 'FLOAT', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - 'EventTimeIsUnixTime', - ], - ], - ], - ], + 'additionalProperties' => ['type' => 'string'], ], ], + 'Mode' => ['type' => 'string', 'required' => true], + 'EventTime' => ['type' => 'string', 'required' => false], + 'Config' => ['type' => 'string', 'required' => false], + 'OfflineToOnline' => ['type' => 'boolean', 'required' => true], ], ], ], ], ], - 'DeleteLabelTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StopTask' => [ + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'UpdateDatasource' => [ + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'LabelTableId', + 'name' => 'DatasourceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'Uri' => ['type' => 'string', 'required' => true], + 'Config' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CreateModelFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -2931,745 +2209,44 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ProjectId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'LabelTableId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Features' => [ + 'Fields' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'FeatureViewId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'AliasName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'SequenceFeatureViewIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'LabelPriorityLevel' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'ListModelFeatures' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ModelFeatureIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - 'GetModelFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'UpdateModelFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'LabelTableId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Features' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'FeatureViewId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'AliasName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'SequenceFeatureViewIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'LabelPriorityLevel' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'DeleteModelFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ExportModelFeatureTrainingSetTable' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'LabelInputConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'EventTime' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'FeatureViewConfig' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Values' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'StartValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'EndValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'EventTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'Equal' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'UseMock' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'Snapshot' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Values' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'StartValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'EndValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'Table' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'TrainingSetConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'RealTimeIterateInterval' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'RealTimePartitionCountValue' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'ListModelFeatureAvailableFeatures' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/availablefeatures', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'FeatureName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'UpdateModelFeatureFGFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'RawFeatures' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'InputFeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureDomain' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureType' => [ - 'type' => 'string', - 'required' => true, - ], - 'ValueType' => [ - 'type' => 'string', - 'required' => true, - ], - 'DefaultValue' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'LookupFeatures' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'MapFeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'MapFeatureDomain' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'ValueType' => [ - 'type' => 'string', - 'required' => true, - ], - 'DefaultValue' => [ - 'type' => 'string', - 'required' => true, - ], - 'KeyFeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'KeyFeatureDomain' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'SequenceFeatures' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'FeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'SequenceLength' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'SequenceDelim' => [ - 'type' => 'string', - 'required' => true, - ], - 'AttributeDelim' => [ - 'type' => 'string', + 'Name' => ['type' => 'string', 'required' => true], + 'Type' => ['type' => 'string', 'required' => true], + 'Attributes' => [ + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], ], - 'SubFeatures' => [ + 'Transform' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'InputFeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureDomain' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureName' => [ - 'type' => 'string', - 'required' => true, - ], - 'FeatureType' => [ - 'type' => 'string', - 'required' => true, - ], - 'ValueType' => [ - 'type' => 'string', - 'required' => true, - ], - 'DefaultValue' => [ - 'type' => 'string', + 'Type' => ['type' => 'string', 'required' => true], + 'LLMConfigId' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'Input' => [ + 'type' => 'array', 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'Type' => ['type' => 'string', 'required' => true], + 'Modality' => [ + 'type' => 'string', + 'enum' => ['NONE', 'TEXT', 'IMAGE', 'VIDEO', 'MULTI_IMAGES'], + ], + ], + ], ], ], ], @@ -3677,401 +2254,310 @@ ], ], ], - 'Reserves' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], ], ], ], - 'GetModelFeatureFGFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'GetModelFeatureFGInfo' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fginfo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'CheckModelFeatureFGFeature' => [ - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/checkfgfeature', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListTasks' => [ - 'path' => '/api/v1/instances/{InstanceId}/tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ObjectType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ObjectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], + 'UpdateLLMConfig' => [ + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TaskIds', - 'in' => 'query', - 'style' => 'simple', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'Model' => ['type' => 'string', 'required' => true], + 'ApiKey' => ['type' => 'string', 'required' => true], + 'BaseUrl' => ['type' => 'string', 'required' => true], + 'Rps' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'MaxTokens' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'BatchSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'EmbeddingDimension' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'ModelType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + ], + 'EnableFusion' => ['type' => 'boolean', 'required' => false], ], ], ], + [ + 'name' => 'LLMConfigId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'GetTask' => [ - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateLabelTable' => [ + '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'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TaskId', + 'name' => 'LabelTableId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => false], + 'DatasourceId' => ['type' => 'string', 'required' => false], + 'Fields' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + 'Type' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['DOUBLE', 'INT32', 'INT64', 'FLOAT', 'STRING', 'BOOLEAN', 'TIMESTAMP'], + ], + 'Attributes' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'], + ], + ], + 'AlignedEntityName' => ['type' => 'string'], + ], + ], + ], + ], ], ], ], ], - 'StopTask' => [ - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TaskId', + 'name' => 'ModelFeatureId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'LabelTableId' => ['type' => 'string', 'required' => false], + 'Features' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'FeatureViewId' => ['type' => 'string', 'required' => true], + 'Name' => ['type' => 'string', 'required' => true], + 'AliasName' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => true], + 'PrefixName' => ['type' => 'string'], + ], + ], + ], + 'SequenceFeatureViewIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'LabelPriorityLevel' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'ListTaskLogs' => [ - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateModelFeatureFGFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TaskId', + 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'RawFeatures' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InputFeatureName' => ['type' => 'string', 'required' => true], + 'FeatureDomain' => ['type' => 'string', 'required' => true], + 'FeatureName' => ['type' => 'string', 'required' => true], + 'FeatureType' => ['type' => 'string', 'required' => true], + 'ValueType' => ['type' => 'string', 'required' => true], + 'DefaultValue' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'LookupFeatures' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'MapFeatureName' => ['type' => 'string', 'required' => true], + 'MapFeatureDomain' => ['type' => 'string', 'required' => true], + 'FeatureName' => ['type' => 'string', 'required' => true], + 'ValueType' => ['type' => 'string', 'required' => true], + 'DefaultValue' => ['type' => 'string', 'required' => true], + 'KeyFeatureName' => ['type' => 'string', 'required' => true], + 'KeyFeatureDomain' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'SequenceFeatures' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'FeatureName' => ['type' => 'string', 'required' => true], + 'SequenceLength' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'SequenceDelim' => ['type' => 'string', 'required' => true], + 'AttributeDelim' => ['type' => 'string', 'required' => true], + 'SubFeatures' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InputFeatureName' => ['type' => 'string', 'required' => true], + 'FeatureDomain' => ['type' => 'string', 'required' => true], + 'FeatureName' => ['type' => 'string', 'required' => true], + 'FeatureType' => ['type' => 'string', 'required' => true], + 'ValueType' => ['type' => 'string', 'required' => true], + 'DefaultValue' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], + ], + ], + 'Reserves' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], - 'CreateServiceIdentityRole' => [ - 'path' => '/api/v1/serviceidentityroles', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateProject' => [ + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ProjectId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -4080,88 +2566,78 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'RoleName' => [ - 'type' => 'string', - 'required' => true, - ], + 'Name' => ['type' => 'string', 'required' => false], + 'Description' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetServiceIdentityRole' => [ - 'path' => '/api/v1/serviceidentityroles/{RoleName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'WriteFeatureViewTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/writetable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RoleName', + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'UrlDatasource' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Path' => ['type' => 'string', 'required' => false], + 'Delimiter' => ['type' => 'string', 'required' => false], + 'OmitHeader' => ['type' => 'boolean', 'required' => false], + ], + ], + 'Mode' => ['type' => 'string', 'required' => true], + ], ], ], ], ], ], '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', - ], + ['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'], ], ]; -- cgit v1.2.3