請提供接收端網址 (e.g: https://ip-address:port/)
- 所有接口採用 POST 推送
- Json 字符將會放在請求 body 推送過去
- HTTP Header 中會加上
X-UIM-APIKEY: {api-key}
- 消息接收
{ "GROUP_ID": "groupid", "PLAYER_ID": "playerid", "MESSAGE_TEXT": "body" }
GROUP_ID: 羣組 ID
PLAYER_ID: 玩家ID
MESSAGE_TEXT: 內容 (傳送時會透過 Base64 編碼)
- 羣成員接收
{ "playerList": [ { "PLAYER_ID": "playerid", "NICK_NAME": "nickname" }, { "PLAYER_ID": "playerid2", "NICK_NAME": "nickname2" } ], "GROUP_ID": "groupid" }
GROUP_ID 用戶ID(羣組ID)
PLAYER_ID 玩家ID
NICK_NAME 暱稱