Obtaining the Device Status List
Function
This API is used to obtain the monitoring status of all devices in a project.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/devices/monitor-info
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
monitor_infos |
Array of MonitorInfo objects |
Device status information list. |
|
total |
Integer |
Total number of records. |
|
Parameter |
Type |
Description |
|---|---|---|
|
description |
String |
Description. |
|
id |
String |
ID |
|
ip |
String |
Device IP address. |
|
license_info |
LicenseInfo object |
License information. |
|
name |
String |
Name. |
|
os_info |
OsInfo object |
VM resource specifications. |
|
status |
String |
Status. |
|
type |
Integer |
Type. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Query result. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project does not exist. |
Error Codes
See Error Codes.
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