video.edit
The translation was generated automatically and may contain mistakes
Метод редактирует данные видеозаписи.
Parameters
integer
An optional parameter. The identity of the user or community that owns the video. The community ID should start with a sign - .
positive
Mandatory parameter. Video ID.
You can find the ID in the address bar of the open video:
- •After the word
video. - •After the sign
?.
Required parameter
string
An optional parameter. A new video title. The maximum number of characters is 128.
string
An optional parameter. New description of the video. The maximum number of symbols is 5,000.
string
An optional parameter. Privacy settings for viewing videos. indicated in special format .
Note. The parameter corresponds to the settings privacy of Communities if the video belongs to the community.
string
An optional parameter. Privacy settings for video comments. indicated in special format .
Note. The parameter corresponds to the settings privacy of Communities if the video belongs to the community.
checkbox
An optional parameter. Information about whether to disable the ability to comment on videos from communities. Possible values:
- •
1Disable the ability to comment. - •
0Do not turn off the possibility of commenting. The value is used by default.
checkbox
An optional parameter. Информация о том, зациклить ли воспроизведение видеозаписи. ?1?’озможные значения:
- •
1- loop the video. - •
0- do not loop the video.
text
Information for the advertising data operator (ADI):
- •
is_ads. Transferredtrue, если пользователь помети?1?» видео как рекламу, но не заполни?1?» данные для ОРД. - •
advertisers. Данные, полученные из мини-приложения ОР?1?” VK:- •
er_idToken for tracking and accounting. - •
ord_pred_idThe internal identifier.
- •
Result
The method returns an object. Object fields:
Field | Type | Description |
|---|---|---|
success | integer | Status of successful execution of the request. Always.. 1 . |
access_key | string | Access key. Returns when community privacy is selected by_link (accessed by reference). The option is available in API version 5.195 and above. |
Note. Before API version 5.195, after successful execution, only 1 .
Example of response:
{
"response": {
"success": 1,
"access_key": vk1.a.8mo8TRf0jm67Nla3W3fFbe9qKhMNNMqg21DQLgaPUjy0D8FLGkZV7pbMcIefkiw0rLbcnW3Btyk9HeyXENb2-yvH0-BIQJyH5xym9wOUzxxKHRhGpJyV5zb-qs3cspBXo5JXMQ3pZps0gSFHUPonLctbs_pjPsxmp0xzpMQBog_UaraxX64bGmH2ZBQEKkFDTwPtAGcm5K7JA-Bi-0fNaQ
}
}Error codes
Common errors may occur during execution
Linked versions
Go to API versions pageThe data format has been changed, describes the privacy .