Skip to main content

DatasetAction

Shared request and response schema. Request: Dataset write step accepted in an action chain. Its edits run against one dataset in a single write. Only actions can contain this step; reactions cannot. Response: Dataset write step returned in an action chain. Its edits run against one dataset in a single write. Only actions can contain this step; reactions cannot.

each object

A list path in the payload the body repeats over — context.rows for an ontology condition, context.parameters.<name> for an Action's many row parameter

anyOf
string
on_failure object

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

anyOf
object

One chain action of the same kinds, selected by kind (ontology, dataset, function, or notification). A fallback action cannot have its own on_failure.

kindKind (string)required
Constant value: dataset
edits object[]required

Row edits compiled into one Delta MERGE

Possible values: >= 1

  • Array [
  • opOp (string)required

    Possible values: [upsert, update, delete]

    values object

    Row values, including the dataset's key columns

    property name*any

    Row values, including the dataset's key columns

  • ]
  • DatasetAction
    {
    "each": "string",
    "on_failure": {},
    "kind": "dataset",
    "edits": [
    {
    "op": "upsert",
    "values": {}
    }
    ]
    }