GetAllMonitorGrp
    • PDF

    GetAllMonitorGrp

    • PDF

    Article Summary

    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 NameRequirement statusTypeRestrictionsDescription
    prodKeyYStringThe 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.