gamification.missionInfo

Returns a list of available missions in OK gamification service

NameRequiredTypeDescription
uid false String

User id. Used for calls without user session

missionId false String

Mission identifier

Authorization

Session is optional (for External applications - required)

Required permissions

  • VALUABLE_ACCESS

To complete a mission use gamification.missionStateChanged method.

Type

{ "coinsNow": "long", "missions": [ { "children": [ "game.MissionInfo" ], "count": "int", "limit": "int", "limitExceeded": "boolean", "missionId": "String", "nextAvailableTs": "long", "reward": { "option": "String", "rewardAmount": "int", "rewardDurationMs": "long", "rewardType": "String" }, "type": "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