hobbies.get

NameRequiredTypeDescription
hobby false String
origin false ApiHobbyRequestOrigin

Authorization

Session is required

Required permissions

  • VALUABLE_ACCESS

Type

{ "etag": "String", "hobbies": [ { "background": { "type": [ "IMAGE", "LINEAR_GRADIENT", "POLL_COVER", "SIMPLE", "SIMPLE_IMAGE" ] }, "background_color": { "dark": { "type": [ "IMAGE", "LINEAR_GRADIENT", "POLL_COVER", "SIMPLE", "SIMPLE_IMAGE" ] }, "light": { "type": [ "IMAGE", "LINEAR_GRADIENT", "POLL_COVER", "SIMPLE", "SIMPLE_IMAGE" ] } }, "background_image_id": "long", "id": "String", "image_url": "String", "level": "int", "text_color": "String", "title": "String", "use_background": "boolean" } ] }

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