본문으로 건너뛰기

Op

Shared request and response schema. Request: One step of the ops list accepted in an ontology request. Set exactly one of where, traverse, union, intersect, subtract, or derive; direction, depth, to, and alias apply only with traverse. Response: One step of the ops list returned in a stored ontology request. Exactly one of where, traverse, union, intersect, subtract, or derive is set; direction, depth, to, and alias apply only with traverse.

where object
하나 이상(anyOf)
object
traverse object
하나 이상(anyOf)
string
direction object
하나 이상(anyOf)
string

Possible values: [out, in]

depth object
하나 이상(anyOf)
integer

Possible values: >= 1

to object
하나 이상(anyOf)
string
상수 값: link
alias object
하나 이상(anyOf)
string

Possible values: non-empty

union object
하나 이상(anyOf)
from object필수

Where a definition starts: one type (entity or relation) and, optionally, the rows to start from. anchors are {column: value} maps that name every key column of the type (compile checks); extra columns are only meaningful under upsert, where the anchor row is the row written.

entity object

EntityType id

하나 이상(anyOf)
string
relation object

RelationType id

하나 이상(anyOf)
string
anchors object

Start rows as {key column: value} maps

하나 이상(anyOf)
  • Array [
  • property name*any
  • ]
  • opsundefined[]
    caps object
    하나 이상(anyOf)
    depth object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    frontier_per_level object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_nodes object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_edges object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    intermediate object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    matching object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    pin object
    하나 이상(anyOf)
    txn object필수
    하나 이상(anyOf)
    integer
    versions object
    하나 이상(anyOf)
    object
    intersect object
    하나 이상(anyOf)
    from object필수

    Where a definition starts: one type (entity or relation) and, optionally, the rows to start from. anchors are {column: value} maps that name every key column of the type (compile checks); extra columns are only meaningful under upsert, where the anchor row is the row written.

    entity object

    EntityType id

    하나 이상(anyOf)
    string
    relation object

    RelationType id

    하나 이상(anyOf)
    string
    anchors object

    Start rows as {key column: value} maps

    하나 이상(anyOf)
  • Array [
  • property name*any
  • ]
  • opsundefined[]
    caps object
    하나 이상(anyOf)
    depth object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    frontier_per_level object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_nodes object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_edges object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    intermediate object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    matching object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    pin object
    하나 이상(anyOf)
    txn object필수
    하나 이상(anyOf)
    integer
    versions object
    하나 이상(anyOf)
    object
    subtract object
    하나 이상(anyOf)
    from object필수

    Where a definition starts: one type (entity or relation) and, optionally, the rows to start from. anchors are {column: value} maps that name every key column of the type (compile checks); extra columns are only meaningful under upsert, where the anchor row is the row written.

    entity object

    EntityType id

    하나 이상(anyOf)
    string
    relation object

    RelationType id

    하나 이상(anyOf)
    string
    anchors object

    Start rows as {key column: value} maps

    하나 이상(anyOf)
  • Array [
  • property name*any
  • ]
  • opsundefined[]
    caps object
    하나 이상(anyOf)
    depth object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    frontier_per_level object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_nodes object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_edges object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    intermediate object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    matching object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    pin object
    하나 이상(anyOf)
    txn object필수
    하나 이상(anyOf)
    integer
    versions object
    하나 이상(anyOf)
    object
    derive object
    하나 이상(anyOf)
    object
    Op
    {
    "where": {},
    "traverse": "string",
    "direction": "out",
    "depth": 0,
    "to": "link",
    "alias": "string",
    "union": {
    "from": {
    "entity": "string",
    "relation": "string",
    "anchors": [
    {}
    ]
    },
    "ops": [
    null
    ],
    "caps": {
    "depth": 0,
    "frontier_per_level": 0,
    "max_nodes": 0,
    "max_edges": 0,
    "intermediate": 0,
    "matching": 0
    },
    "pin": {
    "txn": 0,
    "versions": {}
    }
    },
    "intersect": {
    "from": {
    "entity": "string",
    "relation": "string",
    "anchors": [
    {}
    ]
    },
    "ops": [
    null
    ],
    "caps": {
    "depth": 0,
    "frontier_per_level": 0,
    "max_nodes": 0,
    "max_edges": 0,
    "intermediate": 0,
    "matching": 0
    },
    "pin": {
    "txn": 0,
    "versions": {}
    }
    },
    "subtract": {
    "from": {
    "entity": "string",
    "relation": "string",
    "anchors": [
    {}
    ]
    },
    "ops": [
    null
    ],
    "caps": {
    "depth": 0,
    "frontier_per_level": 0,
    "max_nodes": 0,
    "max_edges": 0,
    "intermediate": 0,
    "matching": 0
    },
    "pin": {
    "txn": 0,
    "versions": {}
    }
    },
    "derive": {}
    }