CRUD with Giazmo?


#1

Hi,

I would like to use Cayley as a DB with CRUD operations. I see that insertion is possible with Go library like AddQuad but can’t see related items in Gizmo API doc. Are insertion and deletion (and update?) allowed only in Go library?

update: Is “Save()” for Create? What about Delete?

Thanks!


#2

Hi @jbkoh,

We do not support inserts/deletes from Gizmo currently. There is a REST write API that can be used to send updates to the database.

Inserts can be sent as POST to /api/v2/write?format=nquads (we support multiple formats including JSON and JSON-LD).
Deletes can be sent as POST to /api/v2/delete?format=nquads (same set of formats supported).


#3

Thanks for the clarification!