Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get Folder Tree from Path

Retrieves a folder tree starting from a specific folder Deprecated: use GET /api/v2/{team_slug}/{app_slug}/dam/folders/{folder_id}/tree instead.

GET/api/v1/{team_slug}/{app_slug}/dam/folders/{folder_id}/treedeprecated
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

folder_idstringrequired

Folder ID

Responses
200

Folder tree retrieved successfully

datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTreerequired
Show properties
childrengithub_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree[] | null
Show properties
Array of github_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree
Circular reference to github_com_enadhq_nabbit_internal_pkg_webserver_models.FolderTree.
foldergithub_com_enadhq_nabbit_internal_pkg_webserver_models.Folder
Show properties
created_atstring
file_countinteger
has_content_accessboolean
idstring
image_countinteger
is_defaultboolean
namestring
parent_idstring | null
publicboolean
slugstring
updated_atstring
video_countinteger
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

Folder not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.enad.io/api/v1/string/string/dam/folders/string/tree' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": {
    "children": [
      {}
    ],
    "folder": {
      "created_at": "string",
      "file_count": 0,
      "has_content_access": true,
      "id": "string",
      "image_count": 0,
      "is_default": true,
      "name": "string",
      "parent_id": "string",
      "public": true,
      "slug": "string",
      "updated_at": "string",
      "video_count": 0
    }
  },
  "details": [
    "string"
  ],
  "success": true
}