Home / Docs Center / Platform API / Channel Video Source-1
Channel Video Source-1
Project: Platform API | page_id: 159
Brief Description:
- Configure where the channel video can be played, using the Referer mechanism. The prerequisite API is [Device Channel Information] query.
Request URL:
- /product/setReferrer
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| id | Required | string | Device ID |
| channelId | Required | int | Channel ID, starting from 1 |
| referrer | Required | string | Video source; separate multiple values with commas |
Response Example
{
"code":0,
"msg": ""
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | int | Status code, 0 means success |
| msg | string | Status message, empty on success |
Notes
- Applicable to self-hosted platforms
Didn't find what you need?Contact us,Talk to our engineers directly.