list_objects
Browse the contents of a Qencode Media Storage bucket.
Args:
bucket: bucket name (see `list_buckets`). An unknown bucket fails with
`bucket_not_found`.
prefix: optional key prefix to filter by (e.g. `raw/`).
continuation_token: pass the `next_token` from a previous truncated
response to fetch the next page.
Returns `{objects, is_truncated, region, public}` plus `next_token` when
truncated. Each object has `key`, `size`, `last_modified`, `extension`
(from the key, e.g. `m3u8` / `mp4` / `""`), `destination_url` (that
object's S3 URL — private `source` / stitch / subs / logo, not dest),
and `cdn_url` when the bucket is public (playback and public fetch).
Copy those URLs; do not assemble them. Job dest is always a NEW path
`{destination_prefix}/{new filename or folder}` from `list_buckets`.
Public playback is `cdn_url`. A private progressive file (`.mp4` / `.webm`)
plays via `get_download_url`. Do not call `get_download_url` for HLS/DASH.
One call returns up to ~1000 objects; page with
`continuation_token=next_token` when `is_truncated` is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| prefix | No | ||
| continuation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| public | No | ||
| region | No | ||
| objects | Yes | ||
| next_token | No | ||
| is_truncated | Yes |