list #
Lists available predicates.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/workflows/predicate
Method: GET
Other protocols #
{
"controller": "workflows/predicate",
"action": "list",
}
Kourou #
kourou workflows/predicate:list
Response #
Returns available predicates list.
{
"status": 200,
"error": null,
"action": "list",
"controller": "workflows/predicate",
"requestId": "<unique request identifier>",
"result": {
"predicates": [
{
"name": "weather-predicate",
"description": "Weather Predicate",
"args": {
"threshold": {
"type": "integer",
"description": "Temperature threshold",
"optional": false
}
}
}
]
}
}
Edit this page on Github(opens new window)