Retrieves a twin by its ID along with its associated twins as defined in the request. The relationships field in the request is optional. Twins will be returned in the response even if the nested relationships failed to find a twin. Similar to a sql outer join semantics.
Security
oauth2
Instance of GetTwinGraphRequest.
Graph relationship definition to retrieve the related twins.
Example:
[ { "alias": "Components", "relationshipNames": [ … ], "modelNames": [ … ], "exactModelMatch": false, "direction": "Incoming", "relationship": { … } }, { "alias": "TwinPoints", "relationshipNames": [ … ], "modelNames": [], "exactModelMatch": false, "direction": "Incoming", "relationship": {} } ]
- https://.app.willowinc.com/api/v3https://.app.willowinc.com/api/v3/twins/graph
{ "id": "PNT2Uga", "alias": "Twin", "relationships": [ { … }, { … } ] }
Twin Graph Response.
Response
{ "property1": [ { … } ], "property2": [ { … } ] }