Home / Docs Center / Platform API / Channel Video Source-1

Channel Video Source-1

Platform API · General API

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.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.