cayleygraph / cayley

An open-source graph database
https://cayley.io
Apache License 2.0
14.83k stars 1.25k forks source link

How to do CRUD opeations in cayley??? #891

Closed vzool closed 4 years ago

iddan commented 4 years ago

Hello @vzool and thank you for trying Cayley and taking the time to open an issue. (C) To create data you can use the /api/v2/write endpoint. you can post it JSON-LD data or data in any other supported RDF format. (R) To read data you can either use /api/v2/query endpoint or /api/v2/read endpoint for very simple data queries. (U) To update data you'd need to first delete the update you want to update, and then create the updated data. (D) To delete data you can use the /api/v2/delete endpoint. You can post it JSON-LD data or data in any other supported RDF format. Closing the issue for now. If you have followup questions regarding this topic feel free to reopen the issue.