Warning. This API is no longer supported and will be disabled on Feb 1, 2021.
This endpoint allows you to get channels that another channel selected as recommended and manage your channel's recommendations (you can find them on your channel's page).
Resource endpoint:
GET /api/v2/channels/:id/recommendations
Request parameters:
None.
Request example:
GET /api/v2/channels/12345/recommendations
Response parameters:
Response example:
{
channels:[channel big JSONs]
}
Resource endpoint:
POST /api/v2/channels/:channel_id/recommendations
Request parameters:
id
.Request example:
POST /api/v2/channels/12345/recommendations?id=9876
Response parameters:
Response example:
{
channels:[channel big JSONs]
}
This methods lets you change the position of the recommended channel in the list of recommendations. The position numbering starts from the first one which is the upper channel in the list.
Resource endpoint:
PUT /api/v2/channels/:channel_id/recommendations
Request parameters:
Request example:
PUT /api/v2/channels/12345/recommendations?id=9876?position=2
Response parameters:
The empty JSON or JSON with an error message.
Resource endpoint:
DELETE /api/v2/channels/:channel_id/recommendations
Request parameters:
id
.Request example:
DELETE /api/v2/channels/12345/recommendations?id=9876
Response parameters:
Response example:
{
channels:[channel big JSONs]
}
Response parameters:
The empty JSON or JSON with an error message.