For the complete documentation index, see llms.txt. This page is also available as Markdown.

Runtime Schemas

Operations related to Runtime Schemas, the GraphQL SDL configurations that define the data model of a Datamart, specifying which objects and fields are stored, structured, and indexed for querying. Indexed fields can be used in OTQL queries and segment building, while non-indexed fields remain stored but not queryable. Schema changes can be applied with historical data reindexing.

Relevant documentation:

Validate runtime schema

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/validation
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to validate.

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/validation
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/validation HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "datamart_id": "text",
    "schema_id": "text",
    "tree_index_operations": [
      {
        "datamart_id": "text",
        "index_selection_id": "text",
        "error_code": "INDEX_JOB_STILL_RUNNING",
        "error_message": "text"
      }
    ],
    "schema_errors": [
      {
        "error_code": "COMPILATION_ERROR",
        "error_message": "text"
      }
    ]
  }
}

Get scalar field

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
scalar_field_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "cloned_from": "text",
    "input_mapping": {
      "type": "DATA_WAREHOUSE",
      "data_warehouse_column_id": "text"
    },
    "field_name": "text",
    "optional": false,
    "primary_key": false,
    "id": "text",
    "tree_index_data_type": "TEXT",
    "foreign_key": {
      "type": "FIELD_NAME",
      "field_name": "text"
    },
    "mappings": [
      {
        "json_path": "text",
        "mapping_group_id": "text"
      }
    ],
    "field_type": "text",
    "tree_index": {
      "id": "text",
      "name": "text"
    },
    "reference_table": {
      "id": "text",
      "type": "CORE_OBJECT",
      "model_type": "text"
    },
    "list": false,
    "predefined": false
  }
}

Update scalar field

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
scalar_field_idstringRequired
Body
cloned_fromstringOptional
field_namestringRequired
optionalbooleanRequiredDefault: false
primary_keybooleanRequiredDefault: false
idstringRead-onlyOptional
tree_index_data_typestring · enumOptionalPossible values:
field_typestringRequired
listbooleanRequiredDefault: false
predefinedbooleanRead-onlyRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 388

{
  "cloned_from": "text",
  "input_mapping": {
    "type": "DATA_WAREHOUSE",
    "data_warehouse_column_id": "text"
  },
  "field_name": "text",
  "optional": false,
  "primary_key": false,
  "tree_index_data_type": "TEXT",
  "foreign_key": {
    "type": "FIELD_NAME",
    "field_name": "text"
  },
  "field_type": "text",
  "tree_index": {
    "id": "text",
    "name": "text"
  },
  "reference_table": {
    "id": "text",
    "type": "CORE_OBJECT",
    "model_type": "text"
  },
  "list": false
}
{
  "status": "ok",
  "data": {
    "cloned_from": "text",
    "input_mapping": {
      "type": "DATA_WAREHOUSE",
      "data_warehouse_column_id": "text"
    },
    "field_name": "text",
    "optional": false,
    "primary_key": false,
    "id": "text",
    "tree_index_data_type": "TEXT",
    "foreign_key": {
      "type": "FIELD_NAME",
      "field_name": "text"
    },
    "mappings": [
      {
        "json_path": "text",
        "mapping_group_id": "text"
      }
    ],
    "field_type": "text",
    "tree_index": {
      "id": "text",
      "name": "text"
    },
    "reference_table": {
      "id": "text",
      "type": "CORE_OBJECT",
      "model_type": "text"
    },
    "list": false,
    "predefined": false
  }
}

Delete scalar field

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
scalar_field_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields/{scalar_field_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get object tree

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Query parameters
field_ref_formatstring · enumOptionalPossible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "input_stream_configs": [
      {
        "working_table_name": "text",
        "strategy": {
          "type": "MODIFIED_TS",
          "ts_column": "text",
          "from": 0,
          "unit": "SECOND"
        },
        "data_warehouse_table_id": "text",
        "object_type_definition_id": "text",
        "use_processing_pipeline": false,
        "document_import_id": "text",
        "scheduling": {
          "type": "FREQUENCY",
          "start_hour": 0,
          "unit": "MINUTE",
          "time_zone": "text",
          "end_hour": 0,
          "value": 0
        }
      }
    ],
    "relation_cardinality": "ONE_TO_ONE",
    "relation_name": "text",
    "data_source_type": "DATA_WAREHOUSE",
    "data_warehouse_id": "text",
    "channel_source": {
      "type": "STATIC",
      "id": "text",
      "channel_id": "text"
    },
    "computed_field_technical_name": "text",
    "data_warehouse_live_ingestion_config": {
      "id": "text",
      "datamart_id": "text",
      "name": "text",
      "status": "WAITING_FOR_TABLE_CREATION",
      "object_tree_id": "text",
      "creation_ts": 0,
      "bucket_name": "text",
      "data_warehouse_id": "text"
    },
    "description": "text",
    "cloned_from": "text",
    "name": "text",
    "datamart_schema_id": "text",
    "object_type_definition": {
      "input_mapping_path": "text",
      "update_value_object": false,
      "object_name": "text",
      "id": "text",
      "relationships": [
        {
          "relation_name": "text",
          "cloned_from": "text",
          "cardinality": "ONE_TO_ONE",
          "id": "text",
          "child": {
            "input_mapping_path": "text",
            "update_value_object": false,
            "object_name": "text",
            "id": "text",
            "relationships": "[Circular Reference]",
            "cloned_from": "text",
            "mappings": [
              {
                "table_id": "text",
                "mapping_group_id": "text"
              }
            ],
            "fields": [
              {
                "cloned_from": "text",
                "input_mapping": {
                  "type": "DATA_WAREHOUSE",
                  "data_warehouse_column_id": "text"
                },
                "field_name": "text",
                "optional": false,
                "primary_key": false,
                "id": "text",
                "tree_index_data_type": "TEXT",
                "foreign_key": {
                  "type": "FIELD_NAME",
                  "field_name": "text"
                },
                "mappings": [
                  {
                    "json_path": "text",
                    "mapping_group_id": "text"
                  }
                ],
                "field_type": "text",
                "tree_index": {
                  "id": "text",
                  "name": "text"
                },
                "reference_table": {
                  "id": "text",
                  "type": "CORE_OBJECT",
                  "model_type": "text"
                },
                "list": false,
                "predefined": false
              }
            ],
            "input_mapping_table": "text",
            "input_mapping_column": "text"
          }
        }
      ],
      "cloned_from": "text",
      "mappings": [
        {
          "table_id": "text",
          "mapping_group_id": "text"
        }
      ],
      "fields": [
        {
          "cloned_from": "text",
          "input_mapping": {
            "type": "DATA_WAREHOUSE",
            "data_warehouse_column_id": "text"
          },
          "field_name": "text",
          "optional": false,
          "primary_key": false,
          "id": "text",
          "tree_index_data_type": "TEXT",
          "foreign_key": {
            "type": "FIELD_NAME",
            "field_name": "text"
          },
          "mappings": [
            {
              "json_path": "text",
              "mapping_group_id": "text"
            }
          ],
          "field_type": "text",
          "tree_index": {
            "id": "text",
            "name": "text"
          },
          "reference_table": {
            "id": "text",
            "type": "CORE_OBJECT",
            "model_type": "text"
          },
          "list": false,
          "predefined": false
        }
      ],
      "input_mapping_table": "text",
      "input_mapping_column": "text"
    },
    "user_identifiers": [
      {
        "id": "text",
        "main": false,
        "realm_id": "text",
        "location": {
          "type": "COLUMN_LOCATION",
          "column_id": "text"
        },
        "identifier_type": "EMAIL_HASH"
      }
    ],
    "event_name": {
      "type": "STATIC",
      "id": "text",
      "event_name": "text"
    },
    "object_tree_type": "Custom",
    "activity_type": "TOUCH"
  }
}

Get object types

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
idstringRead-onlyRequired
relation_cardinalitystring · enumRequiredPossible values:
relation_namestringRequired
data_source_typestring · enumRequiredPossible values:
data_warehouse_idstringOptional
computed_field_technical_namestringOptional
descriptionstringRequired
cloned_fromstringOptional
namestringRequired
datamart_schema_idstringRequired
object_tree_typestring · enumRequiredPossible values:
activity_typestring · enumOptionalPossible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 2308

