resources-relation
resources-relation
This object contains a resource, its relation type and the list of objects to which this resource is related
JSON Example
{
"pageInfo": {
"totalCount": 0,
"page": 0,
"pageSize": 0,
"sortBy": "string",
"sortOrder": "string"
},
"relationshipType": "string",
"resourcesRelations": [
{
"resource": {
"description": "string",
"creationTime": 0,
"resourceKey": {
"name": "string",
"adapterKindKey": "string",
"resourceKindKey": "string",
"resourceIdentifiers": [
{
"identifierType": {
"name": "string",
"dataType": "string",
"isPartOfUniqueness": false,
"extension": {
"anyObjects": [
{}
]
},
"links": [
{
"href": "string",
"rel": "string",
"name": "string",
"description": "string"
}
]
},
"value": "string",
"links": [
{
"href": "string",
"rel": "string",
"name": "string",
"description": "string"
}
]
}
],
"links": [
{
"href": "string",
"rel": "string",
"name": "string",
"description": "string"
}
],
"extension": {
"anyObjects": [
{}
]
}
},
"credentialInstanceId": "string",
"geoLocation": {
"latitude": "number",
"longitude": "number"
},
"resourceStatusStates": [
{
"adapterInstanceId": "string",
"resourceStatus": "string",
"resourceState": "string",
"statusMessage": "string"
}
],
"resourceHealth": "string",
"resourceHealthValue": "number",
"dtEnabled": false,
"monitoringInterval": 0,
"monitoringIntervalSeconds": 0,
"badges": [
{
"type": "string",
"color": "string",
"score": "number"
}
],
"relatedResources": [
"string"
],
"extension": {
"anyObjects": [
{}
]
},
"links": [
{
"href": "string",
"rel": "string",
"name": "string",
"description": "string"
}
],
"identifier": "string"
},
"relatedResources": [
"string"
],
"extension": {
"anyObjects": [
{}
]
},
"links": [
{
"href": "string",
"rel": "string",
"name": "string",
"description": "string"
}
]
}
],
"links": [
{
"href": "string",
"rel": "string",
"name": "string",
"description": "string"
}
]
}
string
relationshipType
Required
Relationship Types between resources. All relationships are many-to-many.
Representation names are plural.
Possible values are :
PARENT,
CHILD,
CONTAINS,
CONTAINED_BY,
REFERENCES,
REFERENCED_BY,
USES,
USED_BY,
SELF,
DESCENDANT,
ANCESTOR,
TST,
ALL,
array of
resource-relations
resourcesRelations
Required
Resources info combined with lists of query resource identifiers to which they are related