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

21 lines
740 B
Markdown

# `dapi asset ls [ids...]`
The raw asset records, as persisted minus the file handles: every serializable property the asset carries (per-type media metadata, `folderId`, a stored `transcript`, …). The property-level counterpart to [`asset tree`](./tree.md)'s structure. With no ids, returns every asset in the library. Alias: `get`.
## Input
- `[ids...]`: zero or more asset ids (optional)
## Output
JSON Lines, one per asset:
```ts
AssetRecord = { id: string } & { [property: string]: unknown }
// e.g. name, type, mimeType, size, createdAt, folderId; duration/width/height/… by type
```
## Errors
An unknown id fails the whole command: nothing is printed to stdout and it exits non-zero with `No such asset: <id>` on stderr.