Stream
Get stream rotation history
GET
https://api.tunio.ai/v1/stream/{stream_id}/historyReturns paginated rotation history for the provided stream
路径参数
| 名称 | 类型 | 说明 |
|---|---|---|
| stream_idRequired | string | Stream UUID |
查询参数
| 名称 | 类型 | 说明 |
|---|---|---|
| page | string | Page number |
| per_page | string | Items per page |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| items | array | Items contains the ordered list of recently played items. |
| [item]Required | object | - |
| pagination | object | Pagination describes the current page metadata. |
| page | integer | Page is the current history page number. |
| per_page | integer | PerPage is the size of the returned page. |
| total | integer | Total is the total amount of history entries. |
| success | boolean | Success indicates loading the history succeeded. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |