code: function (params, config, cb) {
              var path = api.getPathWithListParams(baseURL, params);
              api.get(path, config, cb)
          }
docs: /*
  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.