GET
URI:
- /api/v1/count?resource=***
Input fields:
Field Name | Type | Required |
Description |
---|---|---|---|
resource |
string |
Yes |
Resources such as
|
realm_id | string | No | The realm ID. |
Successful response fields:
Field name | Type | Description |
---|---|---|
[specific resource] | integer | The remaining available resource count. |
quota | integer | The total allowed resource count. |
Response codes:
Code |
Response content |
Description |
---|---|---|
200 OK | Resource count has been returned. | |
400 Bad Request |
|
|
403 Forbidden |
|
Example request body:
None
Example of successful response body:
{ "user": 120, "quota": 1200000 }