Entity relation
An Entity Relation Object contains links to the related Entity Resources for an entity relation. The following properties exist:
Name |
Type |
Description |
---|---|---|
|
Array |
In case of a relation definition with multiple parents, contains an array of Link objects referring to the related parent Entity Resources. |
|
In case of a relation definition with a single parent, contains a Link object referring to the related parent Entity Resource. | |
|
Array |
In case of a relation definition with multiple children, contains an array of Link objects referencing the related child Entity Resources. |
|
In case of a relation definition with a single child, contains a Link object referring to the related child Entity Resource. | |
|
Contains a link to the resource containing this object. |
Example
{
"children":[
{
"href":"http://<hostname>/entities/2"
},
{
"href":"http://<hostname>/entities/3"
}
],
"self":{
"href":"http://<hostname>/entities/1/relations/R1"
}
}