summaryrefslogtreecommitdiff
path: root/data/paifeaturestore
diff options
context:
space:
mode:
Diffstat (limited to 'data/paifeaturestore')
-rw-r--r--data/paifeaturestore/2023-06-21/api-docs.php4352
1 files changed, 1414 insertions, 2938 deletions
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,37 +1,29 @@
<?php return [
'version' => '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',
'style' => 'json',
@@ -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,199 +161,310 @@
'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',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Type' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'CreateLLMConfig' => [
+ 'path' => '/api/v1/instances/{InstanceId}/llmconfigs',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'CreateLabelTable' => [
+ 'path' => '/api/v1/instances/{InstanceId}/labeltables',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'InstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SortBy',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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'],
+ ],
+ ],
+ 'AlignedEntityName' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'GetDatasource' => [
- 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}',
- 'methods' => [
- 'get',
- ],
- '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],
+ ],
],
],
],
],
- 'UpdateDatasource' => [
- 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DatasourceId',
- 'in' => 'path',
+ '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],
+ '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' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -440,18 +473,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Config' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'RoleName' => ['type' => 'string', 'required' => true],
],
],
],
@@ -459,315 +481,203 @@
],
'DeleteDatasource' => [
'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DatasourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListDatasourceFeatureViews' => [
- 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/featureviews',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteFeatureEntity' => [
+ 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}',
+ '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' => 'FeatureEntityId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteFeatureView' => [
+ 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}',
+ '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' => 'FeatureViewId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteLLMConfig' => [
+ 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['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' => 'LLMConfigId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteLabelTable' => [
+ 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}',
+ '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' => 'LabelTableId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListDatasourceTables' => [
- 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteModelFeature' => [
+ 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}',
+ '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' => 'ModelFeatureId',
'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',
- ],
+ 'DeleteProject' => [
+ 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}',
+ '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,
- ],
- ],
- [
- 'name' => 'DatasourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TableName',
+ 'name' => 'ProjectId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateLLMConfig' => [
- 'path' => '/api/v1/instances/{InstanceId}/llmconfigs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ExportModelFeatureTrainingSetTable' => [
+ 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable',
+ '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' => 'ModelFeatureId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- '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' => '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' => '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' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AliasName',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Filter',
+ 'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ProjectName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SortBy',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'Verbose',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ShowStorageUsage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListProjectFeatureViews' => [
- 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews',
- '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' => 'TableName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SchemaName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetProjectFeatureEntity' => [
- 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}',
- 'methods' => [
- 'get',
- ],
- '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' => 'ProjectId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'FeatureEntityName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateFeatureEntity' => [
- 'path' => '/api/v1/instances/{InstanceId}/featureentities',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- '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' => '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',
- ],
- '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],
+ ],
+ [
+ 'name' => 'FieldName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteFeatureEntity' => [
- 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListFeatureViewOnlineFeatures' => [
+ 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures',
+ '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],
+ ],
+ [
+ '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'],
+ ],
],
],
- 'CreateFeatureView' => [
- 'path' => '/api/v1/instances/{InstanceId}/featureviews',
- 'methods' => [
- 'post',
- ],
- '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' => '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,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'FeatureViewId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListFeatureViews' => [
'path' => '/api/v1/instances/{InstanceId}/featureviews',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'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,823 +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],
],
- ],
- ],
- 'CreateLabelTable' => [
- 'path' => '/api/v1/instances/{InstanceId}/labeltables',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'AliasName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- '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',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ '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],
],
],
],
- 'ListLabelTables' => [
- 'path' => '/api/v1/instances/{InstanceId}/labeltables',
- 'methods' => [
- 'get',
- ],
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ProjectId',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Name',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Owner',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SortBy',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LabelTableIds',
+ 'name' => 'ProjectIds',
'in' => 'query',
'style' => 'simple',
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'GetLabelTable' => [
- 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}',
- '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' => 'LabelTableId',
+ 'name' => 'TaskId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'UpdateLabelTable' => [
- 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTasks' => [
+ 'path' => '/api/v1/instances/{InstanceId}/tasks',
+ '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' => 'LabelTableId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- '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',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'ObjectType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeleteLabelTable' => [
- 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ObjectId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LabelTableId',
- 'in' => 'path',
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TaskIds',
+ 'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'CreateModelFeature' => [
- 'path' => '/api/v1/instances/{InstanceId}/modelfeatures',
- 'methods' => [
- 'post',
- ],
- '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' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'FeatureViewId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -2931,242 +2097,109 @@
'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,
- ],
- ],
- ],
- ],
- 'SequenceFeatureViewIds' => [
- 'type' => 'array',
+ 'Partitions' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
],
- 'LabelPriorityLevel' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'Mode' => ['type' => 'string', 'required' => true],
+ 'EventTime' => ['type' => 'string', 'required' => false],
+ 'Config' => ['type' => 'string', 'required' => false],
+ 'OfflineToOnline' => ['type' => 'boolean', 'required' => true],
],
],
],
],
],
- 'ListModelFeatures' => [
- 'path' => '/api/v1/instances/{InstanceId}/modelfeatures',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopTask' => [
+ 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop',
+ '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',
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- '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,
- ],
- ],
+ 'name' => 'TaskId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetModelFeature' => [
- 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDatasource' => [
+ 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}',
+ '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' => 'ModelFeatureId',
+ '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],
+ ],
],
],
],
],
- 'UpdateModelFeature' => [
- 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}',
- 'methods' => [
- 'put',
- ],
- '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' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ModelFeatureId',
+ 'name' => 'FeatureViewId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3176,131 +2209,128 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'LabelTableId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Features' => [
+ 'Fields' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'FeatureViewId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Name' => [
- 'type' => 'string',
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Type' => ['type' => 'string', 'required' => true],
+ 'Attributes' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'AliasName' => [
- 'type' => 'string',
+ 'Transform' => [
+ 'type' => 'array',
'required' => false,
- ],
- 'Type' => [
- 'type' => 'string',
- 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ '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'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- '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',
- ],
+ 'UpdateLLMConfig' => [
+ 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'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],
+ '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' => 'ModelFeatureId',
+ 'name' => 'LLMConfigId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ExportModelFeatureTrainingSetTable' => [
- 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable',
- 'methods' => [
- 'post',
- ],
- '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' => 'ModelFeatureId',
+ 'name' => 'LabelTableId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3310,231 +2340,119 @@
'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' => [
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'DatasourceId' => ['type' => 'string', 'required' => false],
+ 'Fields' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
'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,
- ],
- ],
- ],
- ],
- 'EventTime' => [
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Type' => [
'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,
- ],
- ],
+ 'required' => true,
+ 'enum' => ['DOUBLE', 'INT32', 'INT64', 'FLOAT', 'STRING', 'BOOLEAN', 'TIMESTAMP'],
],
- ],
- ],
- ],
- 'TrainingSetConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Partitions' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'object',
- 'additionalProperties' => [
+ 'Attributes' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'],
],
],
+ 'AlignedEntityName' => ['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',
- ],
+ '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' => 'ModelFeatureId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'FeatureName',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
],
],
],
],
'UpdateModelFeatureFGFeature' => [
'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3551,30 +2469,12 @@
'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,
- ],
+ '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],
],
],
],
@@ -3585,34 +2485,13 @@
'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,
- ],
+ '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],
],
],
],
@@ -3623,23 +2502,10 @@
'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,
- ],
+ '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,
@@ -3647,30 +2513,12 @@
'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,
- ],
+ '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],
],
],
],
@@ -3680,398 +2528,74 @@
'Reserves' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- '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',
- ],
+ '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,
- ],
+ '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,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- '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,
- ],
- ],
- [
- 'name' => 'TaskId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'StopTask' => [
- 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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' => 'InstanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TaskId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'ListTaskLogs' => [
- 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs',
- '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' => 'TaskId',
+ 'name' => 'FeatureViewId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'CreateServiceIdentityRole' => [
- 'path' => '/api/v1/serviceidentityroles',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -4080,88 +2604,40 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'RoleName' => [
- 'type' => 'string',
- 'required' => true,
+ '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],
],
],
],
],
],
- 'GetServiceIdentityRole' => [
- 'path' => '/api/v1/serviceidentityroles/{RoleName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'RoleName',
- 'in' => 'path',
- 'schema' => [
- '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'],
],
];