文档
测试

更新flow

PUT
^api/flows/(?P<flow_id>\d+)$

请求参数

参数名
类型
描述
必填
conns
object
flow内部job间的关系
必填
source
number
源job_id
必填
target
number
目标job_id
必填
axis
object
flow内部job的信息
必填
id
number
job_id
必填
x
number
job横坐标
必填
y
number
job纵坐标
必填
is_redeploy
bool
是否重新调度
必填
description
string
flow描述
必填
commit_msg
string
git提交记录
必填

响应参数

参数名
类型
描述
必填
status
number
0:success,-1:failed
必填
message
string
success/fail reason
必填
data
object
数据字典
必填
id
number
flow_id
必填

project

参数名
类型
描述
必填
conns
array
数据列表
必填
source
number
示例:2100003025
必填
target
number
示例:714
必填
is_redeploy
boolean
示例:false
必填
commit_msg
string
示例:1
必填
description
string
示例:2
必填
axis
array
数据列表
必填
dep_flow
array
数据列表
必填
has_args
number
示例:0
必填
id
number
示例:714
必填
name
string
示例:lyf_test_1204
必填