Тип запроса query
.
Возращает список ярлыков приложений и их параметры.
Параметры запроса
Запрос отправляется без параметров, необоходимые данные содержит access_token
, передаваемый в хедере запроса.
В теле ответа указываются необходимые параметры ярлыка Shortcut.
Пример запроса
query shortcuts{
shortcuts{
id
title
path
group_id
group{
id
title
sort
}
type
popular
sort
args
icon_path
password
main_picture
game_account_group{
id
title
launcher
}
run_as_admin
work_dir
only_for_registered
age_rating
free_run
}
}
Пример ответа
{
"data": {
"shortcuts": [
{
"id": 66634,
"title": "Roblox",
"path": [
"shell:AppsFolder/ROBLOXCORPORATION.ROBLOX_55nm5eh3cm0pr!App"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 2,
"args": null,
"icon_path": null,
"password": null,
"main_picture": null,
"game_account_group": null,
"run_as_admin": true,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 66633,
"title": "Yandex.Music",
"path": [
"C:/Users/User/Desktop/Discord.lnk"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 3,
"args": null,
"icon_path": null,
"password": null,
"main_picture": null,
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 66635,
"title": "Minecraft",
"path": [
"shell:AppsFolder\\Microsoft.4297127D64EC6_8wekyb3d8bbwe!Minecraft"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 4,
"args": null,
"icon_path": null,
"password": null,
"main_picture": "https://storage.yandexcloud.net/smartshell-static/1872/iYTiCAAIYpj2t6ipdtqymnu6minecraft.png",
"game_account_group": null,
"run_as_admin": true,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 37471,
"title": "Counter-Strike 2",
"path": [
"C:/Windows/System/Smartshell/SmartShell.exe"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 5,
"args": "/turn_policies_off",
"icon_path": null,
"password": null,
"main_picture": "https://hb.bizmrg.com/ss-static/279/qzqmEyRePw88icMqdbdJ8MkCgxUnRNcwmz6n6gbNmiktRp6499Rw.jpg",
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 37443,
"title": "Genshin Impact",
"path": [
"C:\\Program Files (x86)\\Steam\\steam.exe"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 6,
"args": "-no-browser",
"icon_path": null,
"password": null,
"main_picture": "https://hb.bizmrg.com/ss-static/279/nDGWLxX884NRSdOFMQZJWjxGBKVo8wkVCqdQ7z82NvA6nZY6MWvQ.jpg",
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 30694,
"title": "Battle.net (Blizzard)",
"path": [
"C:/Users/Public/Desktop/Battle.net.lnk"
],
"group_id": 1652,
"group": {
"id": 1652,
"title": "default",
"sort": 10
},
"type": "APPLICATION",
"popular": true,
"sort": 6,
"args": null,
"icon_path": null,
"password": null,
"main_picture": null,
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 37479,
"title": "World Of Tanks",
"path": [
"D:/Games/World_of_Tanks_RU/WorldOfTanks.exe",
"D:/World_of_Tanks_RU/WorldOfTanks.exe"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 8,
"args": null,
"icon_path": null,
"password": null,
"main_picture": "https://hb.bizmrg.com/ss-static/279/Gj0YNgQMsjtzKmWmfEiwBlkYJlc3Fik33JjVB9OKRrXjTQx7rJbA.jpg",
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 37487,
"title": "Fortnite",
"path": [
"com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true",
"com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true",
"D:/Program Files/Epic Games/Fortnite/FortniteGame/Binaries/Win64/FortniteLauncher.exe"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 10,
"args": null,
"icon_path": null,
"password": null,
"main_picture": "https://hb.bizmrg.com/ss-static/279/KNmcS3byOaA0qxC9uRw1VznRHonKmXUIWZrwuXhKjm1YKC99yDFW.jpg",
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 30698,
"title": "Discord",
"path": [
"C:\\Programs\\Discord\\app-1.0.9008\\Discord.exe",
"C:/Users/User8/Desktop/Discord.lnk",
"C:/Users/User/Desktop/Discord.lnk"
],
"group_id": 1652,
"group": {
"id": 1652,
"title": "default",
"sort": 10
},
"type": "APPLICATION",
"popular": true,
"sort": 10,
"args": null,
"icon_path": null,
"password": null,
"main_picture": null,
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 37493,
"title": "Call of Duty: Warzone",
"path": [
"D:/Battle.net/Call of Duty Modern Warfare/Modern Warfare Launcher.exe",
"D:/Battle.net/Battle.net.exe",
"C:/Program Files (x86)/Battle.net/Battle.net.exe"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 12,
"args": null,
"icon_path": null,
"password": null,
"main_picture": "https://hb.bizmrg.com/ss-static/279/p9vpuMKnUvCZNvL13ZGQqK3lC0imqL3rzqBOKE4XDu1Gb2GyuLP9.jpg",
"game_account_group": null,
"run_as_admin": false,
"work_dir": null,
"only_for_registered": false,
"age_rating": 0,
"free_run": false
},
{
"id": 37489,
"title": "Grand Theft Auto 5",
"path": [
"C:\\Windows\\system32\\sndvol.exe"
],
"group_id": 1932,
"group": {
"id": 1932,
"title": "default",
"sort": 10
},
"type": "GAME",
"popular": true,
"sort": 13,
"args": null,
"icon_path": null,
"password": null,
"main_picture": "https://hb.bizmrg.com/ss-static/279/B7VQ89wiZq2TMJaFyxJrNxlDbAkgZtiILGJwBqU8YDE12o1WAEgs.jpg",
"game_account_group": null,
"run_as_admin": false,
"work_dir": "C:\\Windows\\system32\\",
"only_for_registered": false,
"age_rating": 0,
"free_run": false
}
]
}
}
Параметры ответа
В ответе возвращается массив ярлыков с запрошенными параметрами Shortcut.