storage.getKeys

Return all variable’s keys available for user in an app

NameRequiredTypeDescription
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

anchor false String

Paging anchor.

count false Integer

Amount of keys to be returned.
Limits: from 1 to 1000 keys
Default value: 100

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

{ "anchor": "String", "etag": "String", "keys": [ "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