# ChannelsCollection

> 影片號帳號的一個合集。

網頁版：https://okdata.online/zh/docs/objects/channels_collection/

所有平台同一種結構。平台沒有的欄位為 null，meta.unavailable 會說明原因。用 fields= 只取需要的欄位。

| 欄位 | 型別 | 說明 |
|---|---|---|
| `id` | string | 合集 ID，可原樣傳給取合集影片的介面。 |
| `name` | string | 合集名稱。 |
| `description` | string \| null | 合集簡介；沒有時為 null。 |
| `cover_url` | string \| null | 封面圖。 |
| `updated_at` | string \| null | 最近更新時間。 |
| `metrics` | CollectionMetrics | 抓取時的資料。 |
| `ext` | object | 平台特有欄位，只在 view=full 時返回。 |

### CollectionMetrics

| 欄位 | 型別 | 說明 |
|---|---|---|
| `videos` | integer \| null | 合集裡的影片數。 |

## 返回 ChannelsCollection 的介面

- [影片號帳號合集](https://okdata.online/zh/apis/wechat_channels/users/collections/list/) (`wechat_channels.users.collections.list`): $0.02/次 · 每頁約 7 條結果

## 各 view 返回的欄位

每一級 view 都包含上一級的欄位。`view=compact` 最精簡；`full` 會在 `ext` 里加上平台特有欄位。

- compact：`id`, `name`, `description`, `updated_at`, `metrics`
- standard：`cover_url`
- full：`ext`
