Skip to main content

OntologyTableResetResponse

Result of clearing an ontology table, including the affected resource and deleted row counts. Related query and graph surfaces may reflect the reset asynchronously.

messageMessage (string)
Default value: Ontology table reset accepted
resource_idResource Id (string)required
rows_deletedRows Deleted (integer)required

Possible values: >= 0

dependent_relation_rows_deletedDependent Relation Rows Deleted (integer)

Possible values: >= 0

Default value: 0
dependencies object[]
  • Array [
  • relation_id object

    Relation type identifier, or null when the dependent table is not associated with a relation type.

    anyOf
    string
    nameName (string)required

    RelationType name or schema-qualified table name

    roleRole (string)required

    How the relation depends on the EntityType

    Possible values: [source, target, source_target, unknown]

    rowsRows (integer)required

    Rows currently present in the relation table

    Possible values: >= 0

  • ]
  • OntologyTableResetResponse
    {
    "message": "Ontology table reset accepted",
    "resource_id": "string",
    "rows_deleted": 0,
    "dependent_relation_rows_deleted": 0,
    "dependencies": [
    {
    "relation_id": "string",
    "name": "string",
    "role": "source",
    "rows": 0
    }
    ]
    }