Retrieves the complete hierarchical structure of a collection. Requires user authentication and proper access permissions.
curl --request GET \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/users/self/collection-tree
{
"code": "<string>",
"data": [
{
"children": [
"<any>"
],
"collection": {
"collectionKind": "<string>",
"description": "<string>",
"etag": "<string>",
"icon": "<string>",
"id": [
127
],
"label": "<string>",
"lifecycleState": "<string>",
"organizationId": [
127
],
"path": [
[
127
]
],
"tenantId": [
127
],
"version": 123
}
}
],
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}
Success response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/users/self/collection-tree
{
"code": "<string>",
"data": [
{
"children": [
"<any>"
],
"collection": {
"collectionKind": "<string>",
"description": "<string>",
"etag": "<string>",
"icon": "<string>",
"id": [
127
],
"label": "<string>",
"lifecycleState": "<string>",
"organizationId": [
127
],
"path": [
[
127
]
],
"tenantId": [
127
],
"version": 123
}
}
],
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}