GET /admin/oauth/clients/{client_id}/stats
返回指定客户端的令牌使用统计(活跃 token 数、最后请求时间等)
OAuth 客户端管理 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
client_id |
path |
string |
Yes |
|
|
|
客户端ID |
Referenced Schemas
dto.ClientStatsDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ClientStatsResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ClientStatsResponse
OAuth客户端令牌统计信息
| Field | Type | Required | Example | Constraints | Description |
active_refresh_tokens |
integer |
No |
5 |
|
|
active_tokens |
integer |
No |
10 |
|
|
client_id |
string |
No |
client-001 |
|
|
last_request_at |
string |
No |
2026-04-15T10:30:00Z |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|