{
  "input_stream_configs": [
    {
      "strategy": {
        "type": "MODIFIED_TS",
        "ts_column": "text",
        "from": 0,
        "unit": "SECOND"
      },
      "data_warehouse_table_id": "text",
      "object_type_definition_id": "text",
      "use_processing_pipeline": false,
      "scheduling": {
        "type": "FREQUENCY",
        "start_hour": 0,
        "unit": "MINUTE",
        "end_hour": 0,
        "value": 0
      }
    }
  ],
  "relation_cardinality": "ONE_TO_ONE",
  "relation_name": "text",
  "data_source_type": "DATA_WAREHOUSE",
  "data_warehouse_id": "text",
  "channel_source": {
    "type": "STATIC",
    "channel_id": "text"
  },
  "computed_field_technical_name": "text",
  "data_warehouse_live_ingestion_config": {
    "datamart_id": "text",
    "name": "text",
    "status": "WAITING_FOR_TABLE_CREATION",
    "object_tree_id": "text",
    "bucket_name": "text",
    "data_warehouse_id": "text"
  },
  "description": "text",
  "cloned_from": "text",
  "name": "text",
  "datamart_schema_id": "text",
  "object_type_definition": {
    "input_mapping_path": "text",
    "update_value_object": false,
    "object_name": "text",
    "relationships": [
      {
        "relation_name": "text",
        "cloned_from": "text",
        "cardinality": "ONE_TO_ONE",
        "child": {
          "input_mapping_path": "text",
          "update_value_object": false,
          "object_name": "text",
          "relationships": [
            "[Circular Reference]"
          ],
          "cloned_from": "text",
          "fields": [
            {
              "cloned_from": "text",
              "input_mapping": {
                "type": "DATA_WAREHOUSE",
                "data_warehouse_column_id": "text"
              },
              "field_name": "text",
              "optional": false,
              "primary_key": false,
              "tree_index_data_type": "TEXT",
              "foreign_key": {
                "type": "FIELD_NAME",
                "field_name": "text"
              },
              "field_type": "text",
              "tree_index": {
                "id": "text",
                "name": "text"
              },
              "reference_table": {
                "id": "text",
                "type": "CORE_OBJECT",
                "model_type": "text"
              },
              "list": false
            }
          ],
          "input_mapping_table": "text",
          "input_mapping_column": "text"
        }
      }
    ],
    "cloned_from": "text",
    "fields": [
      {
        "cloned_from": "text",
        "input_mapping": {
          "type": "DATA_WAREHOUSE",
          "data_warehouse_column_id": "text"
        },
        "field_name": "text",
        "optional": false,
        "primary_key": false,
        "tree_index_data_type": "TEXT",
        "foreign_key": {
          "type": "FIELD_NAME",
          "field_name": "text"
        },
        "field_type": "text",
        "tree_index": {
          "id": "text",
          "name": "text"
        },
        "reference_table": {
          "id": "text",
          "type": "CORE_OBJECT",
          "model_type": "text"
        },
        "list": false
      }
    ],
    "input_mapping_table": "text",
    "input_mapping_column": "text"
  },
  "user_identifiers": [
    {
      "main": false,
      "realm_id": "text",
      "location": {
        "type": "COLUMN_LOCATION",
        "column_id": "text"
      },
      "identifier_type": "EMAIL_HASH"
    }
  ],
  "event_name": {
    "type": "STATIC",
    "event_name": "text"
  },
  "object_tree_type": "Custom",
  "activity_type": "TOUCH"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "input_stream_configs": [
      {
        "working_table_name": "text",
        "strategy": {
          "type": "MODIFIED_TS",
          "ts_column": "text",
          "from": 0,
          "unit": "SECOND"
        },
        "data_warehouse_table_id": "text",
        "object_type_definition_id": "text",
        "use_processing_pipeline": false,
        "document_import_id": "text",
        "scheduling": {
          "type": "FREQUENCY",
          "start_hour": 0,
          "unit": "MINUTE",
          "time_zone": "text",
          "end_hour": 0,
          "value": 0
        }
      }
    ],
    "relation_cardinality": "ONE_TO_ONE",
    "relation_name": "text",
    "data_source_type": "DATA_WAREHOUSE",
    "data_warehouse_id": "text",
    "channel_source": {
      "type": "STATIC",
      "id": "text",
      "channel_id": "text"
    },
    "computed_field_technical_name": "text",
    "data_warehouse_live_ingestion_config": {
      "id": "text",
      "datamart_id": "text",
      "name": "text",
      "status": "WAITING_FOR_TABLE_CREATION",
      "object_tree_id": "text",
      "creation_ts": 0,
      "bucket_name": "text",
      "data_warehouse_id": "text"
    },
    "description": "text",
    "cloned_from": "text",
    "name": "text",
    "datamart_schema_id": "text",
    "object_type_definition": {
      "input_mapping_path": "text",
      "update_value_object": false,
      "object_name": "text",
      "id": "text",
      "relationships": [
        {
          "relation_name": "text",
          "cloned_from": "text",
          "cardinality": "ONE_TO_ONE",
          "id": "text",
          "child": {
            "input_mapping_path": "text",
            "update_value_object": false,
            "object_name": "text",
            "id": "text",
            "relationships": "[Circular Reference]",
            "cloned_from": "text",
            "mappings": [
              {
                "table_id": "text",
                "mapping_group_id": "text"
              }
            ],
            "fields": [
              {
                "cloned_from": "text",
                "input_mapping": {
                  "type": "DATA_WAREHOUSE",
                  "data_warehouse_column_id": "text"
                },
                "field_name": "text",
                "optional": false,
                "primary_key": false,
                "id": "text",
                "tree_index_data_type": "TEXT",
                "foreign_key": {
                  "type": "FIELD_NAME",
                  "field_name": "text"
                },
                "mappings": [
                  {
                    "json_path": "text",
                    "mapping_group_id": "text"
                  }
                ],
                "field_type": "text",
                "tree_index": {
                  "id": "text",
                  "name": "text"
                },
                "reference_table": {
                  "id": "text",
                  "type": "CORE_OBJECT",
                  "model_type": "text"
                },
                "list": false,
                "predefined": false
              }
            ],
            "input_mapping_table": "text",
            "input_mapping_column": "text"
          }
        }
      ],
      "cloned_from": "text",
      "mappings": [
        {
          "table_id": "text",
          "mapping_group_id": "text"
        }
      ],
      "fields": [
        {
          "cloned_from": "text",
          "input_mapping": {
            "type": "DATA_WAREHOUSE",
            "data_warehouse_column_id": "text"
          },
          "field_name": "text",
          "optional": false,
          "primary_key": false,
          "id": "text",
          "tree_index_data_type": "TEXT",
          "foreign_key": {
            "type": "FIELD_NAME",
            "field_name": "text"
          },
          "mappings": [
            {
              "json_path": "text",
              "mapping_group_id": "text"
            }
          ],
          "field_type": "text",
          "tree_index": {
            "id": "text",
            "name": "text"
          },
          "reference_table": {
            "id": "text",
            "type": "CORE_OBJECT",
            "model_type": "text"
          },
          "list": false,
          "predefined": false
        }
      ],
      "input_mapping_table": "text",
      "input_mapping_column": "text"
    },
    "user_identifiers": [
      {
        "id": "text",
        "main": false,
        "realm_id": "text",
        "location": {
          "type": "COLUMN_LOCATION",
          "column_id": "text"
        },
        "identifier_type": "EMAIL_HASH"
      }
    ],
    "event_name": {
      "type": "STATIC",
      "id": "text",
      "event_name": "text"
    },
    "object_tree_type": "Custom",
    "activity_type": "TOUCH"
  }
}

Delete object tree

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get object type by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "runtime_schema_id": "text",
    "type": "OBJECT_TYPE",
    "name": "text"
  }
}

Enable or disable user agent mappings

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/user_agent_mappings
Path parameters
datamart_idstringRequired
schema_idstringRequired
Body
actionstring · enumRequiredPossible values:
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/user_agent_mappings
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/user_agent_mappings HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "action": "ENABLE"
}
{
  "status": "ok"
}

Get object tree relationship

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
relationship_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "relation_name": "text",
    "cloned_from": "text",
    "cardinality": "ONE_TO_ONE",
    "id": "text",
    "child": {
      "input_mapping_path": "text",
      "update_value_object": false,
      "object_name": "text",
      "id": "text",
      "relationships": [
        {
          "relation_name": "text",
          "cloned_from": "text",
          "cardinality": "ONE_TO_ONE",
          "id": "text",
          "child": {
            "input_mapping_path": "text",
            "update_value_object": false,
            "object_name": "text",
            "id": "text",
            "relationships": "[Circular Reference]",
            "cloned_from": "text",
            "mappings": [
              {
                "table_id": "text",
                "mapping_group_id": "text"
              }
            ],
            "fields": [
              {
                "cloned_from": "text",
                "input_mapping": {
                  "type": "DATA_WAREHOUSE",
                  "data_warehouse_column_id": "text"
                },
                "field_name": "text",
                "optional": false,
                "primary_key": false,
                "id": "text",
                "tree_index_data_type": "TEXT",
                "foreign_key": {
                  "type": "FIELD_NAME",
                  "field_name": "text"
                },
                "mappings": [
                  {
                    "json_path": "text",
                    "mapping_group_id": "text"
                  }
                ],
                "field_type": "text",
                "tree_index": {
                  "id": "text",
                  "name": "text"
                },
                "reference_table": {
                  "id": "text",
                  "type": "CORE_OBJECT",
                  "model_type": "text"
                },
                "list": false,
                "predefined": false
              }
            ],
            "input_mapping_table": "text",
            "input_mapping_column": "text"
          }
        }
      ],
      "cloned_from": "text",
      "mappings": [
        {
          "table_id": "text",
          "mapping_group_id": "text"
        }
      ],
      "fields": [
        {
          "cloned_from": "text",
          "input_mapping": {
            "type": "DATA_WAREHOUSE",
            "data_warehouse_column_id": "text"
          },
          "field_name": "text",
          "optional": false,
          "primary_key": false,
          "id": "text",
          "tree_index_data_type": "TEXT",
          "foreign_key": {
            "type": "FIELD_NAME",
            "field_name": "text"
          },
          "mappings": [
            {
              "json_path": "text",
              "mapping_group_id": "text"
            }
          ],
          "field_type": "text",
          "tree_index": {
            "id": "text",
            "name": "text"
          },
          "reference_table": {
            "id": "text",
            "type": "CORE_OBJECT",
            "model_type": "text"
          },
          "list": false,
          "predefined": false
        }
      ],
      "input_mapping_table": "text",
      "input_mapping_column": "text"
    }
  }
}

Update object tree relationship

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
relationship_idstringRequired
Body
relation_namestringRequired
cloned_fromstringOptional
cardinalitystring · enumRequiredPossible values:
idstringRead-onlyOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 1338

{
  "relation_name": "text",
  "cloned_from": "text",
  "cardinality": "ONE_TO_ONE",
  "child": {
    "input_mapping_path": "text",
    "update_value_object": false,
    "object_name": "text",
    "relationships": [
      {
        "relation_name": "text",
        "cloned_from": "text",
        "cardinality": "ONE_TO_ONE",
        "child": {
          "input_mapping_path": "text",
          "update_value_object": false,
          "object_name": "text",
          "relationships": [
            "[Circular Reference]"
          ],
          "cloned_from": "text",
          "fields": [
            {
              "cloned_from": "text",
              "input_mapping": {
                "type": "DATA_WAREHOUSE",
                "data_warehouse_column_id": "text"
              },
              "field_name": "text",
              "optional": false,
              "primary_key": false,
              "tree_index_data_type": "TEXT",
              "foreign_key": {
                "type": "FIELD_NAME",
                "field_name": "text"
              },
              "field_type": "text",
              "tree_index": {
                "id": "text",
                "name": "text"
              },
              "reference_table": {
                "id": "text",
                "type": "CORE_OBJECT",
                "model_type": "text"
              },
              "list": false
            }
          ],
          "input_mapping_table": "text",
          "input_mapping_column": "text"
        }
      }
    ],
    "cloned_from": "text",
    "fields": [
      {
        "cloned_from": "text",
        "input_mapping": {
          "type": "DATA_WAREHOUSE",
          "data_warehouse_column_id": "text"
        },
        "field_name": "text",
        "optional": false,
        "primary_key": false,
        "tree_index_data_type": "TEXT",
        "foreign_key": {
          "type": "FIELD_NAME",
          "field_name": "text"
        },
        "field_type": "text",
        "tree_index": {
          "id": "text",
          "name": "text"
        },
        "reference_table": {
          "id": "text",
          "type": "CORE_OBJECT",
          "model_type": "text"
        },
        "list": false
      }
    ],
    "input_mapping_table": "text",
    "input_mapping_column": "text"
  }
}
{
  "status": "ok",
  "data": {
    "relation_name": "text",
    "cloned_from": "text",
    "cardinality": "ONE_TO_ONE",
    "id": "text",
    "child": {
      "input_mapping_path": "text",
      "update_value_object": false,
      "object_name": "text",
      "id": "text",
      "relationships": [
        {
          "relation_name": "text",
          "cloned_from": "text",
          "cardinality": "ONE_TO_ONE",
          "id": "text",
          "child": {
            "input_mapping_path": "text",
            "update_value_object": false,
            "object_name": "text",
            "id": "text",
            "relationships": "[Circular Reference]",
            "cloned_from": "text",
            "mappings": [
              {
                "table_id": "text",
                "mapping_group_id": "text"
              }
            ],
            "fields": [
              {
                "cloned_from": "text",
                "input_mapping": {
                  "type": "DATA_WAREHOUSE",
                  "data_warehouse_column_id": "text"
                },
                "field_name": "text",
                "optional": false,
                "primary_key": false,
                "id": "text",
                "tree_index_data_type": "TEXT",
                "foreign_key": {
                  "type": "FIELD_NAME",
                  "field_name": "text"
                },
                "mappings": [
                  {
                    "json_path": "text",
                    "mapping_group_id": "text"
                  }
                ],
                "field_type": "text",
                "tree_index": {
                  "id": "text",
                  "name": "text"
                },
                "reference_table": {
                  "id": "text",
                  "type": "CORE_OBJECT",
                  "model_type": "text"
                },
                "list": false,
                "predefined": false
              }
            ],
            "input_mapping_table": "text",
            "input_mapping_column": "text"
          }
        }
      ],
      "cloned_from": "text",
      "mappings": [
        {
          "table_id": "text",
          "mapping_group_id": "text"
        }
      ],
      "fields": [
        {
          "cloned_from": "text",
          "input_mapping": {
            "type": "DATA_WAREHOUSE",
            "data_warehouse_column_id": "text"
          },
          "field_name": "text",
          "optional": false,
          "primary_key": false,
          "id": "text",
          "tree_index_data_type": "TEXT",
          "foreign_key": {
            "type": "FIELD_NAME",
            "field_name": "text"
          },
          "mappings": [
            {
              "json_path": "text",
              "mapping_group_id": "text"
            }
          ],
          "field_type": "text",
          "tree_index": {
            "id": "text",
            "name": "text"
          },
          "reference_table": {
            "id": "text",
            "type": "CORE_OBJECT",
            "model_type": "text"
          },
          "list": false,
          "predefined": false
        }
      ],
      "input_mapping_table": "text",
      "input_mapping_column": "text"
    }
  }
}

Delete object tree relationship

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
relationship_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships/{relationship_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Find runtime schemas

get
/datamarts/{datamart_id}/graphdb_runtime_schemas
Path parameters
datamart_idstringRequired

The datamart to get the schemas from.

Responses
200

Success !

application/json
totalintegerRequired
countintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "count": 1,
  "max_results": 1,
  "first_result": 1,
  "status": "ok",
  "data": [
    {
      "id": "text",
      "creation_date": 0,
      "last_modification_date": 0,
      "publication_date": 0,
      "datamart_id": "text",
      "schema_type": "OBJECT_TREE",
      "status": "DRAFT",
      "suspension_date": 0
    }
  ]
}

Create runtime schema

post
/datamarts/{datamart_id}/graphdb_runtime_schemas
Path parameters
datamart_idstringRequired

The datamart to get the schemas from.

Query parameters
schema_typestring · enumOptional

The type of schema to create

Possible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "creation_date": 0,
    "last_modification_date": 0,
    "publication_date": 0,
    "datamart_id": "text",
    "schema_type": "OBJECT_TREE",
    "status": "DRAFT",
    "suspension_date": 0
  }
}

Get argument by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/arguments/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
directive_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/arguments/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/arguments/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "directive_id": "text",
    "name": "text",
    "value": "text"
  }
}

Search record values

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/field/index={index_name}/object_tree_field_path={object_tree_field_path}/reference_tables/records
Path parameters
datamart_idstringRequired
schema_idstringRequired
index_namestringRequired
object_tree_field_pathstringRequired
Query parameters
localestring · enumOptional

locale

Possible values:
keywordsstringOptional

keywords

first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
first_resultintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
max_resultsintegerRequired
countintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/field/index={index_name}/object_tree_field_path={object_tree_field_path}/reference_tables/records
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/field/index={index_name}/object_tree_field_path={object_tree_field_path}/reference_tables/records HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "status": "ok",
  "total": 1,
  "max_results": 1,
  "count": 1,
  "data": [
    {
      "display_value": "text",
      "locale": "fr-FR",
      "value": "text"
    }
  ]
}

Get object tree input stream configs

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Query parameters
data_warehouse_table_idstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
first_resultintegerRequired
statusstring · enumRequiredPossible values:
max_resultsintegerRequired
countintegerRequired
totalintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "status": "ok",
  "max_results": 1,
  "data": [
    {
      "working_table_name": "text",
      "strategy": {
        "type": "MODIFIED_TS",
        "ts_column": "text",
        "from": 0,
        "unit": "SECOND"
      },
      "data_warehouse_table_id": "text",
      "object_type_definition_id": "text",
      "use_processing_pipeline": false,
      "document_import_id": "text",
      "scheduling": {
        "type": "FREQUENCY",
        "start_hour": 0,
        "unit": "MINUTE",
        "time_zone": "text",
        "end_hour": 0,
        "value": 0
      }
    }
  ],
  "count": 1,
  "total": 1
}

Create input stream config

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
working_table_namestringRead-onlyOptional
data_warehouse_table_idstringRequired
object_type_definition_idstringOptional
use_processing_pipelinebooleanRequiredDefault: false
document_import_idstringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 267

{
  "strategy": {
    "type": "MODIFIED_TS",
    "ts_column": "text",
    "from": 0,
    "unit": "SECOND"
  },
  "data_warehouse_table_id": "text",
  "object_type_definition_id": "text",
  "use_processing_pipeline": false,
  "scheduling": {
    "type": "FREQUENCY",
    "start_hour": 0,
    "unit": "MINUTE",
    "end_hour": 0,
    "value": 0
  }
}
{
  "status": "ok",
  "data": {
    "working_table_name": "text",
    "strategy": {
      "type": "MODIFIED_TS",
      "ts_column": "text",
      "from": 0,
      "unit": "SECOND"
    },
    "data_warehouse_table_id": "text",
    "object_type_definition_id": "text",
    "use_processing_pipeline": false,
    "document_import_id": "text",
    "scheduling": {
      "type": "FREQUENCY",
      "start_hour": 0,
      "unit": "MINUTE",
      "time_zone": "text",
      "end_hour": 0,
      "value": 0
    }
  }
}

Update input stream config

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Query parameters
data_warehouse_table_idstringRequired
object_type_definition_idstringOptional
Body
working_table_namestringRead-onlyOptional
data_warehouse_table_idstringRequired
object_type_definition_idstringOptional
use_processing_pipelinebooleanRequiredDefault: false
document_import_idstringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs?data_warehouse_table_id=text HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 267

{
  "strategy": {
    "type": "MODIFIED_TS",
    "ts_column": "text",
    "from": 0,
    "unit": "SECOND"
  },
  "data_warehouse_table_id": "text",
  "object_type_definition_id": "text",
  "use_processing_pipeline": false,
  "scheduling": {
    "type": "FREQUENCY",
    "start_hour": 0,
    "unit": "MINUTE",
    "end_hour": 0,
    "value": 0
  }
}
{
  "status": "ok",
  "data": {
    "working_table_name": "text",
    "strategy": {
      "type": "MODIFIED_TS",
      "ts_column": "text",
      "from": 0,
      "unit": "SECOND"
    },
    "data_warehouse_table_id": "text",
    "object_type_definition_id": "text",
    "use_processing_pipeline": false,
    "document_import_id": "text",
    "scheduling": {
      "type": "FREQUENCY",
      "start_hour": 0,
      "unit": "MINUTE",
      "time_zone": "text",
      "end_hour": 0,
      "value": 0
    }
  }
}

