- Method v1
- User
- PlanRestream
- MoneyFlow
- UserProject
- Project
- ProjectHistory
- NotifyUser
- Centrifuge
- Stream key
- PlanTranscoding
- PlanStorage
- Channel settings
- Optional settings for vk. Depends on the tariff.POST
- Optional settings for youtube. Depends on the tariff.POST
- Optional settings for trovo. Depends on the tariff.POST
- Optional settings for twitch. Depends on the tariff.POST
- Optional settings for ok. Depends on the tariff.POST
- Optional settings for vk video live. Depends on the tariff.POST
- Set planned id. Depends on the tariff.POST
- Get playlists from the platformGET
- Get planned listGET
- Set name from custom channel. Global settings.POST
- Set rtmp url from channel. Global settings.POST
- Set transcoder from channel. Personal settings.POST
- Get status platformGET
- Get status platformGET
- Optional settings for telegramPOST
- Get telegram post by filterGET
- Get telegram post listGET
- Get telegram settingsGET
- Set telegram settingsPOST
- Get code for connected chatGET
- Disconnect telegram chatGET
- Channel
- Transcoders
- Platforms
- Auth
- Socials
- Transactions
- BlogPage
- HelpPage
- NotifyHistory
- ProjectChannelInvite
- List of invites for channel in project
- Get invitation for channel
- Accept channel invitation for selected project
- Decline channel invitation for selected project
- Get channel invitation using a secret link
- Accept channel invitation using a secret link
- Decline channel invitation using a secret link
- Get channel invite item for my channel for another user
- Add channel invite item for another user by id
- Add channel invite item for another user by email
- Del channel invite item for my channel for another user
- ProjectChannel
- BlogPageTag
- RtmpServer
- Pay system
- Payment
- Pay setting
- Stream pull keys
- Payout
- Chat gateway
- Broadcast
- Release
- Live
- Analytics
- Promo
- PolicyPage
- Referrals
- Pull servers
Optional settings for youtube. Depends on the tariff.
POST
/method/channel_settings/options/setYoutube
Channel settings
Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the oauth.Example:
Authorization: oauth ********************
Body Params application/json
v
enum<string>
required
Allowed values:
123
Example:
3
language
enum<string>
required
Allowed values:
ruencn
Default:
en
Example:
en
project_id
number
required
channel_id
number
required
title
string
required
<= 100 characters
Default:
title
Match pattern:
/^[^<>]*$/
description
string
required
<= 5000 characters
Default:
description
Match pattern:
/^[^<>]*$/
category_id
string
required
>= 1 characters<= 255 characters
Default:
498482
Match pattern:
/^[0-9]*$/
category_name
string
required
>= 1 characters<= 255 characters
Default:
name
playlist_id
string
required
>= 1 characters<= 255 characters
audience
enum<string>
required
Allowed values:
mark_for_kidsmark_for_nokids
Default:
Audience
Example:
mark_for_kids
latency
enum<string>
required
Allowed values:
normallowultraLow
Default:
Latency
Example:
normal
privacy_video
enum<string>
required
Allowed values:
privatepublicunlisted
Default:
privacy video
Example:
public
image
string
required
Default:
image url link or base64
lang
enum<string>
required
Allowed values:
ruen
Default:
Lang
Example:
ru
tags
array[string]
required
>= 1 items
Example:
["games"]
Example
{
"v": "1",
"language": "en",
"project_id": 0,
"channel_id": 0,
"title": "title",
"description": "description",
"category_id": "498482",
"category_name": "name",
"playlist_id": "string",
"audience": "Audience",
"latency": "Latency",
"privacy_video": "privacy video",
"image": "image url link or base64",
"lang": "Lang",
"tags": [
"games"
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-v2.streamvi.io/method/channel_settings/options/setYoutube' \
--header 'Content-Type: application/json' \
--data-raw '{
"v": "1",
"language": "en",
"project_id": 0,
"channel_id": 0,
"title": "title",
"description": "description",
"category_id": "498482",
"category_name": "name",
"playlist_id": "string",
"audience": "Audience",
"latency": "Latency",
"privacy_video": "privacy video",
"image": "image url link or base64",
"lang": "Lang",
"tags": [
"games"
]
}'
Responses
🟢201Created
application/json
Body
success
boolean
required
Default:
true
Example
{
"success": true
}
🟠400Bad Request
Modified at 2025-05-05 15:10:46