GET /internal/tenant/{tenant_id}/check-quota
Check if specified tenant resource usage exceeds quota limits
Tenant Service None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Tenant ID |
resource_type |
query |
string |
Yes |
|
|
|
Resource type |
requested |
query |
integer |
No |
|
|
|
Requested quantity |
Referenced Schemas
dto.CheckQuotaResponse
Quota check result
| Field | Type | Required | Example | Constraints | Description |
allowed |
boolean |
No |
True |
|
Is allowed |
current_usage |
integer |
No |
45 |
|
Current usage |
limit |
integer |
No |
100 |
|
Limit |
message |
string |
No |
Quota sufficient |
|
Message |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|