Skip to main content

ReactionUpdate

Partial reaction update. Omitted fields keep their current values.

name object
anyOf
string
alias object
anyOf
string
collection_id object
anyOf
string

Possible values: non-empty

folder_id object
anyOf
string
tags object
anyOf
  • Array [
  • string
  • ]
  • description object
    anyOf
    string
    condition object
    anyOf
    kindrequired

    Possible values: [function, ontology, parent, time]

    languageLanguage (string)required
    Constant value: python
    codeCode (string)required

    Python function body executed by this action.

    scheduleSchedule (string)required

    Cron expression for evaluation cadence

    params object

    Bound parameters passed to the function

    property name*any

    Bound parameters passed to the function

    actions object
    anyOf
  • Array [
  • oneOf
    on_failure object

    Compensating action, run when this action raises. 1-depth only.

    anyOf
    kindrequired

    Possible values: [function, notification, ontology]

    on_failure object

    Compensating action, run when this action raises. 1-depth only.

    anyOf
    kind

    Possible values: [function, notification, ontology]

    languageLanguage (string)required
    Constant value: python
    codeCode (string)required

    Python function body executed by this action.

    params object

    Bound parameters passed to the function

    property name*any

    Bound parameters passed to the function

    kindKind (string)required
    Constant value: ontology
    target_idTarget Id (string)required

    EntityType.id or RelationType.id

    opOp (string)required

    Possible values: [upsert, delete]

    values objectrequired

    Row values for upsert / delete key

    property name*any

    Row values for upsert / delete key

  • ]
  • ReactionUpdate
    {
    "name": "string",
    "alias": "string",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "condition": {
    "kind": "ontology",
    "target_id": "string",
    "op": "added",
    "filter": {}
    },
    "actions": [
    {
    "kind": "ontology",
    "target_id": "string",
    "op": "upsert",
    "values": {}
    },
    {
    "on_failure": {
    "kind": "ontology",
    "target_id": "string",
    "op": "upsert",
    "values": {}
    },
    "kind": "function",
    "language": "python",
    "code": "string",
    "params": {}
    },
    {
    "channel": "pipeline",
    "type": "string",
    "collection": "string",
    "resource": "string",
    "message": "string",
    "payload": {},
    "recipients": {
    "users": [
    "string"
    ],
    "groups": [
    "string"
    ],
    "collection": "string",
    "broadcast": false
    },
    "on_failure": {
    "kind": "ontology",
    "target_id": "string",
    "op": "upsert",
    "values": {}
    },
    "kind": "notification"
    }
    ]
    }