Query Monitor

Last Updated on : 2023-06-21 07:13:07download

Query the list of monitors in the entire project.

API address

GET: /v1.0/iot-03/statistical-indicators/monitors

Request parameter

Parameter name Type IN Required Description
page_no Integer query true The total number of pages.
page_size Integer query true The number of entries per page.

Return parameter

Parameter name Type Description
result PageRsp The returned result.

Description of result

Parameter name Type Description
total Long The total number of entries.
datas List The information about monitors on pages.
has_more Boolean Indicates whether additional pages are available.

Description of datas

Parameter name Type Description
name String The name of a specified monitor.
monitor_id String The monitor ID.

Request example

GET: /v1.0/iot-03/statistical-indicators/monitors
{ "type": "0", "page_no": 1, "page_size": 10 }

Error code

For more information, see error code.