#

SUD

Description

  • Bullet Screen - Game Preparation

Request Method

  • HTTPS
  • POST
  • Parameters are in JSON format and placed in the body.

Request Parameters (additional fields may be added, please keep compatibility with the newly added fields on the server side)

Parameter Name Required Type Description Example
notify_id Yes string Notification ID 0795d77f85789da0eb387a5096
notify_time Yes string Server-side timestamp (milliseconds) at the time of notification 1647834452408
app_id Yes string Application ID of the message recipient 1
notify_event Yes string Notification event sud.mg.merchant.bullet.game.prepare
data Yes BulletGamePrepareModel Notification data {}
BulletGamePrepareModel
Parameter Name Required Type Description Example
mg_id Yes string Game ID 14615640800525066
anchor_id Yes string Anchor ID 9009
round_id Yes string Round ID round00001
msg_id Yes string Message ID 1692082187609964545
timestamp Yes int64 Timestamp 1692258830045
mode Yes int32 Game Mode 1=Single Player, 2=Multiplayer, 3=Nation War, 5=Ranked Match, 9=Canyon
Message Verification

Signature Verification

Request Example

{
    "notify_id": "0795d77f85789da0eb387a50964993a3eba1fedfec2b12f729861392a9b5ad04",
    "notify_time": "1647844976502",
    "app_id": "14615640800525066",
    "notify_event": "sud.mg.merchant.bullet.game.prepare",
    "data": {
        "mg_id": "mgid01",
        "anchor_id": "9009",
        "round_id": "round00001",
        "msg_id": "1692082187609964545",
        "timestamp": 1692258830045,
        "mode": 1
    }
}

Notification Response

Parameter Name Required Type Description Example
ret_code Yes int32 Return status code, 0 for successful notification, other error codes for failure 0
ret_msg Yes string Return message SUCCESS

Response Example

{
    "ret_code": 0,
    "ret_msg": "SUCCESS",
}

results matching ""

    No results matching ""