code: func (client *Client) GetAlerts() ([]Alert, error) {
  	var out reqAlerts
  	if err := client.doJsonRequest("GET", "/v1/alert", nil, &out); err != nil {
  		return nil, err
  	}
  	return out.Alerts, nil
  }
docs: // GetAlerts returns a slice of all alerts.