Files
pyGoEdge-UserPanel/reference/goedge 文档/ServerRegionProviderMonthlyStatService.md
2025-11-18 03:36:49 +08:00

46 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ServerRegionProviderMonthlyStatService
> 运营商月份统计
---
## findTopServerRegionProviderMonthlyStats
> 查找前N个运营商
- 角色:`admin`, `user`
- HTTP`POST https://backend.dooki.cloud/ServerRegionProviderMonthlyStatService/findTopServerRegionProviderMonthlyStats`
- RPC`rpc findTopServerRegionProviderMonthlyStats (FindTopServerRegionProviderMonthlyStatsRequest) returns (FindTopServerRegionProviderMonthlyStatsResponse);`
**请求对象 (`FindTopServerRegionProviderMonthlyStatsRequest`)**
```json
{
"month": "string // YYYYMM",
"serverId": "int64 // 服务ID网站ID",
"offset": "int64 // 读取位置",
"size": "int64 // 数量通常不能小于0"
}
```
**响应对象 (`FindTopServerRegionProviderMonthlyStatsResponse`)**
```json
{
"stats": "[]Stat",
"regionProvider": "RegionProvider",
"count": "int64 // 数量"
}
```
**调用示例**
```bash
curl -X POST "https://backend.dooki.cloud/ServerRegionProviderMonthlyStatService/findTopServerRegionProviderMonthlyStats" \
-H "Content-Type: application/json" \
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
-d '{
...
}'
```
---