Game Round History
🕹️ Description
Command 22 – List Gameplay History of a User (with Replay)
This command returns a styled HTML table displaying the gameplay history of a specific user. It includes pagination (10 entries per page) and optional replay functionality. You can filter by gameplay ID (gpid) or request only incomplete rounds.
The Replay button included in the HTML lets you view a description or even replay the actual gameplay screen (depending on the game).
📜 Sample JSON Request (from your server to the RGS-CWS server)
{ "command": "22", "login": "demoaccount", "gpid": "78221", "incomplete": "1", "apiusername": "your_api_username", "apipass": "your_api_password" }🔐 Note: The input must be securely sent to the REST API URL. All field names and values are case-sensitive and must match the exact format provided.
📥 Input Parameters (from your server to the RGS-CWS server)
You must provide either
loginoruserid— not both.
📃 Sample JSON Response (returned by RGS-CWS)
✅ Success:
{ "message": "<html>...Styled HTML table of gameplays with REPLAY buttons...</html>" }❌ Failure (e.g., invalid user):
{ "message": "ERROR" }📤 Output Parameters (returned by RGS-CWS)
✅ Operator Notes
Use this command for support tools, player history panels, or compliance audits.
The returned HTML is already styled, and includes REPLAY buttons per entry.
To retrieve only unresolved rounds (e.g., interrupted gameplays), use
incomplete = "1".