跳到主要内容

检索顶点顺序

已弃用

此端点已弃用,可能会在 API 的未来版本中移除。

检索给定流程的顶点顺序。

参数: flow_id (str): 流程 ID。 background_tasks (BackgroundTasks): 后台任务。 data (Optional[FlowDataRequest], optional): 流程数据。默认为 None。 stop_component_id (str, optional): 停止组件 ID。默认为 None。 start_component_id (str, optional): 开始组件 ID。默认为 None。 session (AsyncSession, optional): 会话依赖。

返回值: VerticesOrderResponse: 包含排序后的顶点 ID 和运行 ID 的响应。

抛出: HTTPException: 如果检查构建状态时出错。

路径参数
flow_id uuid 必需
查询参数
data 数据
stop_component_id 停止组件 ID
start_component_id 开始组件 ID
响应
200

成功响应

模式 可选
ids string[]
run_id uuid
vertices_to_run string[]
422

验证错误

模式 可选
detail object[] 可选
loc undefined[]
msg 消息
type 错误类型
Search