System Overview
Data Content
This API provides game table data subscription on a per-table basis, with each table being subscribable separately. Each table provides two major categories of data: "Management Data" and "Game Data":
Management Data includes table opening, closing, maintenance, cover photo updates, and other management-related operations.
Game Data includes shift, shoe, and round data, as well as records of each action such as dealing cards and rolling dice.
Interface Categories
This API provides all data through two methods: "Active Push" and "Passive Query":
Active Push: Subscribe to our AMQP interface, and event notifications are sent immediately when events occur.
Passive Query: After events occur, data can be retrieved through gRPC/HTTP API.
Data Structure
All data content is divided into the following four object types:
- GameProvide (Game Table): Management data
- ShiftRecord (Shift): Game shift information
- ShoeRecord (Shoe): Shoe information
- RoundRecord (Round): Round information
Data Flow
Game Table (GameProvide)
↓
Shift (ShiftRecord)
↓
Shoe (ShoeRecord) [Some games may not have this]
↓
Round (RoundRecord)
A shift typically contains multiple shoes, and one shoe can have multiple rounds. For games without shoes, there will only be shift and round data, with one shift containing multiple rounds.
Important Notes
- All data has timestamps for easy tracking and querying