Skip to main content
GET
http://localhost:3000
/
resource-hierarchy
/
children
/
{resourceId}
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"
  }
]

Path Parameters

resourceId
string
required
The parent resource ID

Query Parameters

relationshipType
string
Filter by relationship type (e.g., contains, references)

Response

Returns an array of child resources.
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"
  }
]