konstantin-paulus c1bc3f0085 Update package.json and README for consistency and clarity
Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
2026-07-20 15:53:30 +02:00

885 B

dapi folder ls [parentId]

Lists the direct child folders of a parent folder, sorted by name. With no id, lists the root-level folders. Aliases: list, get.

Folders organize the asset library and nest arbitrarily; assets reference their containing folder via folderId (null = library root). Everywhere a folder id is optional, omitting it means the library root; there is no sentinel value for the root. Read the full hierarchy (folders and assets together) with asset tree; move assets between folders with asset mv.

Input

  • [parentId]: parent folder id (optional; omitted = the library root)

Output

JSON Lines, one per child folder (no output if the parent has no subfolders):

Folder   // { id: string; name: string; type: 'folder' }

Errors

Exits non-zero if [parentId] doesn't resolve to a folder.