Query Asset Topology Rule


Get asset topology rules.

Request Format


GET https://{api-gateway}/cds-asset-service/v1.0/topology/rule?action=query

Request Parameters


Name Location Mandatory/Optional Data Type Description
orgId Query Mandatory String The organization ID which the topology rule belongs to. How to get orgId >>
locale Query Optional String Use zh-CN, en-US, ja-JP, or es-ES. If not specified, the value is set to en_US by default.
withI18n Query Optional Boolean Whether to return the internationalization content.

Response Content Type


application/json; charset = UTF-8

Samples

Request Sample


GET https://{api-gateway}/cds-asset-service/v1.0/topology/rule?action=query&orgId=yourOrgId

Response Sample


{
   "data": [
        {
             "ruleId" : "Storage_Park_Level_Topology",
             "ruleName" : "Park Topo",
             "ruleNameI18n":{}
        }
    ],
    "code": 0,
    "msg": "OK",
    "traceId": "1234567890abcdefghijkl0987654321"
}