mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Add AsyncAPI spec for websocket (#613)
* AsyncAPI for websocket docs * Delete old docs * Update docs/README.md to point to docs site * Add generated API docs
This commit is contained in:
parent
fce43ae035
commit
8a17375603
110 changed files with 8325 additions and 23324 deletions
|
|
@ -0,0 +1,31 @@
|
|||
type: object
|
||||
description: WebSocket request for knowledge service (global service)
|
||||
required:
|
||||
- id
|
||||
- service
|
||||
- request
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: Unique request identifier
|
||||
service:
|
||||
type: string
|
||||
const: knowledge
|
||||
description: Service identifier for knowledge service
|
||||
request:
|
||||
$ref: '../../../../api/components/schemas/knowledge/KnowledgeRequest.yaml'
|
||||
examples:
|
||||
- id: req-1
|
||||
service: knowledge
|
||||
request:
|
||||
operation: store
|
||||
triples:
|
||||
- s:
|
||||
v: https://example.com/entity1
|
||||
e: true
|
||||
p:
|
||||
v: https://example.com/relates-to
|
||||
e: true
|
||||
o:
|
||||
v: https://example.com/entity2
|
||||
e: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue