GET
url : https://gamepot.apigw.ntruss.com/gpapps/v2/leaderboardlogs
Header : 'content-type: application/json'
Header 'x-api-key: 86dcgffae0xxxxxxxxxxxxxx'
Header : 'x-project-id: ec8231b2-6b20-4ad1-xxxx-xxxxxxxxx'
data:
{
"leaderboardId" : "leaderboardId",
"search" : "user_id",
"query" : "f1deb103-cae1-47dd-b0aa-xxxxxxxxxx",
"offset": 0,
"per_page": 20
}
GET
url : https://gamepot.apigw.ntruss.com/gpapps/v2/leaderboardlogs
Header : 'content-type: application/json'
Header 'x-api-key: 86dcgffae0xxxxxxxxxxxxxx'
Header : 'x-project-id: ec8231b2-6b20-4ad1-xxxx-xxxxxxxxx'
data:
{
"leaderboardId" : "leaderboardId",
"search" : "score",
"query" : "99-120",
"offset": 0,
"per_page": 20
}
[
{
"rank": 5,
"leaderboard_id": "leaderboardId",
"user_id": "f1deb103-cae1-47dd-b0aa-xxxxxx",
"project_id": "ec8231b2-6b20-4ad1-9c59-xxxxxxxxx",
"score": 99,
"subscore": 100,
"metadata": "{\"key\":\"value\"}",
"expiredAt": "2023-01-30T20:00:00-08:00",
"updatedAt": "2023-01-26T16:23:39-08:00"
}
]
{
"status": -1,
"message": "错误消息"
}