curl -X GET 'https://api.example.com/resource-hierarchy/children/resource_folder_123' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "resource_doc_456",
"resourceTypeId": "rtype_document",
"displayName": "API Design Doc",
"relationshipType": "contains",
"cascade": "inherit"
},
{
"id": "resource_doc_789",
"resourceTypeId": "rtype_document",
"displayName": "Architecture Overview",
"relationshipType": "contains",
"cascade": "inherit"
}
]
Get direct child resources in the hierarchy
curl -X GET 'https://api.example.com/resource-hierarchy/children/resource_folder_123' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "resource_doc_456",
"resourceTypeId": "rtype_document",
"displayName": "API Design Doc",
"relationshipType": "contains",
"cascade": "inherit"
},
{
"id": "resource_doc_789",
"resourceTypeId": "rtype_document",
"displayName": "Architecture Overview",
"relationshipType": "contains",
"cascade": "inherit"
}
]
contains, references)curl -X GET 'https://api.example.com/resource-hierarchy/children/resource_folder_123' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "resource_doc_456",
"resourceTypeId": "rtype_document",
"displayName": "API Design Doc",
"relationshipType": "contains",
"cascade": "inherit"
},
{
"id": "resource_doc_789",
"resourceTypeId": "rtype_document",
"displayName": "Architecture Overview",
"relationshipType": "contains",
"cascade": "inherit"
}
]
Was this page helpful?