cURL
curl --request GET \ --url https://api.mcmp.app/v1/servers/{serverId}/players/{playerId}/history \ --header 'Authorization: Bearer <token>'
{ "player": { "uuid": "<string>", "name": "<string>", "online": true, "lastSeen": "2023-11-07T05:31:56Z" }, "sessions": [ { "joinTime": "2023-11-07T05:31:56Z", "leaveTime": "2023-11-07T05:31:56Z", "duration": 123 } ], "totalPlayTime": 123 }
Returns the play history for a specific player
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the server
The unique identifier of the player
Successful response
Show child attributes
Total play time in seconds
Was this page helpful?