Contents
Get document tree
Returns information about Document Tree.
Role
All
Method
GET
URL
/api/v2/documents/tree
Query parameters
Parameter Name | Type | Description |
---|---|---|
projectIdOrKey | String | Project ID or Project Key |
Response example
Response Body
{
"projectId": 1,
"activeTree": {
"id": "Active",
"children": [
{
"id": "01934345404771adb2113d7792bb4351",
"name": "local test",
"children": [
{
"id": "019347fc760c7b0abff04b44628c94d7",
"name": "test2",
"children": [
{
"id": "0192ff5990da76c289dee06b1f11fa01",
"name": "aaatest234",
"children": []
}
],
"emoji": "",
"emojiType": "",
"updated": ""
}
],
"emoji": "",
"emojiType": "",
"updated": ""
}
]
},
"trashTree": {
"id": "Trash",
"children": []
}
}