地区月份统计找到 1 个接口
查找前N个地区
findTopServerRegionCountryMonthlyStats
POST/ServerRegionCountryMonthlyStatService/findTopServerRegionCountryMonthlyStats
- 定义文件
service_server_region_country_monthly_stat.proto- 可用角色
- 管理员用户
rpc findTopServerRegionCountryMonthlyStats (FindTopServerRegionCountryMonthlyStatsRequest) returns (FindTopServerRegionCountryMonthlyStatsResponse);
请求消息
FindTopServerRegionCountryMonthlyStatsRequest查找前N个城市
message FindTopServerRegionCountryMonthlyStatsRequest {
string month = 1; // YYYYMM
int64 serverId = 2;
int64 offset = 3;
int64 size = 4;
}
响应消息
FindTopServerRegionCountryMonthlyStatsResponsemessage FindTopServerRegionCountryMonthlyStatsResponse {
repeated Stat stats = 1;
message Stat {
RegionCountry regionCountry = 1;
int64 count = 2;
}
}