Get Relationship
The URL path variable 'relationshipType' uses the RelationshipType.representation value.
Few sample URLs are shown below./api/resources/{resourceId}/relationships/children/api/resources/{resourceId}/relationships/parents
The UUID of the resource to set the relationships for
The type of relationship of the objects; Uses the RelationshipType.representation value
Page number from which data needs to be displayed (0-based)
Expected number of entries per page
All the related resources
"{\n \"relationshipType\" : \"CHILD\",\n \"resourceList\" : [ {\n \"creationTime\" : 1753426400609,\n \"resourceKey\" : {\n \"name\" : \"VM1\",\n \"resourceIdentifiers\" : [ ]\n },\n \"credentialInstanceId\" : \"51f8f60d-4a39-4839-9924-698d022e2e10\",\n \"resourceStatusStates\" : [ ],\n \"dtEnabled\" : true,\n \"badges\" : [ ],\n \"relatedResources\" : [ ],\n \"identifier\" : \"19464db6-8d2e-48e9-a682-642b388d453b\"\n }, {\n \"creationTime\" : 1753426411121,\n \"resourceKey\" : {\n \"name\" : \"VM2\",\n \"resourceIdentifiers\" : [ ]\n },\n \"credentialInstanceId\" : \"b1f8f60d-4a39-9348-9924-068d022e2b00\",\n \"resourceStatusStates\" : [ ],\n \"dtEnabled\" : true,\n \"badges\" : [ ],\n \"relatedResources\" : [ ],\n \"identifier\" : \"076e9396-3dfe-4cea-90ed-f0da719e3c15\"\n } ]\n}"
Collection of links
Represents page information for a paged result
Relationship Types between resources. All relationships are many-to-many.
Representation names are plural.
The list of resources having relation
curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/resources/{id}/relationships/{relationshipType}