Query All Monitoring Metrics

Last Updated on : 2021-12-11 08:37:43download

Query all monitoring metrics under a specified monitoring type, including the code, name, and unit of the monitoring metrics.

API address

GET: /v1.0/iot-03/si/products/indicator-code

Request parameter

Parameter name Type IN Required Description
monitor_type String query true The monitoring type.

Return parameter

Parameter name Type Description
result List A list of monitoring metrics.

Description of result

Parameter name Type Description
indicator_code String The code of a specified metric.
indicator_name String The name of a specified metric.
unit String The unit.

Request example

GET: /v1.0/iot-03/si/products/indicator-code?monitor_type=environment

Return example

{ "result": [ { "indicator_code": "co2_value", "indicator_name": "Carbon dioxide detection value", "unit": "ppm" } ] }

Error code

For more information, see error code.