It seems I can create an edge with any type. In the code example below, the externalId of the “type” is set to “xxx” when calling POST Add edges, which should not exist. However, the edge was added successfully. Furthermore, I could not see any edges were created in the SimulationModel table, even the “externalId” was set to “SimulatonModelSimulator”.
{
"instanceType": "edge",
"space": "XiaofengTest",
"externalId": "externalId:edge1",
"type": {
"space": "XiaofengTest",
"externalId": "xxx"
},
"startNode": {
"space": "XiaofengTest",
"externalId": "externalId:simulator1"
},
"endNode": {
"space": "XiaofengTest",
"externalId": "externalId:simmodel1"
}
}
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support
