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 #

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
          }
        }
      }
    ]
  }
}