diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/paistudio/2021-02-02/api-docs.php | |
| download | acs-metadata-full-b5cdc3380f379f7c0246858ac091f04334b7fb8d.tar.gz acs-metadata-full-b5cdc3380f379f7c0246858ac091f04334b7fb8d.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/paistudio/2021-02-02/api-docs.php')
| -rw-r--r-- | data/en_us/paistudio/2021-02-02/api-docs.php | 4797 |
1 files changed, 4797 insertions, 0 deletions
diff --git a/data/en_us/paistudio/2021-02-02/api-docs.php b/data/en_us/paistudio/2021-02-02/api-docs.php new file mode 100644 index 0000000..0d27461 --- /dev/null +++ b/data/en_us/paistudio/2021-02-02/api-docs.php @@ -0,0 +1,4797 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'PaiStudio', + 'version' => '2021-02-02', + ], + 'directories' => [ + [ + 'id' => 197103, + 'title' => 'Workflow Draft', + 'type' => 'directory', + 'children' => [ + 'CreateExperiment', + 'CopyExperiment', + 'UpdateExperimentMeta', + 'UpdateExperimentContent', + 'PublishExperiment', + 'GetExperiment', + 'GetExperimentMeta', + 'GetExperimentStatus', + 'DeleteExperiment', + 'ListExperiments', + ], + ], + [ + 'id' => 197114, + 'title' => 'Workflow Draft Job', + 'type' => 'directory', + 'children' => [ + 'CreateJob', + 'GetJob', + 'ListJobs', + 'StopJob', + 'StopExperiment', + ], + ], + [ + 'id' => 197111, + 'title' => 'Workflow Draft Catalog', + 'type' => 'directory', + 'children' => [ + 'CreateExperimentFolder', + 'UpdateExperimentFolder', + 'GetExperimentFolderChildren', + 'DeleteExperimentFolder', + ], + ], + [ + 'id' => 197169, + 'title' => 'algorithm', + 'type' => 'directory', + 'children' => [ + 'GetAlgorithmTree', + 'GetAlgorithmDef', + ], + ], + [ + 'id' => 197189, + 'title' => 'Other (documents not in the catalog)', + 'type' => 'directory', + 'children' => [ + 'ListRecentExperiments', + 'ListTemplates', + 'GetTemplate', + 'GetExperimentsStatistics', + 'GetExperimentsUsersStatistics', + 'PreviewMCTable', + 'GetMCTableSchema', + 'SearchMCTables', + 'GetNodeInputSchema', + 'GetExperimentVisualizationMeta', + 'QueryExperimentVisualizationData', + 'GetAlgoTree', + 'ListNodeOutputs', + 'GetNodeOutput', + 'ListAuthRoles', + 'ListImages', + 'ListImageLabels', + 'MigrateExperiments', + 'CreateExperimentMigrateValidation', + 'MigrateExperimentFolders', + 'GetAlgorithmDefs', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateExperiment' => [ + 'summary' => '创建实验,或根据实验模版创建实验', + 'path' => '/api/v1/experiments', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '14187', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Pipeline draft description', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + 'FolderId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-xfdafx093xxfd', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '84972', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'template-xze5df2scrxxz', + ], + 'Options' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PUBLIC' => 'PUBLIC', + 'PRIVATE' => 'PRIVATE', + ], + 'example' => 'PUBLIC', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '42F23B58-3684-5443-848A-8DA81FF99712', + ], + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"42F23B58-3684-5443-848A-8DA81FF99712\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\"\\n}","type":"json"}]', + ], + 'CopyExperiment' => [ + 'summary' => '复制实验', + 'path' => '/api/v1/experiments/{ExperimentId}/copy', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '16683', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '实验名称,最大长度 128,可包含中英文', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'title' => '实验描述', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Pipeline draft description', + ], + 'Source' => [ + 'title' => '实验来源,目前 PaiStudio,data-airec(推荐白盒)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + 'FolderId' => [ + 'title' => '实验创建的目录 id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-erwx872xuryx', + ], + 'WorkspaceId' => [ + 'title' => '实验创建的Workspace', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '84972', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PUBLIC' => 'PUBLIC', + 'PRIVATE' => 'PRIVATE', + ], + 'example' => 'PUBLIC', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'title' => '实验Id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-s2gf8fj160mqxyf0qd', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6D161C28-9CB1-584E-8DD5-64441E32A5B3', + ], + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D161C28-9CB1-584E-8DD5-64441E32A5B3\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\"\\n}","type":"json"}]', + ], + 'UpdateExperimentMeta' => [ + 'summary' => '更新实验的Meta信息', + 'path' => '/api/v1/experiments/{ExperimentId}/meta', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '14190', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Pipeline draft description', + ], + 'FolderId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xfd782efd08wex', + ], + 'Options' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PUBLIC' => 'PUBLIC', + 'PRIVATE' => 'PRIVATE', + ], + 'example' => 'PUBLIC', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E\\"\\n}","type":"json"}]', + ], + 'UpdateExperimentContent' => [ + 'summary' => '更新实验内容', + 'path' => '/api/v1/experiments/{ExperimentId}/content', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '14191', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-i1udvvwm2rlvxug29n', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '{ "metadata": { "name": "实验名称", "id": "pai_exp_xxxdfafafasfa", "desc": "实验描述", }, "nodes": [ ], "edges": [ ], "globalParams": [ ], "globalSettings":[ ] }', + ], + 'Version' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '11', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Version' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Version\\": 12\\n}","type":"json"}]', + ], + 'PublishExperiment' => [ + 'summary' => '发布实验', + 'path' => '/api/v1/experiments/{ExperimentId}/publish', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '92519', + 'abilityTreeNodes' => [ + 'FEATURElearn01UVDS', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FolderId' => [ + 'title' => '公共目录Id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'root', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5A26A7FA-EEF0-5A6B-BA76-06067547C11F', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5A26A7FA-EEF0-5A6B-BA76-06067547C11F\\"\\n}","type":"json"}]', + ], + 'GetExperiment' => [ + 'summary' => '获取实验信息', + 'path' => '/api/v1/experiments/{ExperimentId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14195', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'DD405810-73C9-5721-996A-EA04BCC4BBF2', + ], + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline Draft Name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline Draft Description', + ], + 'GmtCreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1326689413376250', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'Version' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '23487', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{ "nodes": [ { "id": "id-4c50-1609236241393-76174", "name": "读数据表", "metadata": { "identifier": "data_source", "version": "v1", "provider": "pai" }, "properties": [ { "name": "hasPartition", "value": false }, { "name": "inputTableName", "value": "pai_online_project.e_commerce_test_data" } ], "position": { "x": 427, "y": 123 } }, { "id": "id-23ce-1609236252041-30106", "name": "读数据表", "metadata": { "identifier": "data_source", "version": "v1", "provider": "pai" }, "properties": [ { "name": "inputTableName", "value": "pai_online_project.e_commerce_train_data" }, { "name": "hasPartition", "value": false } ], "position": { "x": 226, "y": 127 } }, { "id": "id-97a7-1609236275421-84245", "name": "DeepFM", "metadata": { "identifier": "deepfm", "version": "v1", "provider": "pai" }, "properties": [ { "name": "trainModel", "value": "train" }, { "name": "arn", "value": true }, { "name": "cluster", "value": "\\n{\\n \\"ps\\": {\\n \\"count\\": 2,\\n \\"cpu\\": 1000,\\n \\"memory\\": 40000\\n },\\n \\"worker\\": {\\n \\"count\\": 8,\\n \\"cpu\\": 1000,\\n \\"memory\\": 40000\\n }\\n}" } ], "position": { "x": 323, "y": 345 } } ], "edges": [ { "source": "id-23ce-1609236252041-30106", "sourceAnchor": "outputTable", "targetAnchor": "input1TableName", "target": "id-97a7-1609236275421-84245" }, { "source": "id-4c50-1609236241393-76174", "sourceAnchor": "outputTable", "targetAnchor": "input2TableName", "target": "id-97a7-1609236275421-84245" } ], "globalParams": [], "globalSettings": [] }', + ], + 'Options' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'PUBLIC' => '', + 'PRIVATE' => '', + ], + 'example' => 'PUBLIC', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD405810-73C9-5721-996A-EA04BCC4BBF2\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\",\\n \\"Name\\": \\"Pipeline Draft Name\\",\\n \\"Description\\": \\"Pipeline Draft Description\\",\\n \\"GmtCreateTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"GmtModifiedTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"Creator\\": \\"13266*******76250\\",\\n \\"Source\\": \\"PaiStudio\\",\\n \\"Version\\": 12,\\n \\"WorkspaceId\\": \\"23487\\",\\n \\"Content\\": \\"{\\\\\\"nodes\\\\\\":[{\\\\\\"id\\\\\\":\\\\\\"id-4c50-1609236241393-76174\\\\\\",\\\\\\"name\\\\\\":\\\\\\"读数据表\\\\\\",\\\\\\"metadata\\\\\\":{\\\\\\"identifier\\\\\\":\\\\\\"data_source\\\\\\",\\\\\\"version\\\\\\":\\\\\\"v1\\\\\\",\\\\\\"provider\\\\\\":\\\\\\"pai\\\\\\"},\\\\\\"properties\\\\\\":[{\\\\\\"name\\\\\\":\\\\\\"hasPartition\\\\\\",\\\\\\"value\\\\\\":false},{\\\\\\"name\\\\\\":\\\\\\"inputTableName\\\\\\",\\\\\\"value\\\\\\":\\\\\\"pai_online_project.e_commerce_test_data\\\\\\"}],\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":427,\\\\\\"y\\\\\\":123}},{\\\\\\"id\\\\\\":\\\\\\"id-23ce-1609236252041-30106\\\\\\",\\\\\\"name\\\\\\":\\\\\\"读数据表\\\\\\",\\\\\\"metadata\\\\\\":{\\\\\\"identifier\\\\\\":\\\\\\"data_source\\\\\\",\\\\\\"version\\\\\\":\\\\\\"v1\\\\\\",\\\\\\"provider\\\\\\":\\\\\\"pai\\\\\\"},\\\\\\"properties\\\\\\":[{\\\\\\"name\\\\\\":\\\\\\"inputTableName\\\\\\",\\\\\\"value\\\\\\":\\\\\\"pai_online_project.e_commerce_train_data\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"hasPartition\\\\\\",\\\\\\"value\\\\\\":false}],\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":226,\\\\\\"y\\\\\\":127}},{\\\\\\"id\\\\\\":\\\\\\"id-97a7-1609236275421-84245\\\\\\",\\\\\\"name\\\\\\":\\\\\\"DeepFM\\\\\\",\\\\\\"metadata\\\\\\":{\\\\\\"identifier\\\\\\":\\\\\\"deepfm\\\\\\",\\\\\\"version\\\\\\":\\\\\\"v1\\\\\\",\\\\\\"provider\\\\\\":\\\\\\"pai\\\\\\"},\\\\\\"properties\\\\\\":[{\\\\\\"name\\\\\\":\\\\\\"trainModel\\\\\\",\\\\\\"value\\\\\\":\\\\\\"train\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"arn\\\\\\",\\\\\\"value\\\\\\":true},{\\\\\\"name\\\\\\":\\\\\\"cluster\\\\\\",\\\\\\"value\\\\\\":\\\\\\"\\\\\\\\n{\\\\\\\\n \\\\\\\\\\\\\\"ps\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"count\\\\\\\\\\\\\\": 2,\\\\\\\\n \\\\\\\\\\\\\\"cpu\\\\\\\\\\\\\\": 1000,\\\\\\\\n \\\\\\\\\\\\\\"memory\\\\\\\\\\\\\\": 40000\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"worker\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"count\\\\\\\\\\\\\\": 8,\\\\\\\\n \\\\\\\\\\\\\\"cpu\\\\\\\\\\\\\\": 1000,\\\\\\\\n \\\\\\\\\\\\\\"memory\\\\\\\\\\\\\\": 40000\\\\\\\\n }\\\\\\\\n}\\\\\\"}],\\\\\\"position\\\\\\":{\\\\\\"x\\\\\\":323,\\\\\\"y\\\\\\":345}}],\\\\\\"edges\\\\\\":[{\\\\\\"source\\\\\\":\\\\\\"id-23ce-1609236252041-30106\\\\\\",\\\\\\"sourceAnchor\\\\\\":\\\\\\"outputTable\\\\\\",\\\\\\"targetAnchor\\\\\\":\\\\\\"input1TableName\\\\\\",\\\\\\"target\\\\\\":\\\\\\"id-97a7-1609236275421-84245\\\\\\"},{\\\\\\"source\\\\\\":\\\\\\"id-4c50-1609236241393-76174\\\\\\",\\\\\\"sourceAnchor\\\\\\":\\\\\\"outputTable\\\\\\",\\\\\\"targetAnchor\\\\\\":\\\\\\"input2TableName\\\\\\",\\\\\\"target\\\\\\":\\\\\\"id-97a7-1609236275421-84245\\\\\\"}],\\\\\\"globalParams\\\\\\":[],\\\\\\"globalSettings\\\\\\":[]}\\",\\n \\"Options\\": \\"{\\\\\\"mlflow\\\\\\":{\\\\\\"experimentId\\\\\\":\\\\\\"exp-1\\\\\\"}}\\",\\n \\"Accessibility\\": \\"PUBLIC\\"\\n}","type":"json"}]', + ], + 'GetExperimentMeta' => [ + 'summary' => '获取实验的元信息', + 'path' => '/api/v1/experiments/{ExperimentId}/meta', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14188', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'title' => '实验 id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F2D0392B-D749-5C48-A98A-3FAE5C9444A6', + ], + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft description', + ], + 'GmtCreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1326****76250', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'Version' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '23487', + ], + 'Options' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'PUBLIC' => 'PUBLIC', + 'PRIVATE' => 'PRIVATE', + ], + 'example' => 'PUBLIC', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2D0392B-D749-5C48-A98A-3FAE5C9444A6\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\",\\n \\"Name\\": \\"Pipeline draft name\\",\\n \\"Description\\": \\"Pipeline draft description\\",\\n \\"GmtCreateTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"GmtModifiedTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"Creator\\": \\"1326****76250\\",\\n \\"Source\\": \\"PaiStudio\\",\\n \\"Version\\": \\"12\\",\\n \\"WorkspaceId\\": \\"23487\\",\\n \\"Options\\": \\"{\\\\\\"mlflow\\\\\\":{\\\\\\"experimentId\\\\\\":\\\\\\"exp-1\\\\\\"}}\\",\\n \\"Accessibility\\": \\"PUBLIC\\"\\n}","type":"json"}]', + ], + 'GetExperimentStatus' => [ + 'summary' => '获取实验以及实验节点的状态', + 'path' => '/api/v1/experiments/{ExperimentId}/status', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14237', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-4c60c4txtaexfum1zx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Stopped' => 'Stopped', + 'Running' => 'Running', + ], + 'example' => 'Running', + ], + 'Nodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'id-2317-1608984201281-74996', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-mewqhd72nsrqujn1px', + ], + 'RunId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'flow-wayrh3k605s7i51wey', + ], + 'RunNodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'node-6hc0eocnmzf4pk9njc', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Running', + ], + 'StartedAt' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-21T17:12:35.232Z', + ], + 'FinishedAt' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-21T18:12:35.232Z', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E\\",\\n \\"Status\\": \\"Running\\",\\n \\"Nodes\\": [\\n {\\n \\"NodeId\\": \\"id-2317-1608984201281-74996\\",\\n \\"JobId\\": \\"job-mewqhd72nsrqujn1px\\",\\n \\"RunId\\": \\"flow-wayrh3k605s7i51wey\\",\\n \\"RunNodeId\\": \\"node-6hc0eocnmzf4pk9njc\\",\\n \\"Status\\": \\"Running\\",\\n \\"StartedAt\\": \\"2021-01-21T17:12:35.232Z\\",\\n \\"FinishedAt\\": \\"2021-01-21T18:12:35.232Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DeleteExperiment' => [ + 'summary' => '删除实验', + 'path' => '/api/v1/experiments/{ExperimentId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2ABF5D32-C9EE-55AE-92EE-DB08E8988AD3', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2ABF5D32-C9EE-55AE-92EE-DB08E8988AD3\\"\\n}","type":"json"}]', + ], + 'ListExperiments' => [ + 'summary' => '获取实验列表', + 'path' => '/api/v1/experiments', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '14194', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => 'ASC', + 'DESC' => 'DESC', + ], + 'example' => 'DESC', + ], + ], + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Pipeline draft name', + ], + ], + [ + 'name' => 'Creator', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '13266******376250', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '34875', + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'GmtCreate', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '9708FB85-232F-5F9A-9D67-7F9CCCE20E06', + ], + 'Experiments' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft description', + ], + 'GmtCreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1326*******76250', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'Version' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '23487', + ], + 'Accessibility' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'PUBLIC' => 'PUBLIC', + 'PRIVATE' => 'PRIVATE', + ], + 'example' => 'PUBLIC', + ], + ], + ], + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9708FB85-232F-5F9A-9D67-7F9CCCE20E06\\",\\n \\"Experiments\\": [\\n {\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\",\\n \\"Name\\": \\"Pipeline draft name\\",\\n \\"Description\\": \\"Pipeline draft description\\",\\n \\"GmtCreateTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"GmtModifiedTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"Creator\\": \\"1326*******76250\\",\\n \\"Source\\": \\"PaiStudio\\",\\n \\"Version\\": 12,\\n \\"WorkspaceId\\": \\"23487\\",\\n \\"Accessibility\\": \\"PUBLIC\\"\\n }\\n ],\\n \\"TotalCount\\": 15\\n}","type":"json"}]', + ], + 'CreateJob' => [ + 'summary' => '创建一个工作流的作业', + 'path' => '/api/v1/jobs', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '14185', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PipelineDraftId' => [ + 'title' => '工作流草稿ID。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'draft-o1p0k444nlq3cd50zz'."\n", + ], + 'ExperimentId' => [ + 'title' => '工作流草稿Id,已经废弃,建议使用PipelineDraftId。', + 'description' => '', + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'example' => 'draft-o1p0k444nlq3cd50zz', + ], + 'ExecuteType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'EXECUTE_ALL' => '', + 'EXECUTE_ONE' => '', + 'EXECUTE_TO_HERE' => '', + 'EXECUTE_FROM_HERE' => '', + 'EXECUTE_CHILDREN' => '', + ], + 'example' => 'EXECUTE_ALL', + ], + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'id-2d88-1608982098027-91558', + ], + 'Options' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '85082123-2A3F-52E7-B27A-F04700B82FFB', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-jcs4mmyangk7r2zdqz', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"85082123-2A3F-52E7-B27A-F04700B82FFB\\",\\n \\"JobId\\": \\"job-jcs4mmyangk7r2zdqz\\"\\n}","type":"json"}]', + ], + 'GetJob' => [ + 'summary' => '获取一个PAI Studio作业详情', + 'path' => '/api/v1/jobs/{JobId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14186', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'JobId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-6xfhrofqx93y139fg3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '86995', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-6xfhrofqx93y139fg3'."\n", + ], + 'Snapshot' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'ExecuteType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EXECUTE_TO_HERE', + ], + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'id-xxxxx', + ], + 'RunInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apiVersion: "core/v1"'."\n" + .'metadata:'."\n" + .' version: "v1"'."\n" + .' identifier: "1de8f7c8-a9d8-4433-9e87-d95979ccab14"'."\n" + .' annotations: {}'."\n" + .'spec:'."\n" + .' inputs:'."\n" + .' artifacts: []'."\n" + .' parameters:'."\n" + .' - name: "execution"'."\n" + .' type: "Map"'."\n" + .' arguments:'."\n" + .' artifacts: []'."\n" + .' parameters: []'."\n" + .' dependencies: []'."\n" + .' initContainers: []'."\n" + .' sideCarContainers: []'."\n" + .' pipelines:'."\n" + .' - apiVersion: "core/v1"'."\n" + .' metadata:'."\n" + .' provider: "pai"'."\n" + .' name: "id-2d88-1608982098027-91558"'."\n" + .' version: "v1"'."\n" + .' identifier: "type_transform"'."\n" + .' annotations: {}', + ], + 'RunId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'flow-lcs8ez11961l6urc3m', + ], + 'PaiflowNodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'node-5dzotrnwyzfxmbwwc8'."\n", + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '13266*******76250', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Succeeded', + ], + 'GmtCreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-21T17:12:35.232Z', + ], + 'Arguments' => [ + 'description' => '', + 'type' => 'string', + 'example' => '---'."\n" + .'arguments:'."\n" + .' parameters:'."\n" + .' - name: "execution_maxcompute"'."\n" + .' value:'."\n" + .' endpoint: "http://service.cn-shanghai.maxcompute.aliyun.com/api"'."\n" + .' odpsProject: "xxxxxxx"', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\",\\n \\"WorkspaceId\\": \\"86995\\",\\n \\"JobId\\": \\"job-6xfhrofqx93y139fg3\\\\n\\",\\n \\"Snapshot\\": \\"{}\\",\\n \\"ExecuteType\\": \\"EXECUTE_TO_HERE\\",\\n \\"NodeId\\": \\"id-xxxxx\\",\\n \\"RunInfo\\": \\"apiVersion: \\\\\\"core/v1\\\\\\"\\\\nmetadata:\\\\n version: \\\\\\"v1\\\\\\"\\\\n identifier: \\\\\\"1de8f7c8-a9d8-4433-9e87-d95979ccab14\\\\\\"\\\\n annotations: {}\\\\nspec:\\\\n inputs:\\\\n artifacts: []\\\\n parameters:\\\\n - name: \\\\\\"execution\\\\\\"\\\\n type: \\\\\\"Map\\\\\\"\\\\n arguments:\\\\n artifacts: []\\\\n parameters: []\\\\n dependencies: []\\\\n initContainers: []\\\\n sideCarContainers: []\\\\n pipelines:\\\\n - apiVersion: \\\\\\"core/v1\\\\\\"\\\\n metadata:\\\\n provider: \\\\\\"pai\\\\\\"\\\\n name: \\\\\\"id-2d88-1608982098027-91558\\\\\\"\\\\n version: \\\\\\"v1\\\\\\"\\\\n identifier: \\\\\\"type_transform\\\\\\"\\\\n annotations: {}\\",\\n \\"RunId\\": \\"flow-lcs8ez11961l6urc3m\\",\\n \\"PaiflowNodeId\\": \\"node-5dzotrnwyzfxmbwwc8\\\\n\\",\\n \\"Creator\\": \\"13266*******76250\\",\\n \\"Status\\": \\"Succeeded\\",\\n \\"GmtCreateTime\\": \\"2021-01-21T17:12:35.232Z\\",\\n \\"Arguments\\": \\"---\\\\narguments:\\\\n parameters:\\\\n - name: \\\\\\"execution_maxcompute\\\\\\"\\\\n value:\\\\n endpoint: \\\\\\"http://service.cn-shanghai.maxcompute.aliyun.com/api\\\\\\"\\\\n odpsProject: \\\\\\"xxxxxxx\\\\\\"\\"\\n}","type":"json"}]', + ], + 'ListJobs' => [ + 'summary' => '获取作业详情', + 'path' => '/api/v1/jobs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '14206', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-8up80bg0k1q23stml6', + ], + ], + [ + 'name' => 'Creator', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '13266*******76250', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => 'ASC', + 'DESC' => 'DESC', + ], + 'example' => 'DESC', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Jobs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-4x4iv3a9enuxw4vgka', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '94436', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'job-mewqhd72nsrqujn1px', + ], + 'ExecuteType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EXECUTE_ALL', + ], + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nodeId1', + ], + 'RunId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'flow-aayfouai80i980ncvz', + ], + 'PaiflowNodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'node-xdfasf8ewxfdaddl', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17677*******89598', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Running', + ], + 'GmtCreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-21T17:12:35.232Z', + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Jobs\\": [\\n {\\n \\"ExperimentId\\": \\"draft-4x4iv3a9enuxw4vgka\\",\\n \\"WorkspaceId\\": \\"94436\\",\\n \\"JobId\\": \\"job-mewqhd72nsrqujn1px\\",\\n \\"ExecuteType\\": \\"EXECUTE_ALL\\",\\n \\"NodeId\\": \\"nodeId1\\",\\n \\"RunId\\": \\"flow-aayfouai80i980ncvz\\",\\n \\"PaiflowNodeId\\": \\"node-xdfasf8ewxfdaddl\\",\\n \\"Creator\\": \\"17677*******89598\\",\\n \\"Status\\": \\"Running\\",\\n \\"GmtCreateTime\\": \\"2021-01-21T17:12:35.232Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'StopJob' => [ + 'summary' => '停止一个实验的作业', + 'path' => '/api/v1/jobs/{JobId}/stop', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '14209', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job-i4vmjfsv5i1kowo4ih', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '431C53C4-BDD0-588F-8081-4437B00852B5', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"431C53C4-BDD0-588F-8081-4437B00852B5\\"\\n}","type":"json"}]', + ], + 'StopExperiment' => [ + 'summary' => '停止实验所有运行中的作业', + 'path' => '/api/v1/experiments/{ExperimentId}/stop', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '14236', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-i1udvvwm2rlvxug29n', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', + ], + 'CreateExperimentFolder' => [ + 'summary' => '创建算法文件夹', + 'path' => '/api/v1/experimentfolders', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '13799', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '45699', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Pipeline draft name', + ], + 'ParentFolderId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xxfdjhfxdfad', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PUBLIC', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E7C42CC7-2E85-508A-84F4-923B605FD10F', + ], + 'FolderId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'folder-xxfdjhfxduxd', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7C42CC7-2E85-508A-84F4-923B605FD10F\\",\\n \\"FolderId\\": \\"folder-xxfdjhfxduxd\\"\\n}","type":"json"}]', + ], + 'UpdateExperimentFolder' => [ + 'summary' => '更新算法文件夹', + 'path' => '/api/v1/experimentfolders/{FolderId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '13802', + 'abilityTreeNodes' => [ + 'FEATURElearn1QDD9Y', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'folder1', + ], + 'ParentFolderId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xzf7t785nka4c2334', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'FolderId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-xzf7t785nka4ch7qce', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E7C42CC7-2E85-508A-84F4-923B605FD10F', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7C42CC7-2E85-508A-84F4-923B605FD10F\\"\\n}","type":"json"}]', + ], + 'GetExperimentFolderChildren' => [ + 'summary' => '获取算法文件夹下的内容', + 'path' => '/api/v1/experimentfolders/{FolderId}/children', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '13806', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'FolderId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-xzf7t7****ch7qce', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'OnlyFolder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'Accessibility', + 'in' => 'query', + 'schema' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PUBLIC', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'title' => '若FolderId为root,Accessibility为PRIVATE,这里代表私有根路径的所有者,默认为访问者自己', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '12345******13324', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + 'Items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'folder-xzf7t7****ch7qce', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dir', + ], + 'Icon' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'icon-folder', + ], + 'Empty' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'GmtCreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'format' => 'iso8601', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'format' => 'iso8601', + 'example' => '2021-01-30T12:51:33.028Z', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TotalCount\\": 23,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"folder-xzf7t7****ch7qce\\",\\n \\"Name\\": \\"Pipeline draft name\\",\\n \\"Type\\": \\"dir\\",\\n \\"Icon\\": \\"icon-folder\\",\\n \\"Empty\\": false,\\n \\"GmtCreateTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"GmtModifiedTime\\": \\"2021-01-30T12:51:33.028Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DeleteExperimentFolder' => [ + 'summary' => '删除算法文件夹', + 'path' => '/api/v1/experimentfolders/{FolderId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '13803', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'FolderId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xzf7t785nka4ch7qce', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F2D0392B-D749-5C48-A98A-3FAE5C9444A6', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2D0392B-D749-5C48-A98A-3FAE5C9444A6\\"\\n}","type":"json"}]', + ], + 'GetAlgorithmTree' => [ + 'summary' => '获取算法树', + 'path' => '/api/v1/algorithm/tree', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '19289', + 'abilityTreeNodes' => [ + 'FEATURElearnZAMNTS', + ], + ], + 'parameters' => [ + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'title' => '工作空间ID。指定工作空间ID后,将根据当前工作空间是否开通GPU资源对算法树结果进行过滤。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '46B59732-033F-5C96-9B15-1E05E7705548', + ], + 'Tree' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{'."\n" + .' "name": "Tensorflow",'."\n" + .' "nodeType": "algo",'."\n" + .' "icon": "yyyy",'."\n" + .' "metadata": {'."\n" + .' "provider": "pai",'."\n" + .' "identifier": "evaluate-tensorflow",'."\n" + .' "version": "v2",'."\n" + .' "signature": "49c9904dc177eb4d58f68915f35315b6fc6ee2db"'."\n" + .' },'."\n" + .' "doc": "http://www.aliyun.com/doc?id=11"'."\n" + .'}', + ], + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20210317101023', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46B59732-033F-5C96-9B15-1E05E7705548\\",\\n \\"Tree\\": [\\n {\\n \\"name\\": \\"Tensorflow\\",\\n \\"nodeType\\": \\"algo\\",\\n \\"icon\\": \\"yyyy\\",\\n \\"metadata\\": {\\n \\"provider\\": \\"pai\\",\\n \\"identifier\\": \\"evaluate-tensorflow\\",\\n \\"version\\": \\"v2\\",\\n \\"signature\\": \\"49c9904dc177eb4d58f68915f35315b6fc6ee2db\\"\\n },\\n \\"doc\\": \\"http://www.aliyun.com/doc?id=11\\"\\n }\\n ],\\n \\"Timestamp\\": \\"20210317101023\\"\\n}","type":"json"}]', + ], + 'GetAlgorithmDef' => [ + 'summary' => '获取算法定义', + 'path' => '/api/v1/algorithm/def', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '19291', + 'abilityTreeNodes' => [ + 'FEATURElearnZAMNTS', + ], + ], + 'parameters' => [ + [ + 'name' => 'Provider', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pai', + ], + ], + [ + 'name' => 'Identifier', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'logisticregression_binary', + ], + ], + [ + 'name' => 'AlgoVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'v1', + ], + ], + [ + 'name' => 'Signature', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5vqe4Sgtzw8E6opyK3HkK+nzYlY=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B4F16666-FD54-5D9D-A362-53A4C66692DF', + ], + 'Spec' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4F16666-FD54-5D9D-A362-53A4C66692DF\\",\\n \\"Spec\\": {}\\n}","type":"json"}]', + ], + 'ListRecentExperiments' => [ + 'summary' => '获取最近的实验', + 'path' => '/api/v1/recentexperiments', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '61667', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DESC', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Modified' => 'Modified', + 'Created' => 'Created', + ], + 'example' => 'Modified', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '86995', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Experiments' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-76p70ye0gwv3vbur55', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pipeline draft description', + ], + 'RecentGmtModifiedTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'ModifyCnt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '15821', + ], + 'WorkspaceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Workspace name', + ], + ], + ], + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Experiments\\": [\\n {\\n \\"ExperimentId\\": \\"draft-76p70ye0gwv3vbur55\\",\\n \\"Name\\": \\"Pipeline draft name\\",\\n \\"Description\\": \\"Pipeline draft description\\",\\n \\"RecentGmtModifiedTime\\": \\"2021-01-30T12:51:33.028Z\\",\\n \\"Source\\": \\"PaiStudio\\",\\n \\"ModifyCnt\\": 10,\\n \\"WorkspaceId\\": \\"15821\\",\\n \\"WorkspaceName\\": \\"Workspace name\\"\\n }\\n ],\\n \\"TotalCount\\": 23\\n}","type":"json"}]', + ], + 'ListTemplates' => [ + 'summary' => '获取PAI Studio中指定模板列表', + 'path' => '/api/v1/templates', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '14198', + 'abilityTreeNodes' => [ + 'FEATURElearnEACGUC', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'List', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'example' => 'types', + ], + ], + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'example' => 'template-tag-12345', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'example' => 'DESC', + ], + ], + [ + 'name' => 'TypeId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'example' => 'template-type-12345', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'TemplateType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Label', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + 'example' => '15', + ], + 'TemplateData' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Template' => [ + 'type' => 'object', + 'properties' => [ + 'TemplateId' => [ + 'type' => 'string', + 'example' => 'template-rbvg5wzljzjhc9ks92', + ], + 'Content' => [ + 'type' => 'string', + 'example' => '{}', + ], + 'Description' => [ + 'type' => 'string', + ], + 'Detail' => [ + 'type' => 'string', + ], + 'DocLink' => [ + 'type' => 'string', + 'example' => 'url://xxx', + ], + 'ImageLink' => [ + 'type' => 'string', + 'example' => 'url://xxx', + ], + 'Name' => [ + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'type' => 'string', + 'format' => 'iso8601', + ], + 'GmtModifiedTime' => [ + 'type' => 'string', + 'format' => 'iso8601', + ], + 'Creator' => [ + 'type' => 'string', + ], + 'Labels' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + ], + ], + ], + ], + 'TemplateTag' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + 'example' => 'PyTorch', + ], + 'TagId' => [ + 'type' => 'string', + 'example' => 'template-tag-rbvg5wzljzjhc9ks92', + ], + 'TypeId' => [ + 'type' => 'string', + 'example' => 'template-tag-type-rbvg5wzljzjhc9ks92', + ], + ], + ], + 'TemplateType' => [ + 'type' => 'object', + 'properties' => [ + 'TypeId' => [ + 'type' => 'string', + 'example' => 'templatetagtype-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'type' => 'string', + 'example' => '行业分类', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => null, + ], + 'GetTemplate' => [ + 'summary' => '获取PAI Studio中指定模板', + 'path' => '/api/v1/templates/{TemplateId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14197', + 'abilityTreeNodes' => [ + 'FEATURElearnP4ZCX3', + 'FEATURElearnEACGUC', + ], + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'example' => 'template-12345', + ], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'TemplateId' => [ + 'type' => 'string', + 'example' => 'template-12345', + ], + 'Name' => [ + 'type' => 'string', + ], + 'ImageLink' => [ + 'type' => 'string', + 'example' => 'URL://xxx', + ], + 'DocLink' => [ + 'type' => 'string', + 'example' => 'URL://xxx', + ], + 'Detail' => [ + 'type' => 'string', + ], + 'Description' => [ + 'type' => 'string', + ], + 'Content' => [ + 'type' => 'string', + 'example' => '{ "metadata": { "name": "实验名称", "id": "pai_exp_xxxdfafafasfa", "desc": "实验描述", }, "nodes": [ ], "edges": [ ], "globalParams": [ ], "globalSettings":[ ] }', + ], + 'SourceType' => [ + 'type' => 'string', + ], + 'SourceId' => [ + 'type' => 'string', + ], + 'TemplateType' => [ + 'type' => 'string', + ], + 'Labels' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => null, + ], + 'GetExperimentsStatistics' => [ + 'summary' => '获取实验的统计信息', + 'path' => '/api/v1/statistics/experiments', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '61666', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '123,345', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16381', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + ], + 'CreateCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Data\\": [\\n {\\n \\"WorkspaceId\\": \\"16381\\",\\n \\"TotalCount\\": 20,\\n \\"CreateCount\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetExperimentsUsersStatistics' => [ + 'summary' => '获取实验或文件夹所有者列表', + 'path' => '/api/v1/statistics/experimentsusers', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '92531', + 'abilityTreeNodes' => [ + 'FEATURElearn1QDD9Y', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F082BD0D-21E1-5F9B-81A0-AB07485B03CD', + ], + 'Users' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12345******67890', + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F082BD0D-21E1-5F9B-81A0-AB07485B03CD\\",\\n \\"Users\\": [\\n {\\n \\"UserId\\": \\"12345******67890\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'PreviewMCTable' => [ + 'summary' => '预览Maxcompute表数据', + 'path' => '/api/v1/datasources/maxcompute/tables/{TableName}/preview', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '14096', + 'abilityTreeNodes' => [ + 'FEATURElearnUEX4WU', + ], + ], + 'parameters' => [ + [ + 'name' => 'TableName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dwd_hb_user_fdsaf_hi', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'Partition', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pt=20240805', + ], + ], + [ + 'name' => 'Endpoint', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1000', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F082BD0D-21E1-5F9B-81A0-AB07485B03CD', + ], + 'Content' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F082BD0D-21E1-5F9B-81A0-AB07485B03CD\\",\\n \\"Content\\": [\\n [\\n \\"123\\"\\n ]\\n ]\\n}","type":"json"}]', + ], + 'GetMCTableSchema' => [ + 'summary' => '获取MaxCompute表schema', + 'path' => '/api/v1/datasources/maxcompute/tables/{TableName}/schema', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14093', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'TableName', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'table_name', + 'pattern' => '^([a-zA-Z][a-zA-Z0-9_]*\\.)?[a-zA-Z0-9_]+$', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Columns' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'column1', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'STRING', + ], + 'Preview' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123', + ], + ], + ], + ], + ], + 'PartitionColumns' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dt', + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"column1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"Preview\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"PartitionColumns\\": [\\n \\"dt\\"\\n ]\\n}","type":"json"}]', + ], + 'SearchMCTables' => [ + 'summary' => '搜索MaxCompute表', + 'path' => '/api/v1/datasources/maxcompute/tables', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '14091', + 'abilityTreeNodes' => [ + 'FEATURElearnUEX4WU', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'project.table_name_prefix', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + 'Tables' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'table_name', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E\\",\\n \\"Tables\\": [\\n \\"table_name\\"\\n ]\\n}","type":"json"}]', + ], + 'GetNodeInputSchema' => [ + 'summary' => '获取实验节点输入桩的输入表的格式', + 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/schema', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14196', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'experiment-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ff1f33b0-426a-46bb-bb30-4a5648058079', + ], + ], + [ + 'name' => 'InputId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'inputTable', + ], + ], + [ + 'name' => 'InputIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CEB07647-8A5D-56F1-8B99-361BCF51402F', + ], + 'ColNames' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'col1', + ], + ], + 'ColTypes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'STRING', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEB07647-8A5D-56F1-8B99-361BCF51402F\\",\\n \\"ColNames\\": [\\n \\"col1\\"\\n ],\\n \\"ColTypes\\": [\\n \\"STRING\\"\\n ]\\n}","type":"json"}]', + ], + 'GetExperimentVisualizationMeta' => [ + 'summary' => '查询实验的可视化meta', + 'path' => '/api/v1/experiments/{ExperimentId}/visualizationMeta', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '42908', + 'abilityTreeNodes' => [ + 'FEATURElearnUEX4WU', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'node_id1,node_id2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'A84A1282-D3E7-5198-9E8E-2AD09C78C6C1', + ], + 'VisualizationMeta' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'node_id1', + ], + 'NodeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Meta' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{'."\n" + .' "locations": [{'."\n" + .' "id": "result_table",'."\n" + .' "location": {'."\n" + .' "project": "mulan_test_pre_1",'."\n" + .' "endpoint": "http://service.cn.maxcompute.aliyun-inc.com/api",'."\n" + .' "table": "pai_temp_flow_qzkkjqic95olnrel1w_node_7hc1rdsa99gy2msbvc_visualizationTable"'."\n" + .' },'."\n" + .' "locationType": "MaxComputeTable"'."\n" + .' }],'."\n" + .' "components": [{'."\n" + .' "id": "histogram-chart",'."\n" + .' "dataId": "histogram_result"'."\n" + .' }],'."\n" + .' "dataInfos": [{'."\n" + .' "id": "histogram_result",'."\n" + .' "locationId": "result_table",'."\n" + .' "dataType": "json"'."\n" + .' }]'."\n" + .'}', + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A84A1282-D3E7-5198-9E8E-2AD09C78C6C1\\",\\n \\"VisualizationMeta\\": [\\n {\\n \\"NodeId\\": \\"node_id1\\",\\n \\"NodeName\\": \\"直方图_1\\",\\n \\"Meta\\": \\"{\\\\n\\\\t\\\\\\"locations\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"id\\\\\\": \\\\\\"result_table\\\\\\",\\\\n\\\\t\\\\t\\\\\\"location\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"project\\\\\\": \\\\\\"mulan_test_pre_1\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"endpoint\\\\\\": \\\\\\"http://service.cn.maxcompute.aliyun-inc.com/api\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"table\\\\\\": \\\\\\"pai_temp_flow_qzkkjqic95olnrel1w_node_7hc1rdsa99gy2msbvc_visualizationTable\\\\\\"\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\\\"locationType\\\\\\": \\\\\\"MaxComputeTable\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"components\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"id\\\\\\": \\\\\\"histogram-chart\\\\\\",\\\\n\\\\t\\\\t\\\\\\"dataId\\\\\\": \\\\\\"histogram_result\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"dataInfos\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"id\\\\\\": \\\\\\"histogram_result\\\\\\",\\\\n\\\\t\\\\t\\\\\\"locationId\\\\\\": \\\\\\"result_table\\\\\\",\\\\n\\\\t\\\\t\\\\\\"dataType\\\\\\": \\\\\\"json\\\\\\"\\\\n\\\\t}]\\\\n}\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'QueryExperimentVisualizationData' => [ + 'summary' => '查询实验的可视化数据', + 'path' => '/api/v1/experiments/{ExperimentId}/visualizationDataQuery', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '42909', + 'abilityTreeNodes' => [ + 'FEATURElearnUEX4WU', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'title' => 'experiment id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'title' => 'node id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'node-2dfd8xfjda', + ], + 'VisualizationDataIds' => [ + 'title' => 'dataId列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dataId1', + ], + 'required' => false, + ], + 'StartTime' => [ + 'title' => '开始时间,UTC 时间,日期格式 iso8601,闭区间,对流算法必选', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'EndTime' => [ + 'title' => '结束时间,UTC 时间,日期格式 iso8601,闭区间,对流算法必填', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-30T12:51:33.028Z', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FFB1D4B4-B253-540A-9B3B-AA711C48A1B7', + ], + 'VisualizationData' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'node-ux55ier8axzo2xelcc', + ], + 'DataId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dataId1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1,2,3,4,5', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FFB1D4B4-B253-540A-9B3B-AA711C48A1B7\\",\\n \\"VisualizationData\\": [\\n {\\n \\"NodeId\\": \\"node-ux55ier8axzo2xelcc\\",\\n \\"DataId\\": \\"dataId1\\",\\n \\"Data\\": \\"1,2,3,4,5\\",\\n \\"CreateTime\\": \\"2021-01-30T12:51:33.028Z\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetAlgoTree' => [ + 'summary' => '获取算法树', + 'path' => '/api/v1/algo/tree', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '13795', + 'abilityTreeNodes' => [ + 'FEATURElearnZAMNTS', + ], + ], + 'parameters' => [ + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '8CAA642F-EFEB-5F87-8F2F-ACD58B15FA03', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'example' => '[{}]', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8CAA642F-EFEB-5F87-8F2F-ACD58B15FA03\\",\\n \\"Data\\": [\\n {}\\n ]\\n}","type":"json"}]', + ], + 'ListNodeOutputs' => [ + 'summary' => '获取某个节点的输出模型列表', + 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/outputs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '14233', + 'abilityTreeNodes' => [ + 'FEATURElearnZNL1NN', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'node-5dzotrnwyzfxmbwwc8', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Outputs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Model', + ], + 'OutputId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'outputModel', + ], + 'OutputIndex' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Value' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{'."\n" + .' "table": "table_name",'."\n" + .' "locationType": "MaxComputeTable"'."\n" + .'}', + ], + 'NodeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'node1', + ], + 'AlgoName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'LocationType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MaxComputeTable', + ], + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Outputs\\": [\\n {\\n \\"DisplayName\\": \\"逻辑回归二分类-2-outputModel\\",\\n \\"Type\\": \\"Model\\",\\n \\"OutputId\\": \\"outputModel\\",\\n \\"OutputIndex\\": \\"0\\",\\n \\"Value\\": {\\n \\"name\\": \\"model_flow_wayrh3k605s7i51wey_node_7n3tstbuhr36t0ukiz_model\\",\\n \\"modelType\\": \\"OfflineModel\\",\\n \\"labelCol\\": \\"_c2\\",\\n \\"features\\": \\"pm10,so2,co,no2\\",\\n \\"gmtCreateTime\\": \\"2021-01-21T17:12:35.232Z\\",\\n \\"gmtModifiedTime\\": \\"2021-01-21T17:12:35.232Z\\",\\n \\"parameters\\": {\\n \\"epsilon\\": \\"0.000001\\",\\n \\"enableSparse\\": \\"false\\",\\n \\"regularizedLevel\\": \\"1\\",\\n \\"roleArn\\": \\"true\\",\\n \\"maxIter\\": \\"100\\",\\n \\"regularizedType\\": \\"None\\",\\n \\"generatePmml\\": \\"true\\"\\n }\\n },\\n \\"NodeName\\": \\"node1\\",\\n \\"AlgoName\\": \\"逻辑回归二分类\\",\\n \\"LocationType\\": \\"MaxComputeTable\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetNodeOutput' => [ + 'summary' => '获取某个节点的输出模型信息', + 'path' => '/api/v1/experiments/{ExperimentId}/nodes/{NodeId}/outputs/{OutputId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '14234', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'node-5dzotrnwyzfxmbwwc8', + ], + ], + [ + 'name' => 'OutputId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'outputId', + ], + ], + [ + 'name' => 'OutputIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '601FD8B1-78EB-5220-844C-92AC2EDAF7E1', + ], + 'NodeName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AlgoName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DisplayName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Model', + ], + 'Value' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{'."\n" + .' "name": "model_flow_wayrh3k605s7i51wey_node_7n3tstbuhr36t0ukiz_model",'."\n" + .' "modelType": "OfflineModel",'."\n" + .' "labelCol": "_c2",'."\n" + .' "features": "pm10,so2,co,no2",'."\n" + .' "gmtCreateTime": "2021-01-21T17:12:35.232Z",'."\n" + .' "gmtModifiedTime": "2021-01-21T17:12:35.232Z",'."\n" + .' "parameters": {'."\n" + .' "epsilon": "0.000001",'."\n" + .' "enableSparse": "false",'."\n" + .' "regularizedLevel": "1",'."\n" + .' "roleArn": "true",'."\n" + .' "maxIter": "100",'."\n" + .' "regularizedType": "None",'."\n" + .' "generatePmml": "true"'."\n" + .' }'."\n" + .'}', + ], + 'LocationType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MaxComputeTable', + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"601FD8B1-78EB-5220-844C-92AC2EDAF7E1\\",\\n \\"NodeName\\": \\"逻辑回归二分类-1\\",\\n \\"AlgoName\\": \\"逻辑回归二分类\\",\\n \\"DisplayName\\": \\"逻辑回归二分类-2-outputModel\\",\\n \\"Type\\": \\"Model\\",\\n \\"Value\\": {\\n \\"name\\": \\"model_flow_wayrh3k605s7i51wey_node_7n3tstbuhr36t0ukiz_model\\",\\n \\"modelType\\": \\"OfflineModel\\",\\n \\"labelCol\\": \\"_c2\\",\\n \\"features\\": \\"pm10,so2,co,no2\\",\\n \\"gmtCreateTime\\": \\"2021-01-21T17:12:35.232Z\\",\\n \\"gmtModifiedTime\\": \\"2021-01-21T17:12:35.232Z\\",\\n \\"parameters\\": {\\n \\"epsilon\\": \\"0.000001\\",\\n \\"enableSparse\\": \\"false\\",\\n \\"regularizedLevel\\": \\"1\\",\\n \\"roleArn\\": \\"true\\",\\n \\"maxIter\\": \\"100\\",\\n \\"regularizedType\\": \\"None\\",\\n \\"generatePmml\\": \\"true\\"\\n }\\n },\\n \\"LocationType\\": \\"MaxComputeTable\\"\\n}","type":"json"}]', + ], + 'ListAuthRoles' => [ + 'summary' => '获取授权角色列表', + 'path' => '/api/v1/authorization/roles', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '21720', + 'abilityTreeNodes' => [ + 'FEATURElearnWUYTTV', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + ], + [ + 'name' => 'IsGenerateToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '8E2C1BB9-57C4-5051-9EF2-570ADC03A164', + ], + 'Roles' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AliyunODPSPAIDefaultRole', + ], + 'RoleARN' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'acs:ram::1557********904:role/aliyunodpspaidefaultrole', + ], + 'IsEnabled' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'Token' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SecurityToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CAISggJ1q6Ft5B2yf***************aAaDf+bmceH2MNtNe9XtmTXJytadQ2T0RT8uOA+4kSypOPxSHjdjmnQjbdA/Q9MyNtTErQ/m45RNsg==', + ], + 'AccessKeyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'STS.NU************TT5LoC', + ], + 'AccessKeySecret' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E1h2n66Duo1D**********c79JVk59R6i', + ], + 'Expiration' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-03-19T19:14:42Z', + ], + ], + ], + 'RoleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PaiStudio。', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8E2C1BB9-57C4-5051-9EF2-570ADC03A164\\",\\n \\"Roles\\": [\\n {\\n \\"RoleName\\": \\"AliyunODPSPAIDefaultRole\\",\\n \\"RoleARN\\": \\"acs:ram::1557********904:role/aliyunodpspaidefaultrole\\",\\n \\"IsEnabled\\": \\"true\\",\\n \\"Token\\": {\\n \\"SecurityToken\\": \\"CAISggJ1q6Ft5B2yf***************aAaDf+bmceH2MNtNe9XtmTXJytadQ2T0RT8uOA+4kSypOPxSHjdjmnQjbdA/Q9MyNtTErQ/m45RNsg==\\",\\n \\"AccessKeyId\\": \\"STS.NU************TT5LoC\\",\\n \\"AccessKeySecret\\": \\"E1h2n66Duo1D**********c79JVk59R6i\\",\\n \\"Expiration\\": \\"2021-03-19T19:14:42Z\\"\\n },\\n \\"RoleType\\": \\"PaiStudio。\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListImages' => [ + 'summary' => '列举已注册镜像', + 'path' => '/api/v1/images', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '20013', + 'abilityTreeNodes' => [ + 'FEATURElearnAFIS9K', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'title' => '镜像名称,支持模糊搜索', + 'type' => 'string', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'title' => '分页,从1开始,默认1', + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'title' => '页大小,默认20', + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'title' => '排序字段', + 'type' => 'string', + 'example' => 'GmtCreateTime', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'title' => '排序方向: ASC - 升序 DESC - 降序', + 'type' => 'string', + ], + ], + [ + 'name' => 'Labels', + 'in' => 'query', + 'schema' => [ + 'title' => '过滤值 以逗号分隔', + 'type' => 'string', + 'example' => 'Framework="Tensorflow 1.0",Framework="Tensorflow 2.0",Platform="GPU"', + ], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => [ + 'title' => '是否显示非必要信息:Labels', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'TotalCount' => [ + 'title' => '总数', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Images' => [ + 'title' => '镜像列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '镜像名称', + 'type' => 'string', + ], + 'GmtCreateTime' => [ + 'title' => '创建 UTC 时间,日期格式 iso8601', + 'type' => 'string', + 'example' => '2021-01-21T17:12:35.232Z', + ], + 'Description' => [ + 'title' => '镜像描述', + 'type' => 'string', + ], + 'ImageUri' => [ + 'title' => '镜像地址,包含版本号', + 'type' => 'string', + ], + 'Labels' => [ + 'title' => '镜像标签,是个map', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => 'Key', + 'type' => 'string', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + ], + ], + ], + ], + 'ImageId' => [ + 'title' => '镜像id', + 'type' => 'string', + 'example' => 'image-tzi7f9czc0cxs9s45t', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + 'ListImageLabels' => [ + 'summary' => '列举标签', + 'path' => '/api/v1/image/labels', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '20007', + 'abilityTreeNodes' => [ + 'FEATURElearnAFIS9K', + ], + ], + 'parameters' => [ + [ + 'name' => 'LabelKeys', + 'in' => 'query', + 'schema' => [ + 'title' => '标签列表,以逗号分隔', + 'type' => 'string', + 'example' => 'ImageType,Framework,Platform', + ], + ], + [ + 'name' => 'LabelFilter', + 'in' => 'query', + 'schema' => [ + 'title' => 'image过滤条件,获取满足条件的image的所有label', + 'type' => 'string', + 'example' => 'a=b,c=d', + ], + ], + [ + 'name' => 'ImageId', + 'in' => 'query', + 'schema' => [ + 'title' => '镜像id', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Labels' => [ + 'title' => '镜像标签', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '键', + 'type' => 'string', + ], + 'Value' => [ + 'title' => '值', + 'type' => 'string', + ], + ], + ], + ], + 'TotalCount' => [ + 'title' => '符合过滤条件的数量', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + 'MigrateExperiments' => [ + 'summary' => '迁移PAI Studio 1.0的实验', + 'path' => '/api/v1/migrate/experiments', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '93908', + 'abilityTreeNodes' => [ + 'FEATURElearn01UVDS', + ], + ], + 'parameters' => [ + [ + 'name' => 'SourceExpId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'DestFolderId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-12321313', + ], + ], + [ + 'name' => 'Accessibility', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PRIVATE', + ], + ], + [ + 'name' => 'UpdateIfExists', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'IsOwner', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E7C42CC7-2E85-508A-84F4-923B605FD10F', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NO_PERMISSION', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NotExistError', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'draft-8u3ck2or5pw2i4auhf', + ], + 'AlreadyExists' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Updated' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7C42CC7-2E85-508A-84F4-923B605FD10F\\",\\n \\"Code\\": \\"NO_PERMISSION\\",\\n \\"Message\\": \\"NotExistError\\",\\n \\"Data\\": {\\n \\"ExperimentId\\": \\"draft-8u3ck2or5pw2i4auhf\\",\\n \\"AlreadyExists\\": true,\\n \\"Updated\\": true\\n }\\n}","type":"json"}]', + ], + 'CreateExperimentMigrateValidation' => [ + 'summary' => '校验实验是否能迁移', + 'path' => '/api/v1/migrate/experimentvalidation', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '100051', + 'abilityTreeNodes' => [ + 'FEATURElearn01UVDS', + ], + ], + 'parameters' => [ + [ + 'name' => 'SourceExpId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '123', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', + ], + 'MigrateExperimentFolders' => [ + 'summary' => '迁移PAI Studio 1.0的实验目录 ', + 'path' => '/api/v1/migrate/folders', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '93906', + 'abilityTreeNodes' => [ + 'FEATURElearn01UVDS', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'IsOwner', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Accessibility', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PRIVATE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '9CFA2665-1FFE-5929-8468-C14C25890486', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NO_PERMISSION', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESS', + ], + 'FolderIdMapping' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'description' => '', + 'example' => '{'."\n" + .' "user1": {'."\n" + .' 123 :"draft-xxxx"'."\n" + .' }'."\n" + .'}', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CFA2665-1FFE-5929-8468-C14C25890486\\",\\n \\"Code\\": \\"NO_PERMISSION\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"FolderIdMapping\\": {\\n \\"key\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]', + ], + 'GetAlgorithmDefs' => [ + 'summary' => '批量获取算法定义', + 'path' => '/api/v1/algorithm/defs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '19292', + 'abilityTreeNodes' => [ + 'FEATURElearnZAMNTS', + ], + ], + 'parameters' => [ + [ + 'name' => 'Timestamp', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1709950208', + ], + ], + [ + 'name' => 'LatestTimestamp', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1709950208', + ], + ], + [ + 'name' => 'RangeStart', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'RangeEnd', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F082BD0D-21E1-5F9B-81A0-AB07485B03CD', + ], + 'Specs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'example' => '{}', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F082BD0D-21E1-5F9B-81A0-AB07485B03CD\\",\\n \\"Specs\\": [\\n {}\\n ]\\n}","type":"json"}]', + ], + ], + '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', + ], + ], +]; |
