Querying Enterprise Resource Usage as an Enterprise Administrator
Description
This API is used to query the resource usage of an enterprise as the enterprise administrator.
Debugging
You can debug this API in API Explorer.
Prototype
Request Method |
GET |
---|---|
Request Address |
/v1/mmc/management/orgRes |
Transport Protocol |
HTTPS |
Request Parameters
Parameter |
Mandatory |
Type |
Location |
Description |
---|---|---|---|---|
X-Access-Token |
Yes |
String |
Header |
Authorization token. Use the value of accessToken in the response to the request for Authenticating an App ID. |
Status Codes
HTTP Status Code |
Description |
---|---|
200 |
Operation successful. |
400 |
Invalid parameters. |
401 |
Authentication is not performed or fails. |
403 |
Insufficient permissions. |
500 |
Server exception. |
Response Parameters
Parameter |
Type |
Description |
---|---|---|
usedRecStorage |
Double |
Used recording storage space, in GB. |
usedAccountsCount |
Integer |
Number of concurrent participants that have been used. |
usedLiveCount |
Integer |
Used live broadcast resources. |
confCount |
Integer |
Total number of meetings on the current day. |
confLength |
Integer |
Total meeting duration on the current day. |
activeAttendeeCount |
Integer |
Number of active users on the current day. |
totalAttendeeCount |
Integer |
Total number of participants on the current day. |
Example Request
GET /v1/mmc/management/orgRes HTTP/1.1 Connection: keep-alive X-Access-Token: ******* user-agent: WeLink-desktop Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
Example Response
HTTP/1.1 200 OK Content-Length: 141 Cache-Control: no-store Connection: keep-alive Content-Type: application/json Date: Thu, 24 Dec 2020 06:25:59 GMT Server: api-gateway X-APIG-Latency: 261 X-APIG-Ratelimit-Api: remain:99,limit:100,time:1 minute X-APIG-Ratelimit-Api-Allenv: remain:199,limit:200,time:1 second X-APIG-Upstream-Latency: 259 X-Envoy-Upstream-Service-Time: 210 X-Request-Id: f991eeec77df1692c74f253d765ca146 { "usedRecStorage": 39.59, "usedAccountsCount": 1, "usedLiveCount": 0, "confCount": 4, "confLength": 57, "activeAttendeeCount": 1, "totalAttendeeCount": 2 }
Error Codes
If an error code starting with MMC or USG is returned when you use this API, rectify the fault by following the instructions provided in Huawei Cloud API Error Center.
Example cURL Command
curl -k -i -X GET -H 'X-Access-Token:******' https://api.meeting.huaweicloud.com/v1/mmc/management/orgRes
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot