v1.0.0 (2026-08-15 18:56)
Game List & Hall
Overview
- Description: Fetch the game list for a specific provider or category, providing WebP-compressed game icons for fast rendering.
Business Logic & Explanations
TIP
The game list retrieval system is highly optimized for security and frontend performance:
- Parameter Encryption (Anti-Scraping): The
provider_codeorgame_compparameter passed by the frontend MUST be encrypted usingSha256. The backend will decrypt it before querying. Any direct plain-text tampering will be blocked. - Anti-Hotlinking & Image Compression: To hide the true third-party image URLs and improve loading speed, all game icons are fetched via a dedicated image gateway (
/client/games/logo/...). The backend downloads the original image, converts it into a smaller.webpor.svgfile, and caches it locally. - Dynamic Synchronization Tables: When fetching massive game lists from upstream aggregators, the system dynamically creates dedicated tables (e.g.,
game_gsc_xxx) to store hundreds of games, ensuring ultra-fast filtering and searching. - Status Interception: If the user's status is "Frozen (
user_status=2/3)" or they are forced to "Change Password (setpassword=1)", the request will be instantly blocked.
1. GET - Get Game List
- Path:
/client/games/list
Request Headers
| Parameter | Type | Required | Description |
|---|---|---|---|
Authorization | String | Yes | Bearer Token |
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
provider_code | String | Yes | Provider ID/Code, must be Sha256 encrypted |
game_type | String | Yes | Category, e.g., Slot, Live, Fish |
Response Example
json
{
"code": 0,
"msg": "Success",
"data": {
"provider_name": "Pragmatic Play",
"maintain_status": false,
"list": [
{
"id": "vs20olympgate",
"name": "Gates of Olympus",
"icon": "https://api.domain.com/api/games/logo/pragmatic/vs20olympgate.webp",
"type": "slot"
}
]
}
}