1.38. # GET api/machinelearning/polling¶
轮询接口
## 参数
名称 | 类型 | 是否必传 | 备注 |
————– | —– | ——– | ——————————————————————————————————————————————————————————————————————————– |
current_userid | int | Y | 当前登录用户ID |
nodes | array | Y | 机器学习节点集合,普通配置请参考普通工作流中 添加工作流 的配置说明;特殊配置为机器学习节点多出InputArgs配置,每个节点的输入参数说明请参考算法文档 Algorithm |
edges | array | Y | 工作流边集合,包含src_node_id、src_output_idx、dst_node_id、dst_input_idx、id |
## 返回
名称 | 类型 | 是否必传 | 备注 |
——– | —– | —- | ——|
action_id | array | Y | 节点ID集合,int数组 |
action_status | array | Y | 节点状态集合,int数组,与ID集合一一对应 |