GET /admin/tenants/{id}/quota
获取指定租户的资源配额信息,包括用户上限、存储限制等
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
Referenced Schemas
dto.ResourceQuotaDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ResourceQuotaResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ResourceQuotaResponse
租户资源配额信息
| Field | Type | Required | Example | Constraints | Description |
active_users |
integer |
No |
45 |
|
活跃用户数 |
api_calls_per_month |
integer |
No |
10000 |
|
API调用上限 |
storage_gb |
integer |
No |
50 |
|
存储上限 |
tenant_id |
string |
No |
tnt_abc123 |
|
租户ID |
used_api_calls |
integer |
No |
5230 |
|
已用API调用 |
used_storage_gb |
number |
No |
23.5 |
|
已用存储 |
users_limit |
integer |
No |
100 |
|
用户上限 |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|