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/zh_cn/paistudio/2021-02-02 | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/zh_cn/paistudio/2021-02-02')
| -rw-r--r-- | data/zh_cn/paistudio/2021-02-02/api-docs.php | 4936 |
1 files changed, 4936 insertions, 0 deletions
diff --git a/data/zh_cn/paistudio/2021-02-02/api-docs.php b/data/zh_cn/paistudio/2021-02-02/api-docs.php new file mode 100644 index 0000000..9a31a5a --- /dev/null +++ b/data/zh_cn/paistudio/2021-02-02/api-docs.php @@ -0,0 +1,4936 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'PaiStudio', + 'version' => '2021-02-02', + ], + 'directories' => [ + [ + 'id' => 197103, + 'title' => '工作流草稿', + 'type' => 'directory', + 'children' => [ + 'CreateExperiment', + 'CopyExperiment', + 'UpdateExperimentMeta', + 'UpdateExperimentContent', + 'PublishExperiment', + 'GetExperiment', + 'GetExperimentMeta', + 'GetExperimentStatus', + 'DeleteExperiment', + 'ListExperiments', + ], + ], + [ + 'id' => 197114, + 'title' => '工作流草稿作业', + 'type' => 'directory', + 'children' => [ + 'CreateJob', + 'GetJob', + 'ListJobs', + 'StopJob', + 'StopExperiment', + ], + ], + [ + 'id' => 197111, + 'title' => '工作流草稿目录', + 'type' => 'directory', + 'children' => [ + 'CreateExperimentFolder', + 'UpdateExperimentFolder', + 'GetExperimentFolderChildren', + 'DeleteExperimentFolder', + ], + ], + [ + 'id' => 197169, + 'title' => '算法', + 'type' => 'directory', + 'children' => [ + 'GetAlgorithmTree', + 'GetAlgorithmDef', + ], + ], + [ + 'id' => 197189, + 'title' => '其它(未在目录中的文档)', + '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' => '创建PAI Designer工作流草稿。', + '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' => '工作流草稿所属文件夹ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-xfdafx093xxfd', + ], + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '84972', + ], + 'TemplateId' => [ + 'description' => '模板ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'template-xze5df2scrxxz', + ], + 'Options' => [ + 'description' => '工作流草稿选项。', + 'type' => 'string', + 'required' => false, + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '工作空间可见性,可能值为:'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '42F23B58-3684-5443-848A-8DA81FF99712', + ], + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"42F23B58-3684-5443-848A-8DA81FF99712\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\"\\n}","type":"json"}]', + 'title' => '创建工作流草稿', + ], + 'CopyExperiment' => [ + 'summary' => '复制PAI Designer工作流草稿。', + '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' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '实验名称,最大长度 128,可包含中英文', + 'description' => '复制后的工作流草稿名称,最大长度 128,可包含中英文。', + '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' => '复制后工作流草稿所属的的文件夹ID。该参数在调用[CreateExperimentFolder](~~2854071~~)创建工作流草稿文件夹后返回。', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-erwx872xuryx', + ], + 'WorkspaceId' => [ + 'title' => '实验创建的Workspace', + 'description' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '84972', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '工作流草稿的可见性,取值如下:'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PUBLIC' => 'PUBLIC', + 'PRIVATE' => 'PRIVATE', + ], + 'example' => 'PUBLIC', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ExperimentId', + 'in' => 'path', + 'schema' => [ + 'title' => '实验Id', + 'description' => '源工作流草稿ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '6D161C28-9CB1-584E-8DD5-64441E32A5B3', + ], + 'ExperimentId' => [ + 'description' => '复制生成的工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D161C28-9CB1-584E-8DD5-64441E32A5B3\\",\\n \\"ExperimentId\\": \\"draft-rbvg5wzljzjhc9ks92\\"\\n}","type":"json"}]', + 'title' => '复制工作流草稿', + ], + 'UpdateExperimentMeta' => [ + 'summary' => '更新PAI Designer工作流草稿的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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '请求Body。', + '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' => '工作流草稿更新后的所属的文件夹ID。'."\n" + .'* 如果该值不为空,将工作流草稿移动到该文件夹。'."\n" + .'* 如果为空,不移动。'."\n" + .'* 如果为root,且Accessibility为PUBILC,移动到公共根目录'."\n" + .'* 如果为root,且Accessibility为PRIVATE,移动到自己的根目录', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xfd782efd08wex', + ], + 'Options' => [ + 'description' => '工作流草稿选项。', + 'type' => 'string', + 'required' => false, + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '工作流草稿的可见性,取值如下:'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E\\"\\n}","type":"json"}]', + 'title' => '更新工作流草稿Meta', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-i1udvvwm2rlvxug29n', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '工作流草稿内容。', + 'type' => 'string', + 'required' => true, + 'example' => '{"metadata":{"name":"实验名称","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' => '请求ID。', + '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"}]', + 'title' => '更新工作流草稿的内容', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'FolderId' => [ + 'title' => '公共目录Id', + 'description' => '公共文件夹ID,root表示公共的根目录。', + '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' => '请求ID。', + '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"}]', + 'title' => '公开工作流草稿到工作空间', + ], + 'GetExperiment' => [ + 'summary' => '获取PAI Designer工作流草稿。', + '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' => '工作流草稿ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'DD405810-73C9-5721-996A-EA04BCC4BBF2', + ], + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'description' => '工作流草稿名称。', + 'type' => 'string', + 'example' => 'Pipeline Draft Name', + ], + 'Description' => [ + 'description' => '工作流草稿描述。', + 'type' => 'string', + 'example' => 'Pipeline Draft Description', + ], + 'GmtCreateTime' => [ + 'description' => '创建UTC时间,日期格式ISO8601。', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'description' => '工作流修改的UTC时间,日期格式ISO8601。', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Creator' => [ + 'description' => '创建人ID。', + 'type' => 'string', + 'example' => '13266*******76250', + ], + 'Source' => [ + 'description' => '工作流草稿来源。', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'Version' => [ + 'description' => '工作流草稿版本,每次更新内容版本会自增。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'example' => '23487', + ], + 'Content' => [ + 'description' => '工作流草稿内容,json格式。', + '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' => '工作流选项,json格式。', + 'type' => 'string', + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'description' => '工作空间可见性,可能值为:'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。', + '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"}]', + 'title' => '获取工作流草稿', + ], + 'GetExperimentMeta' => [ + 'summary' => '查询工作流草稿Meta。', + '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' => '工作流草稿ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'F2D0392B-D749-5C48-A98A-3FAE5C9444A6', + ], + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'description' => '工作流草稿名称。', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '工作流草稿描述。', + 'type' => 'string', + 'example' => 'Pipeline draft description', + ], + 'GmtCreateTime' => [ + 'description' => '创建UTC时间,时间格式为ISO8601。', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'description' => '工作流草稿修改 UTC 时间,日期格式ISO8601。', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Creator' => [ + 'description' => '创建人ID。', + 'type' => 'string', + 'example' => '1326****76250', + ], + 'Source' => [ + 'description' => '工作流草稿来源。', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'Version' => [ + 'description' => '工作流草稿版本,每次更新内容版本会自增。', + 'type' => 'string', + 'example' => '12', + ], + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'example' => '23487', + ], + 'Options' => [ + 'description' => '工作流草稿选项。', + 'type' => 'string', + 'example' => '{"mlflow":{"experimentId":"exp-1"}}', + ], + 'Accessibility' => [ + 'description' => '工作空间可见性,可能值为:'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。', + '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"}]', + 'title' => '查询工作流草稿Meta', + ], + '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' => '工作流草稿ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + 'Status' => [ + 'description' => '工作流草稿状态,目前有Stopped和Running两个状态:'."\n" + .'* Running:工作流草稿有运行中的作业。'."\n" + .'* Stopped:工作流草稿中没有运行中的作业。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Stopped' => 'Stopped', + 'Running' => 'Running', + ], + 'example' => 'Running', + ], + 'Nodes' => [ + 'description' => '工作流草稿中的节点状态。', + 'type' => 'array', + 'items' => [ + 'description' => '节点信息。', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'example' => 'id-2317-1608984201281-74996', + ], + 'JobId' => [ + 'description' => '该节点最近一次运行创建的工作流草稿作业ID。', + 'type' => 'string', + 'example' => 'job-mewqhd72nsrqujn1px', + ], + 'RunId' => [ + 'description' => '该节点最近一次运行创建的PaiFlow PipelineRun的ID。', + 'type' => 'string', + 'example' => 'flow-wayrh3k605s7i51wey', + ], + 'RunNodeId' => [ + 'description' => '该节点最近一次运行创建的PaiFlow PipelineRun中对应的节点ID。', + 'type' => 'string', + 'example' => 'node-6hc0eocnmzf4pk9njc', + ], + 'Status' => [ + 'description' => '任务状态,状态和paiflow中状态一致,目前状态有:'."\n" + .'* Initialized: 初始化完成'."\n" + .'* Starting:开始'."\n" + .'* WorkflowServiceStarting:准备提交'."\n" + .'* Running:运行中'."\n" + .'* Succeeded:运行成功'."\n" + .'* Failed:运行失败'."\n" + .'* Terminating:终止中'."\n" + .'* Terminated:已终止'."\n" + .'* Unknown:未知'."\n" + .'* Skipped:跳过(前序节点失败导致)'."\n" + .'* ReadyToSchedule:准备运行(前序节点未完成导致)', + '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"}]', + 'title' => '查询工作流草稿状态', + ], + 'DeleteExperiment' => [ + 'summary' => '删除PAI Designer工作流草稿。', + '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' => '工作流草稿ID。', + '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' => '请求ID。', + '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"}]', + 'title' => '删除工作流草稿', + ], + 'ListExperiments' => [ + 'summary' => '获取PAI Designer的工作流草稿列表。', + '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' => '列表的页码,默认值为1。', + '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' => '排列顺序:'."\n" + .'- DESC:降序。'."\n" + .'- ASC:升序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => 'ASC', + 'DESC' => 'DESC', + ], + 'example' => 'DESC', + ], + ], + [ + 'name' => 'ExperimentId', + 'in' => 'query', + 'schema' => [ + 'description' => '工作流草稿ID。', + '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' => '创建人的UID。', + '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' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '34875', + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'description' => '排序依据。'."\n" + .'* GmtCreate:创建时间。'."\n" + .'* GmtModified:更新时间。', + 'type' => 'string', + 'required' => false, + 'example' => 'GmtCreate', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9708FB85-232F-5F9A-9D67-7F9CCCE20E06', + ], + 'Experiments' => [ + 'description' => '工作流草稿列表。', + 'type' => 'array', + 'items' => [ + 'description' => '工作流草稿详情。', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'Name' => [ + 'description' => '工作流草稿名称。', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '工作流草稿描述。', + 'type' => 'string', + 'example' => 'Pipeline draft description', + ], + 'GmtCreateTime' => [ + 'description' => '工作流草稿创建 UTC 时间,日期格式ISO8601。', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'description' => '工作流草稿修改 UTC 时间,日期格式ISO8601。', + 'type' => 'string', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'Creator' => [ + 'description' => '工作流草稿创建者的UID。', + 'type' => 'string', + 'example' => '1326*******76250', + ], + 'Source' => [ + 'description' => '工作流草稿创建来源。', + 'type' => 'string', + 'example' => 'PaiStudio', + ], + 'Version' => [ + 'description' => '工作流草稿当前版本。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'example' => '23487', + ], + 'Accessibility' => [ + 'description' => '工作流草稿的可见性,取值如下:'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。', + '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"}]', + 'title' => '获取工作流草稿列表', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'draft-o1p0k444nlq3cd50zz'."\n", + ], + 'ExperimentId' => [ + 'title' => '工作流草稿Id,已经废弃,建议使用PipelineDraftId。', + 'description' => '工作流草稿ID,已经废弃,建议使用PipelineDraftId参数。', + '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' => '工作流节点ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'id-2d88-1608982098027-91558', + ], + 'Options' => [ + 'description' => '运行选项,json格式。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '85082123-2A3F-52E7-B27A-F04700B82FFB', + ], + 'JobId' => [ + 'description' => '工作流草稿作业ID。', + '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"}]', + 'title' => '创建工作流草稿作业', + ], + 'GetJob' => [ + 'summary' => '查询工作流草稿作业详细信息。', + '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' => '任务ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '18D5A1C6-14B8-545E-8408-0A7DDB4C6B5E', + ], + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'example' => '86995', + ], + 'JobId' => [ + 'description' => '作业ID。', + 'type' => 'string', + 'example' => 'job-6xfhrofqx93y139fg3'."\n", + ], + 'Snapshot' => [ + 'description' => '作业快照。', + 'type' => 'string', + 'example' => '{}', + ], + 'ExecuteType' => [ + 'description' => '执行的类型:'."\n" + .'- EXECUTE_ALL(运行工作流草稿中所有节点)'."\n" + .'- EXECUTE_ONE(执行指定节点)'."\n" + .'- EXECUTE_TO_HERE(从根节点执行到该节点)'."\n" + .'- EXECUTE_FROM_HERE(从指定的节点开始运行)'."\n" + .'- EXECUTE_CHILDREN(执行指定节点的下游节点)', + 'type' => 'string', + 'example' => 'EXECUTE_TO_HERE', + ], + 'NodeId' => [ + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'example' => 'id-xxxxx', + ], + 'RunInfo' => [ + 'description' => '该作业对应的Pipeline Run的Manifests。', + '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' => '对应的PaiFlow的Pipeline Run ID。', + 'type' => 'string', + 'example' => 'flow-lcs8ez11961l6urc3m', + ], + 'PaiflowNodeId' => [ + 'description' => 'PaiFlow中的Pipeline Run节点ID。', + 'type' => 'string', + 'example' => 'node-5dzotrnwyzfxmbwwc8'."\n", + ], + 'Creator' => [ + 'description' => '创建者用户ID。', + 'type' => 'string', + 'example' => '13266*******76250', + ], + 'Status' => [ + 'description' => '作业状态。取值:'."\n" + .'- Initialized: 初始化完成'."\n" + .'- Starting:开始'."\n" + .'- WorkflowServiceStarting:准备提交'."\n" + .'- Running:运行中'."\n" + .'- Succeeded:运行成功'."\n" + .'- Failed:运行失败'."\n" + .'- Terminating:终止中'."\n" + .'- Terminated:已终止'."\n" + .'- Unknown:未知'."\n" + .'- Skipped:跳过(前序节点失败导致)'."\n" + .'- ReadyToSchedule:准备运行(前序节点未完成导致)', + 'type' => 'string', + 'example' => 'Succeeded', + ], + 'GmtCreateTime' => [ + 'description' => '作业创建时间。', + 'type' => 'string', + 'example' => '2021-01-21T17:12:35.232Z', + ], + 'Arguments' => [ + 'description' => 'PaiFlow Pipeline Run的Arguments。', + '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"}]', + 'title' => '查询工作流草稿作业', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-8up80bg0k1q23stml6', + ], + ], + [ + 'name' => 'Creator', + 'in' => 'query', + 'schema' => [ + 'description' => '创建人的UID。', + 'type' => 'string', + 'required' => false, + 'example' => '13266*******76250', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'description' => '默认按创建时间排序,排列顺序:'."\n" + .'- DESC:降序。'."\n" + .'- ASC:升序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => 'ASC', + 'DESC' => 'DESC', + ], + 'example' => 'DESC', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '当前页码。默认值:1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '分页查询时每页的大小,默认为20。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Jobs' => [ + 'description' => '作业列表。', + 'type' => 'array', + 'items' => [ + 'description' => '作业详情。', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-4x4iv3a9enuxw4vgka', + ], + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'example' => '94436', + ], + 'JobId' => [ + 'description' => '任务 ID。', + 'type' => 'string', + 'example' => 'job-mewqhd72nsrqujn1px', + ], + 'ExecuteType' => [ + 'description' => '执行的类型:'."\n" + .'- EXECUTE_ALL(运行工作流草稿中所有节点)'."\n" + .'- EXECUTE_ONE(执行指定节点)'."\n" + .'- EXECUTE_TO_HERE(从根节点执行到该节点)'."\n" + .'- EXECUTE_FROM_HERE(从指定的节点开始运行)'."\n" + .'- EXECUTE_CHILDREN(执行指定节点的下游节点)', + 'type' => 'string', + 'example' => 'EXECUTE_ALL', + ], + 'NodeId' => [ + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'example' => 'nodeId1', + ], + 'RunId' => [ + 'description' => '对应的PaiFlow的Pipeline Run ID。', + 'type' => 'string', + 'example' => 'flow-aayfouai80i980ncvz', + ], + 'PaiflowNodeId' => [ + 'description' => 'PaiFlow中的Pipeline Run节点ID。', + 'type' => 'string', + 'example' => 'node-xdfasf8ewxfdaddl', + ], + 'Creator' => [ + 'description' => '创建人的UID。', + 'type' => 'string', + 'example' => '17677*******89598', + ], + 'Status' => [ + 'description' => '作业的状态,目前状态有:'."\n" + .'* Initialized: 初始化完成'."\n" + .'* Starting:开始'."\n" + .'* WorkflowServiceStarting:准备提交'."\n" + .'* Running:运行中'."\n" + .'* Succeeded:运行成功'."\n" + .'* Failed:运行失败'."\n" + .'* Terminating:终止中'."\n" + .'* Terminated:已终止'."\n" + .'* Unknown:未知'."\n" + .'* Skipped:跳过(前序节点失败导致)'."\n" + .'* ReadyToSchedule:准备运行(前序节点未完成导致)', + 'type' => 'string', + 'example' => 'Running', + ], + 'GmtCreateTime' => [ + 'description' => '创建时间,UTC 时间,日期格式 iso8601。', + '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"}]', + 'title' => '获取工作流草稿作业列表', + ], + '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' => '作业ID。', + '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' => '请求ID。', + '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"}]', + 'title' => '停止工作流草稿作业', + ], + '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' => '工作流草稿ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', + 'title' => '停止工作流草稿所有作业', + ], + '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' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '45699', + ], + 'Name' => [ + 'description' => '工作流草稿名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'Pipeline draft name', + ], + 'ParentFolderId' => [ + 'description' => '父文件夹ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xxfdjhfxdfad', + ], + 'Source' => [ + 'description' => '工作流草稿创建来源。', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + 'Accessibility' => [ + 'title' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + 'description' => '工作空间内可见性 PUBLIC; PRIVATE 默认PUBLIC', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'E7C42CC7-2E85-508A-84F4-923B605FD10F', + ], + 'FolderId' => [ + 'description' => '新建的文件夹的ID。', + 'type' => 'string', + 'example' => 'folder-xxfdjhfxduxd', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7C42CC7-2E85-508A-84F4-923B605FD10F\\",\\n \\"FolderId\\": \\"folder-xxfdjhfxduxd\\"\\n}","type":"json"}]', + 'title' => '创建工作流草稿文件夹', + ], + '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' => '请求Body。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '新的工作流草稿文件夹名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'folder1', + ], + 'ParentFolderId' => [ + 'description' => '新的文件夹父节点ID,为空表示不修改父目录。', + 'type' => 'string', + 'required' => false, + 'example' => 'folder-xzf7t785nka4c2334', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'FolderId', + 'in' => 'path', + 'schema' => [ + 'description' => '文件夹的ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'E7C42CC7-2E85-508A-84F4-923B605FD10F', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E7C42CC7-2E85-508A-84F4-923B605FD10F\\"\\n}","type":"json"}]', + 'title' => '更新工作流草稿文件夹', + ], + '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' => '要列出成员的父文件夹ID,假如是root表示是根目录。', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-xzf7t7****ch7qce', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '工作空间ID。', + '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' => '工作空间可见性,可能值为:'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。', + 'type' => 'string', + 'required' => false, + 'example' => 'PUBLIC', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'title' => '若FolderId为root,Accessibility为PRIVATE,这里代表私有根路径的所有者,默认为访问者自己', + 'description' => '若FolderId为root,Accessibility为PRIVATE,这里代表私有根路径的所有者,默认为访问者自己', + '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' => '请求ID。', + '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' => '工作流草稿或工作流草稿文件夹的ID。', + 'type' => 'string', + 'example' => 'folder-xzf7t7****ch7qce', + ], + 'Name' => [ + 'description' => '工作流草稿或工作流草稿文件夹的名称。', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Type' => [ + 'description' => '目前有两种类型:'."\n" + .'* pipelinedraft:工作流草稿'."\n" + .'* dir:工作流草稿文件夹', + 'type' => 'string', + 'example' => 'dir', + ], + 'Icon' => [ + 'description' => '工作流草稿或工作流草稿文件夹使用的图标,目前有icon-folder,icon-pipelinedraft。', + 'type' => 'string', + 'example' => 'icon-folder', + ], + 'Empty' => [ + 'description' => '是否为空。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'GmtCreateTime' => [ + 'title' => '创建时间', + 'description' => '创建时间,UTC 时间,日期格式 iso8601。', + 'type' => 'string', + 'format' => 'iso8601', + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'GmtModifiedTime' => [ + 'title' => '修改时间', + 'description' => '修改时间,UTC 时间,日期格式 iso8601。', + '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"}]', + 'title' => '获取工作流草稿文件夹下成员', + ], + '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' => '文件夹ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'F2D0392B-D749-5C48-A98A-3FAE5C9444A6', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2D0392B-D749-5C48-A98A-3FAE5C9444A6\\"\\n}","type":"json"}]', + 'title' => '删除工作流草稿文件夹', + ], + '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' => '获取指定源的算法列表,默认为PaiStudio。', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'title' => '工作空间ID。指定工作空间ID后,将根据当前工作空间是否开通GPU资源对算法树结果进行过滤。', + 'description' => '工作空间ID。指定工作空间ID后,将根据当前工作空间是否开通GPU资源对算法树结果进行过滤。', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + '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"}]', + 'title' => '获取算法树', + ], + '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' => '算法的提供者,官方算法为pai。', + 'type' => 'string', + 'required' => true, + 'example' => 'pai', + ], + ], + [ + 'name' => 'Identifier', + 'in' => 'query', + 'schema' => [ + 'description' => '算法的identifier。', + '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' => '算法的signature,假如为空会取最近的版本。', + 'type' => 'string', + 'required' => false, + 'example' => '49c9904dc177eb4d58f68915f35315b6fc6ee2db', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'B4F16666-FD54-5D9D-A362-53A4C66692DF', + ], + 'Spec' => [ + 'description' => '算法定义的Spec。', + 'type' => 'object', + 'example' => '{}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4F16666-FD54-5D9D-A362-53A4C66692DF\\",\\n \\"Spec\\": {}\\n}","type":"json"}]', + 'title' => '获取算法定义', + ], + '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' => '按修改时间排序,默认DESC:'."\n" + .'- DESC:降序。'."\n" + .'- ASC:升序。', + 'type' => 'string', + 'required' => false, + 'example' => 'DESC', + ], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => [ + 'description' => '工作流草稿创建来源。', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => '查询类型,目前有'."\n" + .' - Modified: 最近修改过的工作流草稿列表'."\n" + .' - Created:最近创建过的工作流草稿列表', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Modified' => 'Modified', + 'Created' => 'Created', + ], + 'example' => 'Modified', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'required' => false, + 'example' => '86995', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '分页查询时的页码,默认值为1。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '分页查询时每页的大小,默认为10。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Experiments' => [ + 'description' => '工作流草稿列表。', + 'type' => 'array', + 'items' => [ + 'description' => '工作流草稿详情。', + 'type' => 'object', + 'properties' => [ + 'ExperimentId' => [ + 'description' => '工作流草稿ID。', + 'type' => 'string', + 'example' => 'draft-76p70ye0gwv3vbur55', + ], + 'Name' => [ + 'description' => '工作流草稿名称。', + 'type' => 'string', + 'example' => 'Pipeline draft name', + ], + 'Description' => [ + 'description' => '工作流草稿描述。', + 'type' => 'string', + 'example' => 'Pipeline draft description', + ], + 'RecentGmtModifiedTime' => [ + 'description' => '该用户最近对工作流草稿的修改 UTC 时间,日期格式ISO8601。', + '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' => '工作空间ID。', + '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"}]', + 'title' => '获取最近的工作流草稿', + ], + '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' => '', + ], + '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' => '', + ], + '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' => '工作空间ID列表,多个ID间使用半角逗号(,)分隔。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'array', + 'items' => [ + 'description' => '工作空间统计信息。', + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => [ + 'description' => '工作空间ID。', + '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"}]', + 'title' => '统计工作空间中工作流草稿的数量', + 'description' => '统计工作空间中工作流草稿的数量。', + ], + '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' => '工作空间ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'F082BD0D-21E1-5F9B-81A0-AB07485B03CD', + ], + 'Users' => [ + 'description' => '用户列表。', + 'type' => 'array', + 'items' => [ + 'description' => '用户信息。', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'description' => '用户的UID。', + '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"}]', + 'title' => '统计创建了工作流草稿的用户', + ], + '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' => 'MaxCompute表名。', + 'type' => 'string', + 'required' => true, + 'example' => 'dwd_hb_user_fdsaf_hi', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'Partition', + 'in' => 'query', + 'schema' => [ + 'description' => 'MaxCompute表分区,可以为空。'."\n" + .'* 单分区:p1=123'."\n" + .'* 多级分区:p1=123/p2=456'."\n" + .'* 多个分区:p1=123,p1=456', + 'type' => 'string', + 'required' => false, + 'example' => 'pt=20240805', + ], + ], + [ + 'name' => 'Endpoint', + 'in' => 'query', + 'schema' => [ + 'description' => 'MaxCompute的Endpoint。', + 'type' => 'string', + 'required' => true, + 'example' => 'http://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '返回数量,返回行数,默认1000。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'F082BD0D-21E1-5F9B-81A0-AB07485B03CD', + ], + 'Content' => [ + 'description' => '预览的数据行列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据列表,每个colume一个数据。', + '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"}]', + 'title' => '预览MaxCompute表', + ], + 'GetMCTableSchema' => [ + 'summary' => '获取MaxCompute表的Scheme。', + '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' => 'MaxCompute表名。', + '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' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '响应结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Columns' => [ + 'description' => '列信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'MaxCompute表列。', + '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"}]', + 'title' => '获取MaxCompute表的Schema', + ], + 'SearchMCTables' => [ + 'summary' => '在当前工作空间关联的MaxCompute project中搜索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' => '工作空间ID。', + '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' => '请求ID。', + '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"}]', + 'title' => '搜索MaxCompute表', + ], + 'GetNodeInputSchema' => [ + 'summary' => '获取节点输入Schema。', + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'experiment-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'path', + 'schema' => [ + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ff1f33b0-426a-46bb-bb30-4a5648058079', + ], + ], + [ + 'name' => 'InputId', + 'in' => 'query', + 'schema' => [ + 'description' => '实验节点输入桩名称,若为空则获取整个节点合并后的Schema。', + 'type' => 'string', + 'required' => false, + 'example' => 'inputTable', + ], + ], + [ + 'name' => 'InputIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '可变桩时使用,标明是可变桩扩展的第几个桩,从 0 开始编号。', + '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' => '请求ID。', + '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"}]', + 'title' => '获取节点输入Schema', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'query', + 'schema' => [ + 'description' => '工作流草稿中的节点id列表,以英文逗号隔开,假如为空,则表示查询工作流草稿中的所有节点。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'A84A1282-D3E7-5198-9E8E-2AD09C78C6C1', + ], + 'VisualizationMeta' => [ + 'description' => '可视化Meta列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可视化信息。', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '节点ID。', + 'type' => 'string', + 'example' => 'node_id1', + ], + 'NodeName' => [ + 'description' => '节点名称。', + 'type' => 'string', + 'example' => '直方图_1', + ], + 'Meta' => [ + 'description' => '可视化数据Meta,json格式。', + '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"}]', + 'title' => '获取工作流草稿可视化的Meta', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '请求Body。', + 'type' => 'array', + 'items' => [ + 'description' => '可视化请求。', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'title' => 'node id', + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'node-2dfd8xfjda', + ], + 'VisualizationDataIds' => [ + 'title' => 'dataId列表', + 'description' => '需要查询的DataId列表,假如DataId为空,则返回该节点下所有的data数据。', + 'type' => 'array', + 'items' => [ + 'description' => '需要查询的DataId。', + 'type' => 'string', + 'required' => false, + 'example' => 'dataId1', + ], + 'required' => false, + ], + 'StartTime' => [ + 'title' => '开始时间,UTC 时间,日期格式 iso8601,闭区间,对流算法必选', + 'description' => '开始时间,UTC 时间,日期格式 iso8601,闭区间,对流算法必选。', + 'type' => 'string', + 'required' => false, + 'example' => '2021-01-30T12:51:33.028Z', + ], + 'EndTime' => [ + 'title' => '结束时间,UTC 时间,日期格式 iso8601,闭区间,对流算法必填', + 'description' => '结束时间,UTC 时间,日期格式 iso8601,闭区间,对流算法必填。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => 'FFB1D4B4-B253-540A-9B3B-AA711C48A1B7', + ], + 'VisualizationData' => [ + 'description' => '可视化数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可视化数据。', + 'type' => 'object', + 'properties' => [ + 'NodeId' => [ + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'example' => 'node-ux55ier8axzo2xelcc', + ], + 'DataId' => [ + 'description' => '可视化数据ID。', + 'type' => 'string', + 'example' => 'dataId1', + ], + 'Data' => [ + 'description' => '可视化数据。', + 'type' => 'string', + 'example' => '1,2,3,4,5', + ], + 'CreateTime' => [ + 'description' => '数据生成时间,UTC 时间,日期格式 iso8601。', + '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"}]', + 'title' => '获取工作流草稿可视化数据', + ], + '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' => '获取指定源的算法列表,默认为PaiStudio。', + 'type' => 'string', + 'required' => false, + 'example' => 'PaiStudio', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '响应结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + '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"}]', + 'title' => '获取算法树', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'path', + 'schema' => [ + 'description' => '工作流草稿中的节点ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + 'Outputs' => [ + 'description' => '节点的模型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '模型信息。', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => [ + 'description' => '模型名称,格式是{NodeName}-{outputId}。', + 'type' => 'string', + 'example' => '逻辑回归二分类-2-outputModel', + ], + 'Type' => [ + 'description' => '类型,有Model、DataSet。', + 'type' => 'string', + 'example' => 'Model', + ], + 'OutputId' => [ + 'description' => '算法节点输出端口id。', + 'type' => 'string', + 'example' => 'outputModel', + ], + 'OutputIndex' => [ + 'description' => '可变长节点的index,从0开始。', + 'type' => 'string', + 'example' => '0', + ], + 'Value' => [ + 'description' => 'Output的内容,不同Type的Output对应的key不一样。', + '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" + .'}', + ], + 'NodeName' => [ + 'description' => '节点名称。', + 'type' => 'string', + 'example' => 'node1', + ], + 'AlgoName' => [ + 'description' => '算法名称。', + 'type' => 'string', + 'example' => '逻辑回归二分类', + ], + 'LocationType' => [ + 'description' => '模型位置:'."\n" + .'* MaxComputeTable: MaxCompute表'."\n" + .'* OSS: OSS', + '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"}]', + 'title' => '获取节点的输出模型', + ], + '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' => '工作流草稿ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'draft-rbvg5wzljzjhc9ks92', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'path', + 'schema' => [ + 'description' => '工作流草稿中的节点ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'node-5dzotrnwyzfxmbwwc8', + ], + ], + [ + 'name' => 'OutputId', + 'in' => 'path', + 'schema' => [ + 'description' => '算法节点输出端口id。', + 'type' => 'string', + 'required' => true, + 'example' => 'outputId', + ], + ], + [ + 'name' => 'OutputIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '可变长节点的index,从0开始。', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '601FD8B1-78EB-5220-844C-92AC2EDAF7E1', + ], + 'NodeName' => [ + 'description' => '节点名称。', + 'type' => 'string', + 'example' => '逻辑回归二分类-1', + ], + 'AlgoName' => [ + 'description' => '算法名称。', + 'type' => 'string', + 'example' => '逻辑回归二分类', + ], + 'DisplayName' => [ + 'description' => '展示名称。', + 'type' => 'string', + 'example' => '逻辑回归二分类-2-outputModel', + ], + 'Type' => [ + 'description' => '类型,有Model、DataSet', + 'type' => 'string', + 'example' => 'Model', + ], + 'Value' => [ + 'description' => 'Output的内容,不同Type的Output对应的key不一样。', + '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' => '模型位置:'."\n" + .'* MaxComputeTable: MaxCompute表'."\n" + .'* OSS: OSS', + '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"}]', + 'title' => '获取某个节点的输出模型信息', + ], + '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' => '工作空间ID。', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + ], + [ + 'name' => 'IsGenerateToken', + 'in' => 'query', + 'schema' => [ + 'description' => '是否生成STS临时Token,已经废弃。', + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '响应结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + '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' => '角色的arn。', + 'type' => 'string', + 'example' => 'acs:ram::1557********904:role/aliyunodpspaidefaultrole', + ], + 'IsEnabled' => [ + 'description' => '角色是否可用。', + 'type' => 'string', + 'example' => 'true', + ], + 'Token' => [ + 'description' => '角色凭证信息,已经废弃。', + 'type' => 'object', + 'properties' => [ + 'SecurityToken' => [ + 'description' => 'STS生成security token。', + 'type' => 'string', + 'example' => 'CAISggJ1q6Ft5B2yf***************aAaDf+bmceH2MNtNe9XtmTXJytadQ2T0RT8uOA+4kSypOPxSHjdjmnQjbdA/Q9MyNtTErQ/m45RNsg==', + ], + 'AccessKeyId' => [ + 'description' => 'STS生成access id。', + 'type' => 'string', + 'example' => 'STS.NU************TT5LoC', + ], + 'AccessKeySecret' => [ + 'description' => 'STS生成access key。', + 'type' => 'string', + 'example' => 'E1h2n66Duo1D**********c79JVk59R6i', + ], + 'Expiration' => [ + 'description' => '过期时间。', + 'type' => 'string', + 'example' => '2021-03-19T19:14:42Z', + ], + ], + ], + 'RoleType' => [ + 'description' => 'Role的类型。', + '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"}]', + 'title' => '获取授权角色列表', + ], + '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' => '', + ], + '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' => '', + ], + 'MigrateExperiments' => [ + 'summary' => '从Studio 1.0迁移工作流草稿到Designer', + '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' => 'Studio1.0中的实验ID。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'description' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'DestFolderId', + 'in' => 'query', + 'schema' => [ + 'description' => '目标文件夹ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'folder-12321313', + ], + ], + [ + 'name' => 'Accessibility', + 'in' => 'query', + 'schema' => [ + 'description' => '工作空间可见性,可能值为:'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。', + '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' => '请求ID。', + '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' => '工作流草稿ID。', + '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"}]', + 'title' => '从Studio 1.0迁移工作流草稿到Designer', + ], + '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' => 'Studio1.0中的实验ID。', + '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' => '请求ID。', + 'type' => 'string', + 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', + 'title' => '创建工作流草稿迁移的校验', + ], + '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' => '工作空间ID。', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'IsOwner', + 'in' => 'query', + 'schema' => [ + 'description' => '是否只迁移自己的。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Accessibility', + 'in' => 'query', + 'schema' => [ + 'description' => '工作流草稿的可见性,取值如下:'."\n" + .'- PUBLIC:在此工作空间中,对所有人可见。'."\n" + .'- PRIVATE:在此工作空间中,仅对您和管理员可见。', + 'type' => 'string', + 'required' => false, + 'example' => 'PRIVATE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '响应结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9CFA2665-1FFE-5929-8468-C14C25890486', + ], + 'Code' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'NO_PERMISSION', + ], + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'SUCCESS', + ], + 'FolderIdMapping' => [ + 'description' => '迁移结果,返回值是一个Map,key是userId。', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'description' => 'Studio 1.0实验ID到工作流草稿ID的映射关系,key是实验ID,value是工作流草稿ID。', + '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"}]', + 'title' => '从Studio 1.0迁移工作流草稿目录', + ], + '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' => '当前已缓存的时间戳,会返回此时间戳到服务端最新时间戳之间的算法列表。'."\n" + .'不传直接返回全量的最新列表。', + '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' => '请求ID。', + '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"}]', + 'title' => '批量获取算法定义', + ], + ], + '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', + ], + ], +]; |
