Official Plugins (Kuzzle v2.x)
Workflows v0.x
2

This plugin is part of the Kuzzle Enterprise Plan. If you are interested, please contact us.

list #

Lists available predicates.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/_/workflows/predicate
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "workflows/predicate",
  "action": "list",
}

Kourou #

Copied to clipboard!
kourou workflows/predicate:list

Response #

Returns available predicates list.

Copied to clipboard!
{
  "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
          }
        }
      }
    ]
  }
}