Kvasir Documentation main Help

API Reference

Changes API

Stream

GET method/{podId}/changes

Request parameters

Responses

{}

Perform mutations on the KG.

POST method/{podId}/changes

Post a change request, containing the requested mutations, to the inbox of the specified pod.

Request parameters

Responses

Get Change Report

GET method/{podId}/changes/{changeId}

Request parameters

Responses

Get Change Records

GET method/{podId}/changes/{changeId}/records

Request parameters

Responses

Perform mutations on a specific slice of the KG.

POST method/{podId}/slices/{sliceId}/changes

Post a change request, containing the requested mutations, to a slice inbox of the specified pod.

Request parameters

Responses

Querying API

Retrieve data from the KG.

POST method/{podId}/query

Query the knowledge graph of the specified pod using GraphQL.

Request parameters

{ "query": {}, "operationName": {}, "variables": {}, "targetGraphs": {}, "atTimestamp": {}, "atChangeRequest": {}, "@context": {} }

Responses

{ "data": {}, "errors": {}, "extensions": {} }

Retrieve data from a specific subset of the KG.

POST method/{podId}/slices/{sliceId}/query

Query a predefined slice of the specified pod's Knowledge Graph using GraphQL.

Request parameters

{ "query": {}, "operationName": {}, "variables": {}, "targetGraphs": {}, "atTimestamp": {}, "atChangeRequest": {} }

Responses

{ "data": {}, "errors": {}, "extensions": {} }

Streaming API

Stream

GET method/{podId}/changes

Request parameters

Responses

{}

Stream Slice

GET method/{podId}/slices/{sliceId}/stream

Request parameters

Responses

{}

Low-level Storage API

Download a stored object.

GET method/{podId}/s3/{objectKey}

Get an object from the specified pod's S3 storage.

Request parameters

Responses

Upload an object.

PUT method/{podId}/s3/{objectKey}

Put an object to the specified pod's S3 storage.

Request parameters

Responses

Remove a stored object.

DELETE method/{podId}/s3/{objectKey}

Delete an object from the specified pod's S3 storage.

Request parameters

Responses

Pod Config API

List

GET method/

Responses

Register

POST method/

Request parameters

Responses

null

Get

GET method/{podId}

Request parameters

Responses

Update

PUT method/{podId}

Request parameters

Responses

null

Delete

DELETE method/{podId}

Request parameters

Responses

null

Get Profile

GET method/{podId}/.profile

Request parameters

Responses

List slices of the specified pod.

GET method/{podId}/slices

List slices of the specified pod's Knowledge Graph.

Request parameters

Responses

Define a new slice of the KG.

POST method/{podId}/slices

Define a new slice (subset) of the specified pod's Knowledge Graph, based on a GraphQL-LD schema.

Request parameters

Responses

null

Retrieve a specific slice definition..

GET method/{podId}/slices/{sliceId}

Retrieve a specific slice definition details.

Request parameters

Responses

Delete a specific slice.

DELETE method/{podId}/slices/{sliceId}

Delete a specific slice of the specified pod's Knowledge Graph.

Request parameters

Responses

null

Get SHACL

GET method/{podId}/slices/{sliceId}/shacl

Request parameters

Responses

Last modified: 02 January 2025