Delete input stream config

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Query parameters
data_warehouse_table_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/input_stream_configs?data_warehouse_table_id=text HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get scalar fields

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Query parameters
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
countintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
first_resultintegerRequired
totalintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "max_results": 1,
  "data": [
    {
      "cloned_from": "text",
      "input_mapping": {
        "type": "DATA_WAREHOUSE",
        "data_warehouse_column_id": "text"
      },
      "field_name": "text",
      "optional": false,
      "primary_key": false,
      "id": "text",
      "tree_index_data_type": "TEXT",
      "foreign_key": {
        "type": "FIELD_NAME",
        "field_name": "text"
      },
      "mappings": [
        {
          "json_path": "text",
          "mapping_group_id": "text"
        }
      ],
      "field_type": "text",
      "tree_index": {
        "id": "text",
        "name": "text"
      },
      "reference_table": {
        "id": "text",
        "type": "CORE_OBJECT",
        "model_type": "text"
      },
      "list": false,
      "predefined": false
    }
  ],
  "status": "ok",
  "first_result": 1,
  "total": 1
}

Create scalar field

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Body
cloned_fromstringOptional
field_namestringRequired
optionalbooleanRequiredDefault: false
primary_keybooleanRequiredDefault: false
idstringRead-onlyOptional
tree_index_data_typestring · enumOptionalPossible values:
field_typestringRequired
listbooleanRequiredDefault: false
predefinedbooleanRead-onlyRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/scalar_fields HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 388

{
  "cloned_from": "text",
  "input_mapping": {
    "type": "DATA_WAREHOUSE",
    "data_warehouse_column_id": "text"
  },
  "field_name": "text",
  "optional": false,
  "primary_key": false,
  "tree_index_data_type": "TEXT",
  "foreign_key": {
    "type": "FIELD_NAME",
    "field_name": "text"
  },
  "field_type": "text",
  "tree_index": {
    "id": "text",
    "name": "text"
  },
  "reference_table": {
    "id": "text",
    "type": "CORE_OBJECT",
    "model_type": "text"
  },
  "list": false
}
{
  "status": "ok",
  "data": {
    "cloned_from": "text",
    "input_mapping": {
      "type": "DATA_WAREHOUSE",
      "data_warehouse_column_id": "text"
    },
    "field_name": "text",
    "optional": false,
    "primary_key": false,
    "id": "text",
    "tree_index_data_type": "TEXT",
    "foreign_key": {
      "type": "FIELD_NAME",
      "field_name": "text"
    },
    "mappings": [
      {
        "json_path": "text",
        "mapping_group_id": "text"
      }
    ],
    "field_type": "text",
    "tree_index": {
      "id": "text",
      "name": "text"
    },
    "reference_table": {
      "id": "text",
      "type": "CORE_OBJECT",
      "model_type": "text"
    },
    "list": false,
    "predefined": false
  }
}

Get object trees relationships

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Query parameters
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
max_resultsintegerRequired
totalintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "total": 1,
  "status": "ok",
  "count": 1,
  "first_result": 1,
  "data": [
    {
      "relation_name": "text",
      "cloned_from": "text",
      "cardinality": "ONE_TO_ONE",
      "id": "text",
      "child": {
        "input_mapping_path": "text",
        "update_value_object": false,
        "object_name": "text",
        "id": "text",
        "relationships": [
          {
            "relation_name": "text",
            "cloned_from": "text",
            "cardinality": "ONE_TO_ONE",
            "id": "text",
            "child": "[Circular Reference]"
          }
        ],
        "cloned_from": "text",
        "mappings": [
          {
            "table_id": "text",
            "mapping_group_id": "text"
          }
        ],
        "fields": [
          {
            "cloned_from": "text",
            "input_mapping": {
              "type": "DATA_WAREHOUSE",
              "data_warehouse_column_id": "text"
            },
            "field_name": "text",
            "optional": false,
            "primary_key": false,
            "id": "text",
            "tree_index_data_type": "TEXT",
            "foreign_key": {
              "type": "FIELD_NAME",
              "field_name": "text"
            },
            "mappings": [
              {
                "json_path": "text",
                "mapping_group_id": "text"
              }
            ],
            "field_type": "text",
            "tree_index": {
              "id": "text",
              "name": "text"
            },
            "reference_table": {
              "id": "text",
              "type": "CORE_OBJECT",
              "model_type": "text"
            },
            "list": false,
            "predefined": false
          }
        ],
        "input_mapping_table": "text",
        "input_mapping_column": "text"
      }
    }
  ]
}

Create object trees relationships

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Body
relation_namestringRequired
cloned_fromstringOptional
cardinalitystring · enumRequiredPossible values:
idstringRead-onlyOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/relationships HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 1338

{
  "relation_name": "text",
  "cloned_from": "text",
  "cardinality": "ONE_TO_ONE",
  "child": {
    "input_mapping_path": "text",
    "update_value_object": false,
    "object_name": "text",
    "relationships": [
      {
        "relation_name": "text",
        "cloned_from": "text",
        "cardinality": "ONE_TO_ONE",
        "child": {
          "input_mapping_path": "text",
          "update_value_object": false,
          "object_name": "text",
          "relationships": [
            "[Circular Reference]"
          ],
          "cloned_from": "text",
          "fields": [
            {
              "cloned_from": "text",
              "input_mapping": {
                "type": "DATA_WAREHOUSE",
                "data_warehouse_column_id": "text"
              },
              "field_name": "text",
              "optional": false,
              "primary_key": false,
              "tree_index_data_type": "TEXT",
              "foreign_key": {
                "type": "FIELD_NAME",
                "field_name": "text"
              },
              "field_type": "text",
              "tree_index": {
                "id": "text",
                "name": "text"
              },
              "reference_table": {
                "id": "text",
                "type": "CORE_OBJECT",
                "model_type": "text"
              },
              "list": false
            }
          ],
          "input_mapping_table": "text",
          "input_mapping_column": "text"
        }
      }
    ],
    "cloned_from": "text",
    "fields": [
      {
        "cloned_from": "text",
        "input_mapping": {
          "type": "DATA_WAREHOUSE",
          "data_warehouse_column_id": "text"
        },
        "field_name": "text",
        "optional": false,
        "primary_key": false,
        "tree_index_data_type": "TEXT",
        "foreign_key": {
          "type": "FIELD_NAME",
          "field_name": "text"
        },
        "field_type": "text",
        "tree_index": {
          "id": "text",
          "name": "text"
        },
        "reference_table": {
          "id": "text",
          "type": "CORE_OBJECT",
          "model_type": "text"
        },
        "list": false
      }
    ],
    "input_mapping_table": "text",
    "input_mapping_column": "text"
  }
}
{
  "status": "ok",
  "data": {
    "relation_name": "text",
    "cloned_from": "text",
    "cardinality": "ONE_TO_ONE",
    "id": "text",
    "child": {
      "input_mapping_path": "text",
      "update_value_object": false,
      "object_name": "text",
      "id": "text",
      "relationships": [
        {
          "relation_name": "text",
          "cloned_from": "text",
          "cardinality": "ONE_TO_ONE",
          "id": "text",
          "child": {
            "input_mapping_path": "text",
            "update_value_object": false,
            "object_name": "text",
            "id": "text",
            "relationships": "[Circular Reference]",
            "cloned_from": "text",
            "mappings": [
              {
                "table_id": "text",
                "mapping_group_id": "text"
              }
            ],
            "fields": [
              {
                "cloned_from": "text",
                "input_mapping": {
                  "type": "DATA_WAREHOUSE",
                  "data_warehouse_column_id": "text"
                },
                "field_name": "text",
                "optional": false,
                "primary_key": false,
                "id": "text",
                "tree_index_data_type": "TEXT",
                "foreign_key": {
                  "type": "FIELD_NAME",
                  "field_name": "text"
                },
                "mappings": [
                  {
                    "json_path": "text",
                    "mapping_group_id": "text"
                  }
                ],
                "field_type": "text",
                "tree_index": {
                  "id": "text",
                  "name": "text"
                },
                "reference_table": {
                  "id": "text",
                  "type": "CORE_OBJECT",
                  "model_type": "text"
                },
                "list": false,
                "predefined": false
              }
            ],
            "input_mapping_table": "text",
            "input_mapping_column": "text"
          }
        }
      ],
      "cloned_from": "text",
      "mappings": [
        {
          "table_id": "text",
          "mapping_group_id": "text"
        }
      ],
      "fields": [
        {
          "cloned_from": "text",
          "input_mapping": {
            "type": "DATA_WAREHOUSE",
            "data_warehouse_column_id": "text"
          },
          "field_name": "text",
          "optional": false,
          "primary_key": false,
          "id": "text",
          "tree_index_data_type": "TEXT",
          "foreign_key": {
            "type": "FIELD_NAME",
            "field_name": "text"
          },
          "mappings": [
            {
              "json_path": "text",
              "mapping_group_id": "text"
            }
          ],
          "field_type": "text",
          "tree_index": {
            "id": "text",
            "name": "text"
          },
          "reference_table": {
            "id": "text",
            "type": "CORE_OBJECT",
            "model_type": "text"
          },
          "list": false,
          "predefined": false
        }
      ],
      "input_mapping_table": "text",
      "input_mapping_column": "text"
    }
  }
}

