2026-01-15 11:04:37 +00:00
|
|
|
type: object
|
|
|
|
|
description: |
|
|
|
|
|
Text load request - load text document into processing pipeline.
|
|
|
|
|
|
|
|
|
|
Fire-and-forget operation (no response).
|
|
|
|
|
required:
|
|
|
|
|
- text
|
|
|
|
|
properties:
|
|
|
|
|
text:
|
|
|
|
|
type: string
|
2026-03-30 23:58:58 +08:00
|
|
|
description: Text content, either raw text or base64 encoded for compatibility with older clients
|
2026-01-15 11:04:37 +00:00
|
|
|
example: VGhpcyBpcyB0aGUgZG9jdW1lbnQgdGV4dC4uLg==
|
|
|
|
|
id:
|
|
|
|
|
type: string
|
|
|
|
|
description: Document identifier
|
|
|
|
|
example: doc-123
|
|
|
|
|
user:
|
|
|
|
|
type: string
|
|
|
|
|
description: User identifier
|
|
|
|
|
default: trustgraph
|
|
|
|
|
example: alice
|
|
|
|
|
collection:
|
|
|
|
|
type: string
|
|
|
|
|
description: Collection for document
|
|
|
|
|
default: default
|
|
|
|
|
example: research
|
|
|
|
|
charset:
|
|
|
|
|
type: string
|
|
|
|
|
description: Text character encoding
|
|
|
|
|
default: utf-8
|
|
|
|
|
example: utf-8
|
|
|
|
|
metadata:
|
|
|
|
|
type: array
|
|
|
|
|
description: Document metadata as RDF triples
|
|
|
|
|
items:
|
|
|
|
|
$ref: '../../common/Triple.yaml'
|