본문으로 건너뛰기

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)
    kind필수

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

    languageLanguage (string)필수
    상수 값: python
    codeCode (string)필수

    Python function body executed by this action.

    scheduleSchedule (string)필수

    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)
    kind필수

    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)필수
    상수 값: python
    codeCode (string)필수

    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)필수
    상수 값: ontology
    target_idTarget Id (string)필수

    EntityType.id or RelationType.id

    opOp (string)필수

    Possible values: [upsert, delete]

    values object필수

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