Get object type definition

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "input_mapping_path": "text",
    "update_value_object": false,
    "object_name": "text",
    "id": "text",
    "relationships": [
      {
        "relation_name": "text",
        "cloned_from": "text",
        "cardinality": "ONE_TO_ONE",
        "id": "text",
        "child": {
          "input_mapping_path": "text",
          "update_value_object": false,
          "object_name": "text",
          "id": "text",
          "relationships": [
            "[Circular Reference]"
          ],
          "cloned_from": "text",
          "mappings": [
            {
              "table_id": "text",
              "mapping_group_id": "text"
            }
          ],
          "fields": [
            {
              "cloned_from": "text",
              "input_mapping": {
                "type": "DATA_WAREHOUSE",
                "data_warehouse_column_id": "text"
              },
              "field_name": "text",
              "optional": false,
              "primary_key": false,
              "id": "text",
              "tree_index_data_type": "TEXT",
              "foreign_key": {
                "type": "FIELD_NAME",
                "field_name": "text"
              },
              "mappings": [
                {
                  "json_path": "text",
                  "mapping_group_id": "text"
                }
              ],
              "field_type": "text",
              "tree_index": {
                "id": "text",
                "name": "text"
              },
              "reference_table": {
                "id": "text",
                "type": "CORE_OBJECT",
                "model_type": "text"
              },
              "list": false,
              "predefined": false
            }
          ],
          "input_mapping_table": "text",
          "input_mapping_column": "text"
        }
      }
    ],
    "cloned_from": "text",
    "mappings": [
      {
        "table_id": "text",
        "mapping_group_id": "text"
      }
    ],
    "fields": [
      {
        "cloned_from": "text",
        "input_mapping": {
          "type": "DATA_WAREHOUSE",
          "data_warehouse_column_id": "text"
        },
        "field_name": "text",
        "optional": false,
        "primary_key": false,
        "id": "text",
        "tree_index_data_type": "TEXT",
        "foreign_key": {
          "type": "FIELD_NAME",
          "field_name": "text"
        },
        "mappings": [
          {
            "json_path": "text",
            "mapping_group_id": "text"
          }
        ],
        "field_type": "text",
        "tree_index": {
          "id": "text",
          "name": "text"
        },
        "reference_table": {
          "id": "text",
          "type": "CORE_OBJECT",
          "model_type": "text"
        },
        "list": false,
        "predefined": false
      }
    ],
    "input_mapping_table": "text",
    "input_mapping_column": "text"
  }
}

Update object type definition

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Body
input_mapping_pathstringOptional
update_value_objectbooleanRequiredDefault: false
object_namestringRequired
idstringRead-onlyRequired
cloned_fromstringOptional
input_mapping_tablestringOptional
input_mapping_columnstringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 1338

{
  "input_mapping_path": "text",
  "update_value_object": false,
  "object_name": "text",
  "relationships": [
    {
      "relation_name": "text",
      "cloned_from": "text",
      "cardinality": "ONE_TO_ONE",
      "child": {
        "input_mapping_path": "text",
        "update_value_object": false,
        "object_name": "text",
        "relationships": [
          {
            "relation_name": "text",
            "cloned_from": "text",
            "cardinality": "ONE_TO_ONE",
            "child": "[Circular Reference]"
          }
        ],
        "cloned_from": "text",
        "fields": [
          {
            "cloned_from": "text",
            "input_mapping": {
              "type": "DATA_WAREHOUSE",
              "data_warehouse_column_id": "text"
            },
            "field_name": "text",
            "optional": false,
            "primary_key": false,
            "tree_index_data_type": "TEXT",
            "foreign_key": {
              "type": "FIELD_NAME",
              "field_name": "text"
            },
            "field_type": "text",
            "tree_index": {
              "id": "text",
              "name": "text"
            },
            "reference_table": {
              "id": "text",
              "type": "CORE_OBJECT",
              "model_type": "text"
            },
            "list": false
          }
        ],
        "input_mapping_table": "text",
        "input_mapping_column": "text"
      }
    }
  ],
  "cloned_from": "text",
  "fields": [
    {
      "cloned_from": "text",
      "input_mapping": {
        "type": "DATA_WAREHOUSE",
        "data_warehouse_column_id": "text"
      },
      "field_name": "text",
      "optional": false,
      "primary_key": false,
      "tree_index_data_type": "TEXT",
      "foreign_key": {
        "type": "FIELD_NAME",
        "field_name": "text"
      },
      "field_type": "text",
      "tree_index": {
        "id": "text",
        "name": "text"
      },
      "reference_table": {
        "id": "text",
        "type": "CORE_OBJECT",
        "model_type": "text"
      },
      "list": false
    }
  ],
  "input_mapping_table": "text",
  "input_mapping_column": "text"
}
{
  "status": "ok",
  "data": {
    "input_mapping_path": "text",
    "update_value_object": false,
    "object_name": "text",
    "id": "text",
    "relationships": [
      {
        "relation_name": "text",
        "cloned_from": "text",
        "cardinality": "ONE_TO_ONE",
        "id": "text",
        "child": {
          "input_mapping_path": "text",
          "update_value_object": false,
          "object_name": "text",
          "id": "text",
          "relationships": [
            "[Circular Reference]"
          ],
          "cloned_from": "text",
          "mappings": [
            {
              "table_id": "text",
              "mapping_group_id": "text"
            }
          ],
          "fields": [
            {
              "cloned_from": "text",
              "input_mapping": {
                "type": "DATA_WAREHOUSE",
                "data_warehouse_column_id": "text"
              },
              "field_name": "text",
              "optional": false,
              "primary_key": false,
              "id": "text",
              "tree_index_data_type": "TEXT",
              "foreign_key": {
                "type": "FIELD_NAME",
                "field_name": "text"
              },
              "mappings": [
                {
                  "json_path": "text",
                  "mapping_group_id": "text"
                }
              ],
              "field_type": "text",
              "tree_index": {
                "id": "text",
                "name": "text"
              },
              "reference_table": {
                "id": "text",
                "type": "CORE_OBJECT",
                "model_type": "text"
              },
              "list": false,
              "predefined": false
            }
          ],
          "input_mapping_table": "text",
          "input_mapping_column": "text"
        }
      }
    ],
    "cloned_from": "text",
    "mappings": [
      {
        "table_id": "text",
        "mapping_group_id": "text"
      }
    ],
    "fields": [
      {
        "cloned_from": "text",
        "input_mapping": {
          "type": "DATA_WAREHOUSE",
          "data_warehouse_column_id": "text"
        },
        "field_name": "text",
        "optional": false,
        "primary_key": false,
        "id": "text",
        "tree_index_data_type": "TEXT",
        "foreign_key": {
          "type": "FIELD_NAME",
          "field_name": "text"
        },
        "mappings": [
          {
            "json_path": "text",
            "mapping_group_id": "text"
          }
        ],
        "field_type": "text",
        "tree_index": {
          "id": "text",
          "name": "text"
        },
        "reference_table": {
          "id": "text",
          "type": "CORE_OBJECT",
          "model_type": "text"
        },
        "list": false,
        "predefined": false
      }
    ],
    "input_mapping_table": "text",
    "input_mapping_column": "text"
  }
}

Delete object type definition

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get object tree event name

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
event_name_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "type": "STATIC",
    "id": "text",
    "event_name": "text"
  }
}

Update object tree event name

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
event_name_idstringRequired
Body
or
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "type": "STATIC",
  "event_name": "text"
}
{
  "status": "ok",
  "data": {
    "type": "STATIC",
    "id": "text",
    "event_name": "text"
  }
}

Delete object tree event name

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
event_name_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names/{event_name_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get fields

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
field_typestringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
countintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "data": [
    {
      "name": "text",
      "id": "text",
      "field_type": "text",
      "object_like_type_id": "text",
      "runtime_schema_id": "text"
    }
  ],
  "count": 1,
  "status": "ok",
  "total": 1,
  "first_result": 1,
  "max_results": 1
}

Get object tree input stream configs

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "working_table_name": "text",
    "strategy": {
      "type": "MODIFIED_TS",
      "ts_column": "text",
      "from": 0,
      "unit": "SECOND"
    },
    "data_warehouse_table_id": "text",
    "object_type_definition_id": "text",
    "use_processing_pipeline": false,
    "document_import_id": "text",
    "scheduling": {
      "type": "FREQUENCY",
      "start_hour": 0,
      "unit": "MINUTE",
      "time_zone": "text",
      "end_hour": 0,
      "value": 0
    }
  }
}

Create input stream config

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Body
working_table_namestringRead-onlyOptional
data_warehouse_table_idstringRequired
object_type_definition_idstringOptional
use_processing_pipelinebooleanRequiredDefault: false
document_import_idstringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 267

{
  "strategy": {
    "type": "MODIFIED_TS",
    "ts_column": "text",
    "from": 0,
    "unit": "SECOND"
  },
  "data_warehouse_table_id": "text",
  "object_type_definition_id": "text",
  "use_processing_pipeline": false,
  "scheduling": {
    "type": "FREQUENCY",
    "start_hour": 0,
    "unit": "MINUTE",
    "end_hour": 0,
    "value": 0
  }
}
{
  "status": "ok",
  "data": {
    "working_table_name": "text",
    "strategy": {
      "type": "MODIFIED_TS",
      "ts_column": "text",
      "from": 0,
      "unit": "SECOND"
    },
    "data_warehouse_table_id": "text",
    "object_type_definition_id": "text",
    "use_processing_pipeline": false,
    "document_import_id": "text",
    "scheduling": {
      "type": "FREQUENCY",
      "start_hour": 0,
      "unit": "MINUTE",
      "time_zone": "text",
      "end_hour": 0,
      "value": 0
    }
  }
}

Update input stream config

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Body
working_table_namestringRead-onlyOptional
data_warehouse_table_idstringRequired
object_type_definition_idstringOptional
use_processing_pipelinebooleanRequiredDefault: false
document_import_idstringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 267

