video.update

NameRequiredTypeDescription
uid false String
vid true long
title false String
description false String
tags false String[]
privacy false MoviePrivacy
cover_photo_id false String
cover_photo_upload_token false String
best_thumbnail_index false Integer
publish false Boolean
publish_at false Long
block_comments false Boolean
game false String
donate false Boolean
cid false String
rec false Boolean

Enable/disable stream recording. If start/stop time was not set, stream will be recorded from begin to end. Stream must be turned off before rec/rec_start/rec_stop changing. You must set either both rec_start/rec_stop, or none of them.

rec_start false Long

UTC time of record start, in milliseconds

rec_stop false Long

UTC time of record stop, in milliseconds

restricted false Boolean
direct_link_access false Boolean
restricted_to false String[]
is_ad false Boolean
erid false String
pred_id false String

Authorization

Session is optional (for External applications - required)

Required permissions

  • VIDEO_CONTENT
  • VALUABLE_ACCESS

Type

void

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig