apps.getPlatformNew
Name | Required | Type | Description |
---|---|---|---|
fields | true | | |
anchor | false | | |
count | false | |
Authorization
Session is requiredRequired permissions
- VALUABLE_ACCESS
Type
{ "anchor": "String", "apps": [ { "allowedByAge": "Boolean", "allowedByPlatform": "Boolean", "appId": "long", "authorized": "Boolean", "autoShowBannerAd": [ "BAR_BOTTOM", "BAR_TOP", "NONE", "OUTER_BOTTOM", "OUTER_TOP" ], "auto_show_banner_count": "Byte", "banner230x150": "String", "caps": [ "String" ], "category": "String", "description": "String", "friends": [ "String" ], "gameplay_images": [ { "id": "Long", "url": "String" } ], "group_id": "String", "height": "int", "icon": "String", "label": { "backgroundColor": "String", "text": "String", "textColor": "String" }, "mediatopic_id": "String", "miniApp": { "accessToken": "String", "authorOwnerID": "long", "background_loader_color": "String", "friendsCount": "long", "hostGroupId": "long", "iconLink": "String", "identifier": "long", "imageLink": "String", "installed": "boolean", "isNew": "boolean", "loader_icon": "String", "membersCount": "long", "notificationEnabled": "boolean", "permissions": "String", "shortDescription": "String", "signedUserId": "String", "title": "String", "webviewURL": "String" }, "name": "String", "pic1280x720": "String", "pic128x128": "String", "pic50x50": "String", "pic960x960": "String", "players": "Integer", "rating_value": "String", "rating_votes_count": "Long", "ref": "String", "requiredMinAge": "Byte", "shortname": "String", "show_exit_confirmation_window": "Boolean", "store_id": "String", "store_name": "String", "tab_store_id": "String", "tab_store_name": "String", "tags": [ "String" ], "url": "String", "user_permissions": [ [ "APPLICATION_ACL_EDIT", "APPLICATION_CONFIG_EDIT", "APPLICATION_CREATE", "APPLICATION_RUN", "APPLICATION_STATISTICS_VIEW", "COMPANY_MONEY_TRANSFER" ] ], "width": "int" } ], "etag": "String", "has_more": "Boolean", "totalCount": "Integer" }
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