Channels
List the channels in this project
GET
https://api-v2.acrcloud.com/api/bm-bd-projects/:pid/channels
This endpoint allows you to get free cakes.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The project id |
Query Parameters
Name | Type | Description |
---|---|---|
state | string | All,Running,Timeout,Paused,Invalid URL,Mute,Other. Default is All |
timemap | string | 0 or 1 |
search_type | string | channel_id, channel_name, city, custom_id, mytuner_id |
search_value | string | |
page | number | The page number |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Accept | string | application/json |
Add channels to your project
POST
https://api-v2.acrcloud.com/api/bm-bd-projects/:pid/channels
Path Parameters
Name | Type | Description |
---|---|---|
pid | number | The project id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Accept | string | application/json |
Content-Type | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
channels | string | channel_id array |
Delete channels from your project
DELETE
https://api-v2.acrcloud.com/api/bm-bd-projects/:pid/channels/:channel_ids
Path Parameters
Name | Type | Description |
---|---|---|
pid | string | The project id |
channel_ids | string | One or multiple channel ids, |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Accept | string | application/json |
Last updated