Page body
What this page shows
Players / API Requests is a technical inspection surface for rows returned from db.ApiEvent. Operators use it to inspect raw request and response traffic connected to player-related systems.
The page combines:
- top-level monitoring controls (
Auto-refresh,Refresh) - quick filters for free-text payload search,
User ID, andSystem - an expandable advanced-filter area
- a request log table with per-row actions
- a details dialog with
Pretty,Raw, andInfotabs for one selected event
When to use it
Use this page when you need to:
- inspect a failed or suspicious integration call
- search request or response payload text for one user or one transaction trace
- compare how the same log row looks in formatted JSON, raw payload form, and metadata form
- export one log row as JSON for debugging or escalation
Visible controls
The FE currently renders these top-level controls:
Auto-refresh: re-fetches the current result set every 10 secondsRefresh: immediate manual refetchSearch in requests and responses: free-text search sent to the backendsearchquery parameterUser ID: backend query filter for one userSystem: backend query filter for one source system (carouseller,softgamings,st8, orall)Filters: advanced filter drawer toggle with a badge showing active local controlsClear: resets all local filter controls back to defaults
The advanced filter section renders:
Time PeriodFromToStatus CodeHTTP MethodURL Path
How to read the table
The visible table columns are:
System: integration or subsystem label rendered as a chip with a system iconUser ID: user identifier stored on the log rowMethod: FE-derived method extracted from the request payload when possibleURL: FE-derivedurlorpathextracted from the request payload when possibleStatus: FE-derived status code extracted from the response payload when possibleResponse: truncated response preview, shown either as a compact formatted block or a rawCodeEditorblock depending onRaw FormatDate:createdAttimestampActions: row menu forView Details,Copy as JSON, andExport
The header status bar also exposes:
Raw Format: toggles the list column renderer forResponse- request count chip
- current local refresh timestamp
Details dialog
Each row can be opened with View Details. The dialog contains three views:
Pretty: formatted request and response sections with quick metadata cardsRaw: full raw request and response payloads in code viewersInfo: metadata summary including system, user, created date/time, detected content types, and payload byte size
The dialog footer repeats two export-style actions:
Copy as JSONExport
Known caveats
- The backend query currently accepts only
search,userId,system,timeRange,dateFrom,dateTo,limit, andpageNo. - FE controls for
Status Code,HTTP Method, andURL Pathare rendered locally, but the current hook does not send them to the backend query. They should be treated as presentational / future-ready controls, not effective backend filters. Method,URL, andStatusare not stored as first-class DB columns in this page response. The FE derives them by parsing therequestorresponsepayload.Copy as JSONandExportwork on the selected log row only. They do not export the whole filtered result set.- The page is inspection-only. It does not replay requests or mutate player data.
Verification status
- status:
verified_backend - last verified:
2026-04-18 - note: FE page, SWR hook, admin controller, and
ApiRequestsServicequery contract are traced. DerivedMethod,URL, andStatussemantics are verified as FE parsing logic, not backend-owned columns.