Hello,
im trying to add 2 vertices and an edge via rest with the edge having an attribute .
The result should look like this.
Following the documentation from Built-in Endpoints :: Docs
My Payload for the POST request looks like this:
{
"vertices": {
"myVertexType": {
"Source": {}
}
},
"edges": {
"myVertexType": {
"Target": {
"my_edge": {
"myOtherVertexType": {
"Source": {}
}
}
}
}
}
}
I just dont know where i can define the edge attribute ‘my_attr’ in the payload.
I would appreciate it if someone can help me out here.
Thanks