GetAllMonitorGrp
- Print
- PDF
GetAllMonitorGrp
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
This API queries all monitored target groups associated with a specific product.
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/monitor/{prodKey}
Method: GET
Request header
The request headers specified in common settings are required.
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Request Parameters
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
prodKey | Y | String | The cw_key of the product with which the monitored target group is associated |
Example
Request example
GET /cw_fea/real/cw/api/rule/group/monitor/xxxxxxxxxxxxxxxxxx
Host: cw.apigw.ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Response example
[
{
"groupDesc": "Monitored target group 001",
"groupName": "monitorGrp001",
"id": "monitorGrpId001",
"monitorGroupItemList": [
{
"nrn": "targetNRN001",
"resourceId": "targetId001"
},
],
"prodKey": "xxxxxxxxxxxxxxxxxx",
"prodName": "product001",
"temporaryGroup": false,
"type": "NORMAL"
},
{
"groupName": "monitorGrp002",
"id": "monitorGrpId002",
"monitorGroupItemList": [
{
"nrn": "targetNRN001",
"resourceId": "targetId001"
},
{
"nrn": "targetNRN002",
"resourceId": "targetId002"
}
],
"prodKey": "xxxxxxxxxxxxxxxxxx",
"prodName": "product002",
"temporaryGroup": false,
"type": "NORMAL"
}
]
Was this article helpful?