events.updates

Acquire new OK events via long polling subscription

NameRequiredTypeDescription
marker false String

Events marker

types false Set[]

Event types to be returned in a response

count false int

Maximum amount of events to be returned

timeout false int

Maximum amount of time to wait for new events

commit false boolean

Mark all acquired events as read. If parameter is false all acquired events are count as new on following method calls

Authorization

Session is prohibited

Required permissions

  • VALUABLE_ACCESS

To enable OK events you need to subscribe to them in application settings. For more information go here.

Type

{ "marker": "String", "updates": [ "String" ] }

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