此功能提供您观察玩家行为的便捷方式。
借由在Sessions API 当中置入特定参数并呼叫,将会回传MG活动网站的网址。开启网站后所见内容,将与玩家在玩家专区当中所见内容相同。
支持的参数为:
-
contentType = “Launchpad”
-
contentCode = “ViewOnly”
POST https://api-demo.k2net.io/api/v1/agents/Test_Agent/players/IMTEST/sessions
Request Headers
JSON
Content-Type: “application/x-www-form-urlencoded”
Authorization: “Bearer eyJhbNTI1ODcxN”
Request Body
JSON
langCode: "en-us"
platform: "desktop"
contentCode: "ViewOnly"
contentType: "Launchpad"
Response Headers
JSON
Content-Type: “application/json; charset=utf-8”
Response Body
JSON
{
"url":"https://mgw.basebit.net/#/recmnd?lang=en-us&platform=Desktop&token=eyJhbGc...",
"gameURL":"https://mgw.basebit.net/#/recmnd?lang=en-us&platform=Desktop&token=eyJhbGc..."
}