Entering the Game Event
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| event_type | Yes | String | Specifies the event type. The enumerated value is app. |
| event | Yes | Object | Specifies the event information. For details, see Table 1. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| status | Yes | Integer | 0: Enter the game. |
| phone_id | Yes | String | Specifies the unique ID of a server. This parameter is required for server tasks. |
| app_id | Yes | String | Specifies the unique ID of an application. |
| time | Yes | String | Specifies the game access time. The value is a UTC time. |
| error_msg | No | String | Specifies the task error code description. |
| session_id | Yes | String | Specifies the ID of the session for accessing the game. |
| ticket | No | String | Specifies the ticket used for authentication. |
Example Request
{
"event_type": "app",
"event": {
"phone_id": "a7f3a1c5258347d6b6f1def79e11f2bc",
"status": 0,
"session_id": "856f5555806443e98b7ed04c5a9d6a9a",
"ticket": "5558064856f5555806443e98b7ed04c5a9d6a9ab7ed04c5a9d6a806443e98",
"time": "2019-11-14T19:38:49Z",
"app_id": "856f5555806443e98b7ed04c5a9d6a9a",
"error_msg": null
}
} Response Parameters
| Parameter | Type | Description |
|---|---|---|
| request_id | String | Specifies the request ID, which is unique. |
Example Response
{
"request_id": "6837531fd3f54550927b930180a706bf"
} Last Article: Verifying the Access
Next Article: Quitting the Game Event
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.