{
  "strategy": {
    "type": "MODIFIED_TS",
    "ts_column": "text",
    "from": 0,
    "unit": "SECOND"
  },
  "data_warehouse_table_id": "text",
  "object_type_definition_id": "text",
  "use_processing_pipeline": false,
  "scheduling": {
    "type": "FREQUENCY",
    "start_hour": 0,
    "unit": "MINUTE",
    "end_hour": 0,
    "value": 0
  }
}
{
  "status": "ok",
  "data": {
    "working_table_name": "text",
    "strategy": {
      "type": "MODIFIED_TS",
      "ts_column": "text",
      "from": 0,
      "unit": "SECOND"
    },
    "data_warehouse_table_id": "text",
    "object_type_definition_id": "text",
    "use_processing_pipeline": false,
    "document_import_id": "text",
    "scheduling": {
      "type": "FREQUENCY",
      "start_hour": 0,
      "unit": "MINUTE",
      "time_zone": "text",
      "end_hour": 0,
      "value": 0
    }
  }
}

Delete input stream config

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_type_definition_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/object_type_definitions/{object_type_definition_id}/input_stream_configs HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get full graphdb ORM schema as text

get
/datamarts/{datamart_id}/graphdb_orm_schemas/{schema_id}/text

Aggregates all object trees of the schema and returns the full ORM schema

Path parameters
datamart_idstringRequired

The datamart owning the schema.

schema_idstringRequired

The schema to get as full text.

Query parameters
mapping_group_idstringOptional

The object tree mapping group to get as text.

Responses
200

Success !

text/plain
stringOptional
get/datamarts/{datamart_id}/graphdb_orm_schemas/{schema_id}/text
GET /v1/datamarts/{datamart_id}/graphdb_orm_schemas/{schema_id}/text HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
text

Get object types

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
max_resultsintegerRequired
totalintegerRequired
statusstring · enumRequiredPossible values:
first_resultintegerRequired
countintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "total": 1,
  "status": "ok",
  "first_result": 1,
  "count": 1,
  "data": [
    {
      "id": "text",
      "runtime_schema_id": "text",
      "type": "OBJECT_TYPE",
      "name": "text"
    }
  ]
}

Get data warehouse live ingestion config for object tree

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "datamart_id": "text",
    "name": "text",
    "status": "WAITING_FOR_TABLE_CREATION",
    "object_tree_id": "text",
    "creation_ts": 0,
    "bucket_name": "text",
    "data_warehouse_id": "text"
  }
}

Create or update data warehouse live ingestion config for object tree

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
idstringRead-onlyRequired
datamart_idstringRequired
namestringRequired
statusstring · enumRequiredPossible values:
object_tree_idstringRequired
creation_tsinteger · int64Read-onlyRequiredDefault: 0
bucket_namestringRequired
data_warehouse_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 146

{
  "datamart_id": "text",
  "name": "text",
  "status": "WAITING_FOR_TABLE_CREATION",
  "object_tree_id": "text",
  "bucket_name": "text",
  "data_warehouse_id": "text"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "datamart_id": "text",
    "name": "text",
    "status": "WAITING_FOR_TABLE_CREATION",
    "object_tree_id": "text",
    "creation_ts": 0,
    "bucket_name": "text",
    "data_warehouse_id": "text"
  }
}

Delete data warehouse live ingestion config for object tree

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get directive by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "type": "OBJECT_TYPE",
    "name": "text"
  }
}

Enable or disable predefined object tree like mappings, clustering_cohort

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/predefined_object_trees/action
Path parameters
datamart_idstringRequired
schema_idstringRequired
Body
actionstring · enumRequiredPossible values:
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/predefined_object_trees/action
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/predefined_object_trees/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "action": "ENABLE",
  "args": {
    "predefined_object_tree": "text"
  }
}
{
  "status": "ok"
}

Clone a runtime schema

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/clone
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to clone.

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/clone
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/clone HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "creation_date": 0,
    "last_modification_date": 0,
    "publication_date": 0,
    "datamart_id": "text",
    "schema_type": "OBJECT_TREE",
    "status": "DRAFT",
    "suspension_date": 0
  }
}

Get all schema decorators for this runtime schema.

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
Responses
200

Success !

application/json
first_resultintegerRequired
totalintegerRequired
max_resultsintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "total": 1,
  "data": [
    {
      "help_text": "text",
      "hidden": false,
      "field_name": "text",
      "id": "text",
      "datamart_id": "text",
      "object_name": "text",
      "locale": "fr-FR",
      "label": "text",
      "schema_id": "text"
    }
  ],
  "max_results": 1,
  "count": 1,
  "status": "ok"
}

Update all the schema decorators for this runtime schema.

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
Body
stringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
totalintegerRequired
first_resultintegerRequired
countintegerRequired
max_resultsintegerRequired
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators HTTP/1.1
Host: api.mediarithmics.local
Content-Type: text/csv
Accept: */*
Content-Length: 6

"text"
{
  "status": "ok",
  "data": [
    {
      "help_text": "text",
      "hidden": false,
      "field_name": "text",
      "id": "text",
      "datamart_id": "text",
      "object_name": "text",
      "locale": "fr-FR",
      "label": "text",
      "schema_id": "text"
    }
  ],
  "total": 1,
  "first_result": 1,
  "count": 1,
  "max_results": 1
}

Delete all schema decorators for a given schema id

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get directives

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
commentstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
max_resultsintegerRequired
totalintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "count": 1,
  "max_results": 1,
  "total": 1,
  "first_result": 1,
  "data": [
    {
      "id": "text",
      "type": "OBJECT_TYPE",
      "name": "text"
    }
  ]
}

Get field arguments

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{directive_id}/arguments
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
field_idinteger · int64Required
directive_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
commentstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
totalintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{directive_id}/arguments
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{directive_id}/arguments HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "count": 1,
  "total": 1,
  "max_results": 1,
  "first_result": 1,
  "data": [
    {
      "id": "text",
      "directive_id": "text",
      "name": "text",
      "value": "text"
    }
  ]
}

Check the runtime schema

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/schema_check
Path parameters
datamart_idinteger · int64Required
Body
querystringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/schema_check
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/schema_check HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "query": "text"
}
{
  "status": "ok",
  "data": {
    "type": "VALID"
  }
}

Get runtime schema as text

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/text
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to get as text.

Responses
200

Success !

text/plain
stringOptional
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/text
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/text HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
text

Update runtime schema by text

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/text
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to update with text.

Body
stringOptional
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/text
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/text HTTP/1.1
Host: api.mediarithmics.local
Content-Type: text/plain
Accept: */*
Content-Length: 6

"text"
{
  "status": "ok"
}

Publish runtime schema

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/publication
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to publish.

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/publication
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/publication HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "datamart_id": "text",
    "schema_id": "text",
    "tree_indices": [
      {
        "driver_version_major_number": 0,
        "init_job": "CURSOR_BASED_FULL_BUILD",
        "init_strategy": "AUTOMATIC",
        "driver_version_minor_number": 0,
        "object_tree_index_cluster_id": "text",
        "index_id": "text",
        "new_index": false,
        "index_name": "text",
        "index_size": "SMALL"
      }
    ]
  }
}

Get field argument by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{directive_id}/arguments/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
field_idinteger · int64Required
directive_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{directive_id}/arguments/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{directive_id}/arguments/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "directive_id": "text",
    "name": "text",
    "value": "text"
  }
}

Get the tree index selections for the schema

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/tree_index_selections
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
Responses
200

Success !

application/json
totalintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/tree_index_selections
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/tree_index_selections HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "status": "ok",
  "count": 1,
  "max_results": 1,
  "data": [
    {},
    {
      "size": "SMALL",
      "technical_device_migrated": false,
      "index_name": "text",
      "status": "DRAFT",
      "driver_version_minor_number": 0,
      "datamart_id": 0,
      "init_strategy": "AUTOMATIC",
      "driver_version_major_number": 0,
      "id": 0,
      "index_id": 0,
      "object_tree_index_cluster_id": "text",
      "datafarm": "text"
    }
  ],
  "first_result": 1
}

Get arguments

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/arguments
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
directive_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
commentstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
first_resultintegerRequired
totalintegerRequired
countintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/arguments
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/arguments HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "total": 1,
  "count": 1,
  "max_results": 1,
  "data": [
    {
      "id": "text",
      "directive_id": "text",
      "name": "text",
      "value": "text"
    }
  ],
  "status": "ok"
}

Get field directives

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
field_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
commentstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
first_resultintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
totalintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "max_results": 1,
  "status": "ok",
  "count": 1,
  "data": [
    {
      "runtime_schema_id": "text",
      "field_id": "text",
      "id": "text",
      "comment": "text",
      "object_like_type_id": "text",
      "name": "text"
    }
  ],
  "total": 1
}

Get object tree identifier

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_tree_identifier_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "main": false,
    "realm_id": "text",
    "location": {
      "type": "COLUMN_LOCATION",
      "column_id": "text"
    },
    "identifier_type": "EMAIL_HASH"
  }
}

Update object tree identifier

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_tree_identifier_idstringRequired
Body
idstringRead-onlyRequired
mainbooleanRequiredDefault: false
realm_idstringOptional
identifier_typestring · enumRequiredPossible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "main": false,
  "realm_id": "text",
  "location": {
    "type": "COLUMN_LOCATION",
    "column_id": "text"
  },
  "identifier_type": "EMAIL_HASH"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "main": false,
    "realm_id": "text",
    "location": {
      "type": "COLUMN_LOCATION",
      "column_id": "text"
    },
    "identifier_type": "EMAIL_HASH"
  }
}

Delete object tree identifier

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
object_tree_identifier_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers/{object_tree_identifier_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get object tree channel source

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
channel_source_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "type": "STATIC",
    "id": "text",
    "channel_id": "text"
  }
}

