summaryrefslogtreecommitdiff
path: root/data/paistudio/2021-02-02/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/paistudio/2021-02-02/api-docs.php
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/paistudio/2021-02-02/api-docs.php')
-rw-r--r--data/paistudio/2021-02-02/api-docs.php1945
1 files changed, 610 insertions, 1335 deletions
diff --git a/data/paistudio/2021-02-02/api-docs.php b/data/paistudio/2021-02-02/api-docs.php
index fc65826..bc62529 100644
--- a/data/paistudio/2021-02-02/api-docs.php
+++ b/data/paistudio/2021-02-02/api-docs.php
@@ -1,23 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'PaiStudio',
- 'version' => '2021-02-02',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'PaiStudio', 'version' => '2021-02-02'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'CreateExperiment' => [
- 'path' => '/api/v1/experiments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CopyExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/copy',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33,52 +24,26 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Source' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FolderId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'TemplateId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'Source' => ['type' => 'string', 'required' => false],
+ 'FolderId' => ['type' => 'string', 'required' => true],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
],
],
],
+ [
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
],
- 'CopyExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/copy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateExperiment' => [
+ 'path' => '/api/v1/experiments',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -94,52 +59,23 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Source' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FolderId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'Source' => ['type' => 'string', 'required' => false],
+ 'FolderId' => ['type' => 'string', 'required' => true],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'TemplateId' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
],
],
],
- [
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
],
],
- 'UpdateExperimentMeta' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/meta',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateExperimentFolder' => [
+ 'path' => '/api/v1/experimentfolders',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -148,14 +84,6 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -163,40 +91,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FolderId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'ParentFolderId' => ['type' => 'string', 'required' => false],
+ 'Source' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdateExperimentContent' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/content',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateExperimentMigrateValidation' => [
+ 'path' => '/api/v1/migrate/experimentvalidation',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -205,44 +113,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Content' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Version' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'SourceExpId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'PublishExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/publish',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateJob' => [
+ 'path' => '/api/v1/jobs',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -251,14 +131,6 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -266,24 +138,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'FolderId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'PipelineDraftId' => ['type' => 'string', 'required' => false],
+ 'ExperimentId' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'ExecuteType' => ['type' => 'string', 'required' => false],
+ 'NodeId' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetExperiment' => [
+ 'DeleteExperiment' => [
'path' => '/api/v1/experiments/{ExperimentId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -294,48 +162,14 @@
[
'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetExperimentMeta' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/meta',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'GetExperimentStatus' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/status',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteExperimentFolder' => [
+ 'path' => '/api/v1/experimentfolders/{FolderId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -344,24 +178,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
+ 'name' => 'FolderId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAlgoTree' => [
+ 'path' => '/api/v1/algo/tree',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -370,24 +196,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Source',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListExperiments' => [
- 'path' => '/api/v1/experiments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAlgorithmDef' => [
+ 'path' => '/api/v1/algorithm/def',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -396,90 +214,64 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'Provider',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Identifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Order',
+ 'name' => 'AlgoVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ExperimentId',
+ 'name' => 'Signature',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GetAlgorithmDefs' => [
+ 'path' => '/api/v1/algorithm/defs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Creator',
+ 'name' => 'Timestamp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Source',
+ 'name' => 'LatestTimestamp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'RangeStart',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SortBy',
+ 'name' => 'RangeEnd',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'CreateJob' => [
- 'path' => '/api/v1/jobs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAlgorithmTree' => [
+ 'path' => '/api/v1/algorithm/tree',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -488,48 +280,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'PipelineDraftId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExperimentId' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'ExecuteType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NodeId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'Source',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetJob' => [
- 'path' => '/api/v1/jobs/{JobId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -538,32 +303,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'JobId',
+ 'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListJobs' => [
- 'path' => '/api/v1/jobs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperimentFolderChildren' => [
+ 'path' => '/api/v1/experimentfolders/{FolderId}/children',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -572,58 +321,41 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
+ 'name' => 'FolderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Creator',
+ 'name' => 'OnlyFolder',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'Source',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Accessibility',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'StopJob' => [
- 'path' => '/api/v1/jobs/{JobId}/stop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperimentMeta' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/meta',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -632,24 +364,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'JobId',
+ 'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'StopExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/stop',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperimentStatus' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/status',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -660,22 +384,14 @@
[
'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateExperimentFolder' => [
- 'path' => '/api/v1/experimentfolders',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperimentVisualizationMeta' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/visualizationMeta',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -684,47 +400,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ParentFolderId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Source' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'NodeIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateExperimentFolder' => [
- 'path' => '/api/v1/experimentfolders/{FolderId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperimentsStatistics' => [
+ 'path' => '/api/v1/statistics/experiments',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -733,43 +423,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ParentFolderId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'WorkspaceIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'FolderId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Source',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetExperimentFolderChildren' => [
- 'path' => '/api/v1/experimentfolders/{FolderId}/children',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetExperimentsUsersStatistics' => [
+ 'path' => '/api/v1/statistics/experimentsusers',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -778,64 +446,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'FolderId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'OnlyFolder',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Source',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Accessibility',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'UserId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteExperimentFolder' => [
- 'path' => '/api/v1/experimentfolders/{FolderId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetJob' => [
+ 'path' => '/api/v1/jobs/{JobId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -844,24 +469,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'FolderId',
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'JobId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetAlgorithmTree' => [
- 'path' => '/api/v1/algorithm/tree',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetMCTableSchema' => [
+ 'path' => '/api/v1/datasources/maxcompute/tables/{TableName}/schema',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -870,32 +492,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Source',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'TableName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^([a-zA-Z][a-zA-Z0-9_]*\\.)?[a-zA-Z0-9_]+$'],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetAlgorithmDef' => [
- 'path' => '/api/v1/algorithm/def',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetNodeInputSchema' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/schema',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -904,48 +515,31 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Provider',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Identifier',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'NodeId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlgoVersion',
+ 'name' => 'InputId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Signature',
+ 'name' => 'InputIndex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ListRecentExperiments' => [
- 'path' => '/api/v1/recentexperiments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetNodeOutput' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/outputs/{OutputId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -954,66 +548,54 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Source',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'NodeId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'OutputId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'OutputIndex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GetTemplate' => [
+ 'path' => '/api/v1/templates/{TemplateId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'TemplateId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Verbose',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
],
- 'ListTemplates' => [
- 'path' => '/api/v1/templates',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListAuthRoles' => [
+ 'path' => '/api/v1/authorization/roles',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1022,110 +604,79 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'IsGenerateToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ListExperiments' => [
+ 'path' => '/api/v1/experiments',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Source',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'List',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TagId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TypeId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'WorkspaceId',
+ 'name' => 'ExperimentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TemplateType',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Label',
+ 'name' => 'Creator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Name',
+ 'name' => 'Source',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Verbose',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetTemplate' => [
- 'path' => '/api/v1/templates/{TemplateId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListImageLabels' => [
+ 'path' => '/api/v1/image/labels',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1134,31 +685,26 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'LabelKeys',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Verbose',
+ 'name' => 'LabelFilter',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'ImageId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
],
- 'GetExperimentsStatistics' => [
- 'path' => '/api/v1/statistics/experiments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListImages' => [
+ 'path' => '/api/v1/images',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1167,66 +713,46 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceIds',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Source',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
- ],
- ],
- 'GetExperimentsUsersStatistics' => [
- 'path' => '/api/v1/statistics/experimentsusers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Source',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean'],
],
],
],
- 'PreviewMCTable' => [
- 'path' => '/api/v1/datasources/maxcompute/tables/{TableName}/preview',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListJobs' => [
+ 'path' => '/api/v1/jobs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1235,57 +761,36 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TableName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ExperimentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'Creator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Partition',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Endpoint',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Limit',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'GetMCTableSchema' => [
- 'path' => '/api/v1/datasources/maxcompute/tables/{TableName}/schema',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListNodeOutputs' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/outputs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1294,33 +799,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TableName',
+ 'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^([a-zA-Z][a-zA-Z0-9_]*\\.)?[a-zA-Z0-9_]+$',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'NodeId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'SearchMCTables' => [
- 'path' => '/api/v1/datasources/maxcompute/tables',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRecentExperiments' => [
+ 'path' => '/api/v1/recentexperiments',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1329,83 +822,41 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Keyword',
+ 'name' => 'Source',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'GetNodeInputSchema' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/schema',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NodeId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'InputId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'InputIndex',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'GetExperimentVisualizationMeta' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/visualizationMeta',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTemplates' => [
+ 'path' => '/api/v1/templates',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1414,203 +865,76 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'NodeIds',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'QueryExperimentVisualizationData' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/visualizationDataQuery',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'NodeId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'VisualizationDataIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'StartTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EndTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'Source',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetAlgoTree' => [
- 'path' => '/api/v1/algo/tree',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'List',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Source',
+ 'name' => 'TagId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
- ],
- ],
- 'ListNodeOutputs' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/outputs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'TypeId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'NodeId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- ],
- 'GetNodeOutput' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/outputs/{OutputId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TemplateType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Label',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'NodeId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'OutputId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean'],
],
[
- 'name' => 'OutputIndex',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
- 'ListAuthRoles' => [
- 'path' => '/api/v1/authorization/roles',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'MigrateExperimentFolders' => [
+ 'path' => '/api/v1/migrate/folders',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1621,30 +945,24 @@
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'IsGenerateToken',
+ 'name' => 'IsOwner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Accessibility',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListImages' => [
- 'path' => '/api/v1/images',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'MigrateExperiments' => [
+ 'path' => '/api/v1/migrate/experiments',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1653,67 +971,41 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'PageNumber',
+ 'name' => 'SourceExpId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SortBy',
+ 'name' => 'DestFolderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Order',
+ 'name' => 'Accessibility',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Labels',
+ 'name' => 'UpdateIfExists',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Verbose',
+ 'name' => 'IsOwner',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListImageLabels' => [
- 'path' => '/api/v1/image/labels',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PreviewMCTable' => [
+ 'path' => '/api/v1/datasources/maxcompute/tables/{TableName}/preview',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1722,37 +1014,36 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'LabelKeys',
+ 'name' => 'TableName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'LabelFilter',
+ 'name' => 'Partition',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ImageId',
+ 'name' => 'Endpoint',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'MigrateExperiments' => [
- 'path' => '/api/v1/migrate/experiments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PublishExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/publish',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1761,65 +1052,92 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'SourceExpId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'FolderId' => ['type' => 'string', 'required' => true],
+ ],
],
],
+ ],
+ ],
+ 'QueryExperimentVisualizationData' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/visualizationDataQuery',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'DestFolderId',
- 'in' => 'query',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'NodeId' => ['type' => 'string', 'required' => false],
+ 'VisualizationDataIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'StartTime' => ['type' => 'string', 'required' => false],
+ 'EndTime' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'SearchMCTables' => [
+ 'path' => '/api/v1/datasources/maxcompute/tables',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Accessibility',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'UpdateIfExists',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'IsOwner',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateExperimentMigrateValidation' => [
- 'path' => '/api/v1/migrate/experimentvalidation',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/stop',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1828,25 +1146,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'SourceExpId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'MigrateExperimentFolders' => [
- 'path' => '/api/v1/migrate/folders',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopJob' => [
+ 'path' => '/api/v1/jobs/{JobId}/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1855,40 +1164,47 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'JobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'UpdateExperimentContent' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/content',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'IsOwner',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Accessibility',
- 'in' => 'query',
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Content' => ['type' => 'string', 'required' => true],
+ 'Version' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
],
],
],
- 'GetAlgorithmDefs' => [
- 'path' => '/api/v1/algorithm/defs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateExperimentFolder' => [
+ 'path' => '/api/v1/experimentfolders/{FolderId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1897,118 +1213,77 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Timestamp',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'ParentFolderId' => ['type' => 'string', 'required' => false],
+ ],
],
],
[
- 'name' => 'LatestTimestamp',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'FolderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'UpdateExperimentMeta' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/meta',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RangeStart',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'RangeEnd',
- 'in' => 'query',
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'FolderId' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'pai.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'pai.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'pai.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'pai.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'pai.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'pai.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'pai.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'pai.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'pai.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'pai.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'pai.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'pai.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'pai.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'pai.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'pai.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'pai.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'pai.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'pai.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'pai.me-east-1.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.ap-northeast-1.aliyuncs.com', 'endpoint' => 'pai.ap-northeast-1.aliyuncs.com', 'vpc' => 'pai-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.ap-northeast-2.aliyuncs.com', 'endpoint' => 'pai.ap-northeast-2.aliyuncs.com', 'vpc' => 'pai-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.ap-southeast-1.aliyuncs.com', 'endpoint' => 'pai.ap-southeast-1.aliyuncs.com', 'vpc' => 'pai-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.ap-southeast-3.aliyuncs.com', 'endpoint' => 'pai.ap-southeast-3.aliyuncs.com', 'vpc' => 'pai-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.ap-southeast-5.aliyuncs.com', 'endpoint' => 'pai.ap-southeast-5.aliyuncs.com', 'vpc' => 'pai-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.ap-southeast-8.aliyuncs.com', 'endpoint' => 'pai.ap-southeast-8.aliyuncs.com', 'vpc' => 'pai-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-beijing.aliyuncs.com', 'endpoint' => 'pai.cn-beijing.aliyuncs.com', 'vpc' => 'pai-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-guangzhou.aliyuncs.com', 'endpoint' => 'pai.cn-guangzhou.aliyuncs.com', 'vpc' => 'pai-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-hangzhou.aliyuncs.com', 'endpoint' => 'pai.cn-hangzhou.aliyuncs.com', 'vpc' => 'pai-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-hongkong.aliyuncs.com', 'endpoint' => 'pai.cn-hongkong.aliyuncs.com', 'vpc' => 'pai-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-shanghai.aliyuncs.com', 'endpoint' => 'pai.cn-shanghai.aliyuncs.com', 'vpc' => 'pai-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-shenzhen.aliyuncs.com', 'endpoint' => 'pai.cn-shenzhen.aliyuncs.com', 'vpc' => 'pai-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'pai.cn-wulanchabu.aliyuncs.com', 'vpc' => 'pai-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai.us-west-1.aliyuncs.com', 'endpoint' => 'pai.us-west-1.aliyuncs.com', 'vpc' => 'pai-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai.us-east-1.aliyuncs.com', 'endpoint' => 'pai.us-east-1.aliyuncs.com', 'vpc' => 'pai-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai.eu-central-1.aliyuncs.com', 'endpoint' => 'pai.eu-central-1.aliyuncs.com', 'vpc' => 'pai-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'pai.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'pai.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'pai-vpc.cn-shanghai-finance-1.aliyuncs.com'],
],
];