Number Of Game Records

Description of the number of player game records

a'YesPlayer game record description

  • This interface is mainly used by merchants to query the number of game records of players' games.

  • The interface is not related to the public description above

  • MINI.GAME server time zone: UTC+0. Integrators should be mindful of time zone calculations when processing data statistics.

GetGameLogListCount

This API is provided by the MINI.GAME platform and is called by the integrator.

POST {BACKEND_URL}/api/special/outer/record/GetGameLogListCount?trace_id=your_trace_id

{BACKEND_URL} is the MINI.GAME configuration interface in the merchant backend where the domain for backend API calls can be obtained.

2. Public parameters (all API calls from the platform calling merchants must be included)

Parameter
Location
Required
Type
Description

app_id

header

Yes

string

Merchant number

trace_id

url params

Yes

string

unique and randomly generated.

3.Interface parameters

Name
Location
Required
Type
Description

uname

body

No

string

User ID, matches the uname field used for game player verification.

game_id

body

No

integer

Game ID,If id=0, query all games

start_time

body

No

integer

Query Start Time: Timestamp in UTC+0

end_time

body

No

integer

Query End Time: Timestamp in UTC+0

Headers

Name
Value

Content-Type

"application/json; charset=utf-8"

sign

"your_sign_string"

Please refer to the Signature Algorithm and Example page for details on the signature algorithm.

4.CallBack

When the HTTP status code returned by the integrator is 200, the API request is successful and the response can be parsed normally. For other HTTP errors, the connection is considered abnormal. When the return code is 200, the Content-Type will be "application/json;charset=UTF-8".

Example of a successful response:

{
    "code": 1,
    "msg": "success",
    "data": 10000
}

Response Field Description

Field
Required
Type
Description

code

Yes

integer

Status Code

msg

Yes

string

Prompt message

data

Yes

integer

Number of game records

When code is not 1, it means failure

{
    "code": 20001,
    "msg": "no merchant"
}

Error Code

For more error codes, please refer to the Special Error Code page description.

Last updated