Create or update a registry collection
Create or update a registry collection.
X-Clinia-API-Key<token>sourceKey*stringThe key of the source.
collectionKey*stringThe key of the collection.
^[a-zA-Z0-9-][\w-]{0,61}$application/json- body
type*v1CollectionTypeThe type of the collection.
"resources""relationships"profile*The profile of the collection.
A successful response when the collection was updated.
application/json- response
type*v1CollectionTypeThe type of the collection.
"resources""relationships"key*stringThe key of the collection.
pipeline?The ingestion pipeline of the collection.
profile*The profile of the collection.
curl -X PUT 'https://api..clinia.cloud/sources/string/v1/collections/string' \ -H 'Content-Type: application/json' \ -d '{ "type": "resources", "profile": { "properties": { "property1": { "type": "address" }, "property2": { "type": "address" } } }}'{ "type": "resources", "key": "string", "pipeline": { "id": "string", "steps": [ { "type": "VECTORIZER", "trigger": { "type": "OPERATOR", "operator": { "id": "string", "and": [ null ] } }, "vectorizer": { "inputProperty": "content.passages", "propertyKey": "vector", "propertyDescription": "The vectorized content", "provider": "openai", "modelId": "text-embedding-004", "dimensions": 768 } } ] }, "profile": { "description": "string", "properties": { "property1": { "type": "address", "readOnly": false, "description": "string", "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "binding": { "vocabulary": { "key": "string", "strength": "required" } }, "modelId": "string", "enrichedProperties": {}, "properties": { "property1": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } }, "property2": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } } } }, "property2": { "type": "address", "readOnly": false, "description": "string", "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "binding": { "vocabulary": { "key": "string", "strength": "required" } }, "modelId": "string", "enrichedProperties": {}, "properties": { "property1": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } }, "property2": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } } } } }, "contained": { "property1": { "description": "string", "cardinality": "0:*", "depth": 1, "properties": { "property1": { "type": "address", "readOnly": false, "description": "string", "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "binding": { "vocabulary": { "key": "string", "strength": "required" } }, "modelId": "string", "enrichedProperties": {}, "properties": { "property1": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } }, "property2": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } } } }, "property2": { "type": "address", "readOnly": false, "description": "string", "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "binding": { "vocabulary": { "key": "string", "strength": "required" } }, "modelId": "string", "enrichedProperties": {}, "properties": { "property1": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } }, "property2": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } } } } } }, "property2": { "description": "string", "cardinality": "0:*", "depth": 1, "properties": { "property1": { "type": "address", "readOnly": false, "description": "string", "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "binding": { "vocabulary": { "key": "string", "strength": "required" } }, "modelId": "string", "enrichedProperties": {}, "properties": { "property1": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } }, "property2": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } } } }, "property2": { "type": "address", "readOnly": false, "description": "string", "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "binding": { "vocabulary": { "key": "string", "strength": "required" } }, "modelId": "string", "enrichedProperties": {}, "properties": { "property1": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } }, "property2": { "rules": [ { "required": true, "pattern": "string", "enum": [ "string" ], "min": 0, "max": 0, "when": { "id": "string", "and": [ null ] } } ], "properties": { "property1": {}, "property2": {} }, "items": {}, "binding": { "vocabulary": { "key": "string", "strength": "required" } } } } } } } }, "key": "string" }}Bundle resource and relationship operations to be processed POST
Send a bundle of operations, including resource and relationship operations, to be processed atomically by the system. Notes: - Order of Processing: Resource operations are executed first, followed by relationship operations. - Atomicity: The system processes the entire bundle as a single atomic transaction. - If all operations succeed, the changes are committed. - If any operation fails, all operations are rolled back, ensuring no partial changes.
Get a Collection from the registry GET
Get a Collection from the registry.