Update object tree channel source

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
channel_source_idstringRequired
Body
or
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id}
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "type": "STATIC",
  "channel_id": "text"
}
{
  "status": "ok",
  "data": {
    "type": "STATIC",
    "id": "text",
    "channel_id": "text"
  }
}

Delete object tree channel source

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id}
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
channel_source_idstringRequired
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources/{channel_source_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Set data warehouse live ingestion credentials for object tree

put
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_credentials
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
put/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_credentials
PUT /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_credentials HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 118

{
  "type": "OBJECT_STORAGE",
  "endpoint": "text",
  "secret_key": "text",
  "protocol": "GS",
  "s3_prefix": "text",
  "access_key": "text"
}
{
  "status": "ok"
}

Get argument by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/inputValues/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
directive_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/inputValues/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/inputValues/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "directive_id": "text",
    "name": "text",
    "value": "text"
  }
}

Get data warehouse live ingestion initial config script

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config/initial_config_script
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Responses
200

Success !

text/plain
stringOptional
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config/initial_config_script
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/data_warehouse_live_ingestion_config/initial_config_script HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
text

Find the schema decorator matching criteria

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators/object_name={object_name}/field_name={field_name}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_namestringRequired
field_namestringRequired
Query parameters
localestringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators/object_name={object_name}/field_name={field_name}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/schema_decorators/object_name={object_name}/field_name={field_name} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "help_text": "text",
    "hidden": false,
    "field_name": "text",
    "id": "text",
    "datamart_id": "text",
    "object_name": "text",
    "locale": "fr-FR",
    "label": "text",
    "schema_id": "text"
  }
}

Get object trees

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees
Path parameters
datamart_idstringRequired
schema_idstringRequired
Query parameters
namestringOptional
deepbooleanOptional
keywordsstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
field_ref_formatstring · enumOptionalPossible values:
Responses
200

Success !

application/json
first_resultintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
max_resultsintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "count": 1,
  "status": "ok",
  "total": 1,
  "max_results": 1,
  "data": [
    {
      "id": "text",
      "input_stream_configs": [
        {
          "working_table_name": "text",
          "strategy": {
            "type": "MODIFIED_TS",
            "ts_column": "text",
            "from": 0,
            "unit": "SECOND"
          },
          "data_warehouse_table_id": "text",
          "object_type_definition_id": "text",
          "use_processing_pipeline": false,
          "document_import_id": "text",
          "scheduling": {
            "type": "FREQUENCY",
            "start_hour": 0,
            "unit": "MINUTE",
            "time_zone": "text",
            "end_hour": 0,
            "value": 0
          }
        }
      ],
      "relation_cardinality": "ONE_TO_ONE",
      "relation_name": "text",
      "data_source_type": "DATA_WAREHOUSE",
      "data_warehouse_id": "text",
      "channel_source": {
        "type": "STATIC",
        "id": "text",
        "channel_id": "text"
      },
      "computed_field_technical_name": "text",
      "data_warehouse_live_ingestion_config": {
        "id": "text",
        "datamart_id": "text",
        "name": "text",
        "status": "WAITING_FOR_TABLE_CREATION",
        "object_tree_id": "text",
        "creation_ts": 0,
        "bucket_name": "text",
        "data_warehouse_id": "text"
      },
      "description": "text",
      "cloned_from": "text",
      "name": "text",
      "datamart_schema_id": "text",
      "object_type_definition": {
        "input_mapping_path": "text",
        "update_value_object": false,
        "object_name": "text",
        "id": "text",
        "relationships": [
          {
            "relation_name": "text",
            "cloned_from": "text",
            "cardinality": "ONE_TO_ONE",
            "id": "text",
            "child": "[Circular Reference]"
          }
        ],
        "cloned_from": "text",
        "mappings": [
          {
            "table_id": "text",
            "mapping_group_id": "text"
          }
        ],
        "fields": [
          {
            "cloned_from": "text",
            "input_mapping": {
              "type": "DATA_WAREHOUSE",
              "data_warehouse_column_id": "text"
            },
            "field_name": "text",
            "optional": false,
            "primary_key": false,
            "id": "text",
            "tree_index_data_type": "TEXT",
            "foreign_key": {
              "type": "FIELD_NAME",
              "field_name": "text"
            },
            "mappings": [
              {
                "json_path": "text",
                "mapping_group_id": "text"
              }
            ],
            "field_type": "text",
            "tree_index": {
              "id": "text",
              "name": "text"
            },
            "reference_table": {
              "id": "text",
              "type": "CORE_OBJECT",
              "model_type": "text"
            },
            "list": false,
            "predefined": false
          }
        ],
        "input_mapping_table": "text",
        "input_mapping_column": "text"
      },
      "user_identifiers": [
        {
          "id": "text",
          "main": false,
          "realm_id": "text",
          "location": {
            "type": "COLUMN_LOCATION",
            "column_id": "text"
          },
          "identifier_type": "EMAIL_HASH"
        }
      ],
      "event_name": {
        "type": "STATIC",
        "id": "text",
        "event_name": "text"
      },
      "object_tree_type": "Custom",
      "activity_type": "TOUCH"
    }
  ]
}

Create an object tree

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees
Path parameters
datamart_idstringRequired
schema_idstringRequired
Body
idstringRead-onlyRequired
relation_cardinalitystring · enumRequiredPossible values:
relation_namestringRequired
data_source_typestring · enumRequiredPossible values:
data_warehouse_idstringOptional
computed_field_technical_namestringOptional
descriptionstringRequired
cloned_fromstringOptional
namestringRequired
datamart_schema_idstringRequired
object_tree_typestring · enumRequiredPossible values:
activity_typestring · enumOptionalPossible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 2308

{
  "input_stream_configs": [
    {
      "strategy": {
        "type": "MODIFIED_TS",
        "ts_column": "text",
        "from": 0,
        "unit": "SECOND"
      },
      "data_warehouse_table_id": "text",
      "object_type_definition_id": "text",
      "use_processing_pipeline": false,
      "scheduling": {
        "type": "FREQUENCY",
        "start_hour": 0,
        "unit": "MINUTE",
        "end_hour": 0,
        "value": 0
      }
    }
  ],
  "relation_cardinality": "ONE_TO_ONE",
  "relation_name": "text",
  "data_source_type": "DATA_WAREHOUSE",
  "data_warehouse_id": "text",
  "channel_source": {
    "type": "STATIC",
    "channel_id": "text"
  },
  "computed_field_technical_name": "text",
  "data_warehouse_live_ingestion_config": {
    "datamart_id": "text",
    "name": "text",
    "status": "WAITING_FOR_TABLE_CREATION",
    "object_tree_id": "text",
    "bucket_name": "text",
    "data_warehouse_id": "text"
  },
  "description": "text",
  "cloned_from": "text",
  "name": "text",
  "datamart_schema_id": "text",
  "object_type_definition": {
    "input_mapping_path": "text",
    "update_value_object": false,
    "object_name": "text",
    "relationships": [
      {
        "relation_name": "text",
        "cloned_from": "text",
        "cardinality": "ONE_TO_ONE",
        "child": {
          "input_mapping_path": "text",
          "update_value_object": false,
          "object_name": "text",
          "relationships": [
            "[Circular Reference]"
          ],
          "cloned_from": "text",
          "fields": [
            {
              "cloned_from": "text",
              "input_mapping": {
                "type": "DATA_WAREHOUSE",
                "data_warehouse_column_id": "text"
              },
              "field_name": "text",
              "optional": false,
              "primary_key": false,
              "tree_index_data_type": "TEXT",
              "foreign_key": {
                "type": "FIELD_NAME",
                "field_name": "text"
              },
              "field_type": "text",
              "tree_index": {
                "id": "text",
                "name": "text"
              },
              "reference_table": {
                "id": "text",
                "type": "CORE_OBJECT",
                "model_type": "text"
              },
              "list": false
            }
          ],
          "input_mapping_table": "text",
          "input_mapping_column": "text"
        }
      }
    ],
    "cloned_from": "text",
    "fields": [
      {
        "cloned_from": "text",
        "input_mapping": {
          "type": "DATA_WAREHOUSE",
          "data_warehouse_column_id": "text"
        },
        "field_name": "text",
        "optional": false,
        "primary_key": false,
        "tree_index_data_type": "TEXT",
        "foreign_key": {
          "type": "FIELD_NAME",
          "field_name": "text"
        },
        "field_type": "text",
        "tree_index": {
          "id": "text",
          "name": "text"
        },
        "reference_table": {
          "id": "text",
          "type": "CORE_OBJECT",
          "model_type": "text"
        },
        "list": false
      }
    ],
    "input_mapping_table": "text",
    "input_mapping_column": "text"
  },
  "user_identifiers": [
    {
      "main": false,
      "realm_id": "text",
      "location": {
        "type": "COLUMN_LOCATION",
        "column_id": "text"
      },
      "identifier_type": "EMAIL_HASH"
    }
  ],
  "event_name": {
    "type": "STATIC",
    "event_name": "text"
  },
  "object_tree_type": "Custom",
  "activity_type": "TOUCH"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "input_stream_configs": [
      {
        "working_table_name": "text",
        "strategy": {
          "type": "MODIFIED_TS",
          "ts_column": "text",
          "from": 0,
          "unit": "SECOND"
        },
        "data_warehouse_table_id": "text",
        "object_type_definition_id": "text",
        "use_processing_pipeline": false,
        "document_import_id": "text",
        "scheduling": {
          "type": "FREQUENCY",
          "start_hour": 0,
          "unit": "MINUTE",
          "time_zone": "text",
          "end_hour": 0,
          "value": 0
        }
      }
    ],
    "relation_cardinality": "ONE_TO_ONE",
    "relation_name": "text",
    "data_source_type": "DATA_WAREHOUSE",
    "data_warehouse_id": "text",
    "channel_source": {
      "type": "STATIC",
      "id": "text",
      "channel_id": "text"
    },
    "computed_field_technical_name": "text",
    "data_warehouse_live_ingestion_config": {
      "id": "text",
      "datamart_id": "text",
      "name": "text",
      "status": "WAITING_FOR_TABLE_CREATION",
      "object_tree_id": "text",
      "creation_ts": 0,
      "bucket_name": "text",
      "data_warehouse_id": "text"
    },
    "description": "text",
    "cloned_from": "text",
    "name": "text",
    "datamart_schema_id": "text",
    "object_type_definition": {
      "input_mapping_path": "text",
      "update_value_object": false,
      "object_name": "text",
      "id": "text",
      "relationships": [
        {
          "relation_name": "text",
          "cloned_from": "text",
          "cardinality": "ONE_TO_ONE",
          "id": "text",
          "child": {
            "input_mapping_path": "text",
            "update_value_object": false,
            "object_name": "text",
            "id": "text",
            "relationships": "[Circular Reference]",
            "cloned_from": "text",
            "mappings": [
              {
                "table_id": "text",
                "mapping_group_id": "text"
              }
            ],
            "fields": [
              {
                "cloned_from": "text",
                "input_mapping": {
                  "type": "DATA_WAREHOUSE",
                  "data_warehouse_column_id": "text"
                },
                "field_name": "text",
                "optional": false,
                "primary_key": false,
                "id": "text",
                "tree_index_data_type": "TEXT",
                "foreign_key": {
                  "type": "FIELD_NAME",
                  "field_name": "text"
                },
                "mappings": [
                  {
                    "json_path": "text",
                    "mapping_group_id": "text"
                  }
                ],
                "field_type": "text",
                "tree_index": {
                  "id": "text",
                  "name": "text"
                },
                "reference_table": {
                  "id": "text",
                  "type": "CORE_OBJECT",
                  "model_type": "text"
                },
                "list": false,
                "predefined": false
              }
            ],
            "input_mapping_table": "text",
            "input_mapping_column": "text"
          }
        }
      ],
      "cloned_from": "text",
      "mappings": [
        {
          "table_id": "text",
          "mapping_group_id": "text"
        }
      ],
      "fields": [
        {
          "cloned_from": "text",
          "input_mapping": {
            "type": "DATA_WAREHOUSE",
            "data_warehouse_column_id": "text"
          },
          "field_name": "text",
          "optional": false,
          "primary_key": false,
          "id": "text",
          "tree_index_data_type": "TEXT",
          "foreign_key": {
            "type": "FIELD_NAME",
            "field_name": "text"
          },
          "mappings": [
            {
              "json_path": "text",
              "mapping_group_id": "text"
            }
          ],
          "field_type": "text",
          "tree_index": {
            "id": "text",
            "name": "text"
          },
          "reference_table": {
            "id": "text",
            "type": "CORE_OBJECT",
            "model_type": "text"
          },
          "list": false,
          "predefined": false
        }
      ],
      "input_mapping_table": "text",
      "input_mapping_column": "text"
    },
    "user_identifiers": [
      {
        "id": "text",
        "main": false,
        "realm_id": "text",
        "location": {
          "type": "COLUMN_LOCATION",
          "column_id": "text"
        },
        "identifier_type": "EMAIL_HASH"
      }
    ],
    "event_name": {
      "type": "STATIC",
      "id": "text",
      "event_name": "text"
    },
    "object_tree_type": "Custom",
    "activity_type": "TOUCH"
  }
}

