/internal/billing/usage/{tenant_id}
服务间内部调用:查询指定租户的当前资源使用量统计数据,供其他微服务进行配额校验
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
tenant_id |
path |
string |
Yes | 租户ID |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 使用量查询成功 | object |
| 400 | 请求参数错误 | object |
| 401 | 未授权 | object |
| 500 | 服务器内部错误 | object |