feat(10.1-09): add /list command to Keyword Router
- Added 'list' route with same output as 'status' - Both /list and /status now show paginated container list - Provides user-expected /list command while leveraging existing functionality
This commit is contained in:
@@ -340,6 +340,29 @@
|
|||||||
},
|
},
|
||||||
"renameOutput": true,
|
"renameOutput": true,
|
||||||
"outputKey": "logs"
|
"outputKey": "logs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "keyword-list",
|
||||||
|
"conditions": {
|
||||||
|
"options": {
|
||||||
|
"caseSensitive": false,
|
||||||
|
"typeValidation": "loose"
|
||||||
|
},
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "contains-list",
|
||||||
|
"leftValue": "={{ $json.message.text }}",
|
||||||
|
"rightValue": "list",
|
||||||
|
"operator": {
|
||||||
|
"type": "string",
|
||||||
|
"operation": "contains"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"combinator": "and"
|
||||||
|
},
|
||||||
|
"renameOutput": true,
|
||||||
|
"outputKey": "status"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user