获取流程列表
GET
/api/v1/rules请求参数
Query 参数
size
integer
分页大小
示例值:
20
page
integer
当前页码
示例值:
1
keywords
string
搜索关键字
示例值:
test
disabled
boolean
可选
禁用/启用,如果空则查全部
示例值:
true
root
boolean
可选
是否根规则链,如果空则查全部
示例值:
true
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
total
integer
总数
size
integer
分页大小
page
integer
当前页码
items
array[object (流程DSL) {2}]
必需
ruleChain
object (流程基础信息)
规则链基础信息
metadata
object
节点列表
示例
{
"total": 62,
"items": [
{
"ruleChain": {
"id": "_EoCoqXJEi0zgRbp1H7LP",
"name": "全奕辰",
"debugMode": false,
"root": true,
"additionalInfo": {
"description": "天有整。种象当级少。场会亲。",
"layoutX": "enim culpa",
"layoutY": "laborum consequat est in",
"createTime": "2025-08-15 23:40:36",
"updateTime": "2024-06-28",
"username": "吾海燕"
}
},
"metadata": {
"endpoints": [
{
"id": "fdbZBZbAtuxZtxXosahuN",
"additionalInfo": {
"description": "反何节易带。个处处引位带。去打造话打上万计。才状边研设增往众区。正照并资数。及特者油王同十西业见。但运布治选件。具记品第大号。",
"layoutX": 31,
"layoutY": 96
},
"type": "nisi",
"name": "隆语桐",
"debugMode": true,
"configuration": {},
"processors": null,
"routers": [
{
"id": "1YyjjJqLJONv5gCr48DTR",
"params": [
"laboris nulla in aute ipsum"
],
"from": {
"path": "/var/mail",
"configuration": null,
"processors": [
"pariatur",
"deserunt id nulla",
"elit cupidatat in laboris aute"
]
},
"to": {
"path": "/sbin",
"configuration": null,
"wait": false,
"processors": [
"eiusmod mollit id tempor",
"et esse"
]
}
}
]
}
]
}
},
{
"ruleChain": {
"id": "1BQ8HpMm3NlZB7eP5Iqir",
"name": "栋开慧",
"debugMode": false,
"root": true,
"additionalInfo": {
"description": "在且边连器六。情周品六制队。容才片老情是市列史代。头任按点型存个边根交。例果老身。许期种精不然一。",
"layoutX": "magna et",
"layoutY": "ipsum reprehenderit est et",
"createTime": "2024-08-22 13:44:39",
"updateTime": "2025-04-05",
"username": "位梓睿"
}
},
"metadata": {
"endpoints": [
{
"id": "4VZNibJeD7dkEkGgYlaY_",
"additionalInfo": {
"description": "整出红严集话群直。为周只色加事候。想米参空立问资派发。成样等切非系识。",
"layoutX": 79,
"layoutY": 93
},
"type": "consequat",
"name": "查俊熙",
"debugMode": false,
"configuration": {},
"processors": null,
"routers": [
{
"id": "uAk2jbTErkSoXF9RQfzfz",
"params": [
"voluptate",
"ut"
],
"from": {
"path": "/opt/include",
"configuration": null,
"processors": [
"Duis proident consequat",
"consequat",
"deserunt magna culpa dolor"
]
},
"to": {
"path": "/rescue",
"configuration": null,
"wait": false,
"processors": [
"labore dolor Lorem esse irure"
]
}
}
]
},
{
"id": "0Rr0h7NPAtvHnqJyXhiMs",
"additionalInfo": {
"description": "子并线究半影。电们划实也联代。话所领家养改者法。很专话北还结。眼反金关。位部认组律便叫化半人。",
"layoutX": 15,
"layoutY": 68
},
"type": "in veniam ea ut",
"name": "赧熙成",
"debugMode": false,
"configuration": {},
"processors": null,
"routers": [
{
"id": "BS63iZ6vJsU8GK4EV8HjI",
"params": [
"ut",
"fugiat nulla ex",
"eu Excepteur"
],
"from": {
"path": "/etc/defaults",
"configuration": null,
"processors": [
"nulla consectetur ut dolor commodo",
"Lorem officia magna"
]
},
"to": {
"path": "/var",
"configuration": null,
"wait": false,
"processors": [
"ipsum culpa",
"dolore et ullamco ea",
"velit ut"
]
}
},
{
"id": "-aFjODDghjwYzPXXsLB7o",
"params": [
"adipisicing laborum",
"nostrud amet labore",
"id sunt"
],
"from": {
"path": "/dev",
"configuration": null,
"processors": [
"Excepteur nisi quis culpa nulla",
"non Excepteur consequat exercitation",
"esse"
]
},
"to": {
"path": "/Users",
"configuration": null,
"wait": false,
"processors": [
"ullamco esse dolor in est",
"consequat in"
]
}
},
{
"id": "K4rEu-ExOnO-2Tsicikk7",
"params": [
"enim aute eiusmod",
"qui"
],
"from": {
"path": "/dev",
"configuration": null,
"processors": [
"proident est dolore et tempor",
"ut ad"
]
},
"to": {
"path": "/Users",
"configuration": null,
"wait": true,
"processors": [
"Duis ex in"
]
}
}
]
}
]
}
}
]
}
最后修改时间: 21 天前