If authentication is enabled you must specify username
and password
in every req
SET
Creates an object
A key for accessing the object, if not provied, an uuid will be generated
data
string, json, number, any[]
required
This is the body that will be associated to your key, this can be anything you want
This array relates your object with other nodes, relations can be keys to object or just strings with any other meaning.
This is used to order your data by classes like users, posts, etc…
If the objects expires it must be set to true
The time in milliseconds that the object must live
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
GET
Get an object or a series of objects
You must pass it as a parameter if the object is encrypted
Make a bulk operation in all objects that match the criteria
If true, only modify one object that matches the field_array
criteria
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE", "data" : "REQUESTED DATA"}
PUT
Modify an object or a series of objects
You must pass it as a parameter if the object is encrypted
Make a bulk operation in all objects that match the criteria
If true, only modify one object that matches the field_array
criteria
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
DELETE
Delete an object
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
PUSH
Push a value into an array of an object or a series of object
You must pass it as a parameter if the object is encrypted
Make a bulk operation in all objects that match the criteria
If true, only modify one object that matches the field_array
criteria
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
POP
Pop from an array of an object or a series of objects
You must pass it as a parameter if the object is encrypted
Make a bulk operation in all objects that match the criteria
If true, only modify one object that matches the field_array
criteria
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
SPLICE
Splice from an array of an object or a series of objects
You must pass it as a parameter if the object is encrypted
Make a bulk operation in all objects that match the criteria
If true, only modify one object that matches the field_array
criteria
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
REMOVE
Remove a value from an array of an object or a series of objects
You must pass it as a parameter if the object is encrypted
Make a bulk operation in all objects that match the criteria
If true, only modify one object that matches the field_array
criteria
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
ENCRYPT
Encrypt an object
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
DECRYPT
Decrypt an object
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
SET_VERTEX
Add a vertex to an object
Vertex name, it doesn’t need to be a key
Relation between vertices, ex: friends
You must pass it as a parameter if the object is encrypted
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
GET_VERTEX
List all vertices of a key
You must pass it as a parameter if the object is encrypted
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE", "data" : [vertices]}
DELETE_VERTEX
Delete a vertex
Vertex name, it doesn’t need to be a key
You must pass it as a parameter if the object is encrypted
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE"}
DFS
Make a DFS walk in the graph
If you want to make a DFS and only go through nodes with an specific type of relation
{"status" : "SUCCESS" || "ERROR", "message" : "OK" || "ERROR MESSAGE", "data" : [vertices]}