lib/alertV2/AlertV2.js
function (params, config, cb) {
            var path = api.getPathWithListParams(baseURL, params);
            api.get(path, config, cb)
        }
function (params, config, cb) {
            var path = api.getPathWithListParams(baseURL, params);
            api.get(path, config, cb)
        }
function ( params , config , cb ) { var path = api . getPathWithListParams ( baseURL , params ) ; api . get ( path , config , cb ) }
/*
This request is to list alerts in Opsgenie, using different filters.
For this filters and query options, you can check list alert document here :
https://www.opsgenie.com/docs/rest-api/alert-api#listAlerts

Also, you can check /samples/alertV2/list.js for a compete example.
/ * This request is to list alerts in Opsgenie using different filters . For this filters and query options you can check list alert document here : https : // www . opsgenie . com / docs / rest - api / alert - api#listAlerts