code: func (h *Host) AccountsStatus() (interface{}, []camtypes.StatusError) {
  	h.didInit.Wait()
  	var s []accountStatus
  	var errs []camtypes.StatusError
  	for _, impName := range h.importers {
  		imp := h.imp[impName]
  		accts, _ := imp.Accounts()
  		for _, ia := range accts {
  			as := accountStatus{
  				Type: impName,
  				Href: ia.AccountURL(),
  				Name: ia.AccountLinkSummary(),
  			}
  			ia.mu.Lock()
  			if ia.current != nil {
  				as.StartedUnixSec = ia.lastRunStart.Unix()
  			}
  			if !ia.lastRunDone.IsZero() {
  				as.LastFinishedUnixSec = ia.lastRunDone.Unix()
  			}
  			if ia.lastRunErr != nil {
  				as.LastError = ia.lastRunErr.Error()
  				errs = append(errs, camtypes.StatusError{
  					Error: ia.lastRunErr.Error(),
  					URL:   ia.AccountURL(),
  				})
  			}
  			ia.mu.Unlock()
  			s = append(s, as)
  		}
  	}
  	return s, errs
  }
docs: // AccountsStatus returns the currently configured accounts and their status for
  // inclusion in the status.json document, as rendered by the web UI.