storage.get

Returns a value of a variable by it’s key. Variable can be set with storage.set method.

NameRequiredTypeDescription
keys true String[]

List of keys
Max length of a key: 100 characters

uid false String

User id. Must be set in case of a server method call
If method is called within a user’s session uid does not need to be specified

scope false CallScope

Variable type:

  • CUSTOM - user-specific variable;
  • GLOBAL - global variable available for all users.

Authorization

Session is optional (for External applications - required)

Required permissions

  • VALUABLE_ACCESS

Limits

Storage API methods have some limits regarding unique keys amount:

  • maximum of 1000 keys per user;
  • maximum of 5000 keys per app.

Type

{ "data": { "lang.String": "String" }, "etag": "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