def get_alerts_for_trigger(trigger_id)
      # TODO: add additional filters
      return [] unless trigger_id

      url = '/?triggerIds=' + trigger_id
      ret = http_get(url)
      val = []
      ret.each { |a| val.push(Alert.new(a)) }
      val
    end
def get_alerts_for_trigger(trigger_id)
      # TODO: add additional filters
      return [] unless trigger_id

      url = '/?triggerIds=' + trigger_id
      ret = http_get(url)
      val = []
      ret.each { |a| val.push(Alert.new(a)) }
      val
    end
Obtain the alerts for the Trigger with the passed id
 @param [String] trigger_id Id of the trigger that has fired the alerts
 @return [Array<Alert>] List of alerts for the trigger. Can be empty