Create object tree event name

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
or
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/event_names HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "type": "STATIC",
  "event_name": "text"
}
{
  "status": "ok",
  "data": {
    "type": "STATIC",
    "id": "text",
    "event_name": "text"
  }
}

Get input values

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/inputValues
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
directive_idinteger · int64Required
Query parameters
namestringOptional
keywordsstringOptional
commentstringOptional
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
max_resultsintegerRequired
totalintegerRequired
first_resultintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/inputValues
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/directives/{directive_id}/inputValues HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": [
    {
      "id": "text",
      "directive_id": "text",
      "name": "text",
      "value": "text"
    }
  ],
  "count": 1,
  "max_results": 1,
  "total": 1,
  "first_result": 1
}

Get runtime schema

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to look for.

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "creation_date": 0,
    "last_modification_date": 0,
    "publication_date": 0,
    "datamart_id": "text",
    "schema_type": "OBJECT_TREE",
    "status": "DRAFT",
    "suspension_date": 0
  }
}

Delete runtime schema

delete
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}
Path parameters
datamart_idinteger · int64Required

The datamart owning the schema.

schema_idinteger · int64Required

The schema to delete.

Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}
DELETE /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get the tree index selections for the schema by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/tree_index_selections/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/tree_index_selections/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/tree_index_selections/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "size": "SMALL",
    "technical_device_migrated": false,
    "index_name": "text",
    "status": "DRAFT",
    "driver_version_minor_number": 0,
    "datamart_id": 0,
    "init_strategy": "AUTOMATIC",
    "driver_version_major_number": 0,
    "id": 0,
    "index_id": 0,
    "object_tree_index_cluster_id": "text",
    "datafarm": "text"
  }
}

Get object trees indices

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_tree_indices
Path parameters
datamart_idstringRequired
schema_idstringRequired
Query parameters
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
countintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_tree_indices
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_tree_indices HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "data": [
    {
      "id": "text",
      "name": "text"
    }
  ],
  "max_results": 1,
  "first_result": 1,
  "status": "ok",
  "total": 1
}

Get field directive by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
field_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{field_id}/directives/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "runtime_schema_id": "text",
    "field_id": "text",
    "id": "text",
    "comment": "text",
    "object_like_type_id": "text",
    "name": "text"
  }
}

Get object types whole structure

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/deep
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
Responses
200

Success !

application/json
first_resultintegerRequired
countintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/deep
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/deep HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "count": 1,
  "max_results": 1,
  "status": "ok",
  "data": [
    {
      "runtime_schema_id": "text",
      "fields": [
        {
          "name": "text",
          "id": "text",
          "directives": [
            {
              "runtime_schema_id": "text",
              "name": "text",
              "field_id": "text",
              "arguments": [
                {
                  "id": "text",
                  "directive_id": "text",
                  "name": "text",
                  "value": "text"
                }
              ],
              "comment": "text",
              "id": "text",
              "object_like_type_id": "text"
            }
          ],
          "decorator": {
            "help_text": "text",
            "hidden": false,
            "field_name": "text",
            "id": "text",
            "datamart_id": "text",
            "object_name": "text",
            "locale": "fr-FR",
            "label": "text",
            "schema_id": "text"
          },
          "field_type": "text",
          "runtime_schema_id": "text",
          "object_like_type_id": "text"
        }
      ],
      "directives": [
        {
          "id": "text",
          "type": "OBJECT_TYPE",
          "name": "text",
          "arguments": [
            {
              "id": "text",
              "directive_id": "text",
              "name": "text",
              "value": "text"
            }
          ]
        }
      ],
      "type": "OBJECT_TYPE",
      "id": "text",
      "name": "text"
    }
  ],
  "total": 1
}

Get graphdb ORM schema as text

get
/datamarts/{datamart_id}/graphdb_orm_schemas/{schema_id}/object_trees/{object_tree_id}/text
Path parameters
datamart_idstringRequired

The datamart owning the schema.

schema_idstringRequired

The schema to get as text.

object_tree_idstringRequired

The object tree to get as text.

Query parameters
mapping_group_idstringOptional

The object tree mapping group to get as text.

Responses
200

Success !

text/plain
stringOptional
get/datamarts/{datamart_id}/graphdb_orm_schemas/{schema_id}/object_trees/{object_tree_id}/text
GET /v1/datamarts/{datamart_id}/graphdb_orm_schemas/{schema_id}/object_trees/{object_tree_id}/text HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
text

Get field by id

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{id}
Path parameters
datamart_idinteger · int64Required
schema_idinteger · int64Required
object_type_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{id}
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_types/{object_type_id}/fields/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "name": "text",
    "id": "text",
    "field_type": "text",
    "object_like_type_id": "text",
    "runtime_schema_id": "text"
  }
}

Create object tree channel source

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
or
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/channel_sources HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "type": "STATIC",
  "channel_id": "text"
}
{
  "status": "ok",
  "data": {
    "type": "STATIC",
    "id": "text",
    "channel_id": "text"
  }
}

Get object trees identifiers

get
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Query parameters
first_resultinteger · int32Optional
max_resultsinteger · int32Optional
Responses
200

Success !

application/json
totalintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
get/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers
GET /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "first_result": 1,
  "data": [
    {
      "id": "text",
      "main": false,
      "realm_id": "text",
      "location": {
        "type": "COLUMN_LOCATION",
        "column_id": "text"
      },
      "identifier_type": "EMAIL_HASH"
    }
  ],
  "max_results": 1,
  "count": 1,
  "status": "ok"
}

Create an object tree identifier

post
/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers
Path parameters
datamart_idstringRequired
schema_idstringRequired
object_tree_idstringRequired
Body
idstringRead-onlyRequired
mainbooleanRequiredDefault: false
realm_idstringOptional
identifier_typestring · enumRequiredPossible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers
POST /v1/datamarts/{datamart_id}/graphdb_runtime_schemas/{schema_id}/object_trees/{object_tree_id}/identifiers HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "main": false,
  "realm_id": "text",
  "location": {
    "type": "COLUMN_LOCATION",
    "column_id": "text"
  },
  "identifier_type": "EMAIL_HASH"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "main": false,
    "realm_id": "text",
    "location": {
      "type": "COLUMN_LOCATION",
      "column_id": "text"
    },
    "identifier_type": "EMAIL_HASH"
  }
}

Last updated

Was this helpful?