Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get Full Folder Tree

Retrieves the complete folder hierarchy starting from the root folder

GET/api/v1/{app_id}/folders/tree
Authorization
AuthorizationAPI key · headerrequired

Bearer token (format: "Bearer {token}")

Path parameters
app_idstringrequired

App ID

Responses
200

Full folder tree

datainternal_pkg_webserver_public-webserver_v1.FolderTreeItemResponse
Show properties
childreninternal_pkg_webserver_public-webserver_v1.FolderTreeItemResponse[] | null
Show properties
Array of internal_pkg_webserver_public-webserver_v1.FolderTreeItemResponse
Circular reference to internal_pkg_webserver_public-webserver_v1.FolderTreeItemResponse.
created_atstring
file_countinteger
has_content_accessboolean
idstring
image_countinteger
is_defaultboolean
namestring
parent_idstring | null
publicboolean
slugstring
updated_atstring | null
video_countinteger
successboolean
400

Invalid request

detailsstring[] | null
errorstring
404

Root folder not found

detailsstring[] | null
errorstring
500

Internal server error

detailsstring[] | null
errorstring
Try it
Server
Authorization
Parameters
Request
curl -X GET '//dam.enad.io/api/v1/string/folders/tree' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "data": {
    "children": [
      {}
    ],
    "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
  },
  "success": true
}