Gizmo query to modify an N-Quad value

golang

#1

Is there a query that can be used to modify an existing N-Quad in the data? If not, what is the simplest way to achieve that? Can I write a Go-Program to do that or modify the server to receive an argument to change this or something?


#2

We do not expose any functions to modify data to Gizmo.

The easiest way ring now is to either query the data and send writes separately, or write a Go app that can do both.


#3

By sending write separately, do you mean like the way it’s done in the “Write” tab?


#4

Yes, we have two versions of REST API, and the Write tab uses the legacy one.
You can check the API spec here or head to SwaggerUI demo and enter this URL to the top bar: https://raw.githubusercontent.com/cayleygraph/cayley/master/docs/api/swagger.yml


#5

Thanks a lot :slight_smile: