Skip to content

POSTing an Graph Edge

Nathan T. Freeman edited this page Feb 1, 2016 · 1 revision

To create new edge objects in the Graph, POST a JSON object to the frame/ URL of either of the Vertices being linked. The JSON MUST contain an "@label" property with the appropriate label value and an "@id" property of the other vertex being linked. There are no other specific requirements,

example: POST https://server/api/oda/frame/now?id=ABC123

POST Payload { "@label":"favorites", "@id":"DEF456", "foo":"bar }