Query Index Object List

Last updated: 2019-11-29 19:20:29

1. API Description

This API (DescribeObjects) is used to query the metric object list. After the data is reported, you can call this API to query the dimension information of the data you reported.

Domain name: monitor.api.qcloud.com

2. Input Parameters

The following request parameter list only provides API request parameters. Common request parameters are also needed when this API is called. The Action field for this API is DescribeObjects.

Parameter Name Required Type Description
namespace Yes String Namespace. This can be queried by calling the API Query Namespace (DescribeNamespace)
metricName Yes String Metric name. This can be queried by calling the API Query Metric (DescribeMetric)
dimensionNames.n Yes Array Group of dimension names. This can be queried by calling the API Query Metric (DescribeMetric). Enter all the dimensions or part of the aggregated dimensions under the metric
offset No Int Offset. Default is 0 (result is displayed from the first record)
limit No Int The number of records displayed on each page. Default is 30. The record is displayed from offset, and the number of records displayed is limit

3. Output Parameters

Parameter Name Type Description
code Int Error code, 0: Successful. Other values: Failed. For more information, please see Common Error Codes on the Error Codes page
message String Error message
data Array Specific information of object
total Int Total number of objects

"data" of the records contains dimension name and the corresponding dimension group list

4. Example


&<Common request parameters>


    "code": 0,
    "message": "",
    "data": {
        "records": [
                "diskname": "sda",
                "ip": ""
                "diskname": "sda",
                "ip": ""
        "total": 2