static getPageConfig (req, res) {
    switch (req.params.page) {
    case 'sessions': {
      const colConfigs = UserAPIs.#userColumns(req.settingUser);
      const infoConfigs = UserAPIs.#userInfoFields(req.settingUser);
      const tableState = UserAPIs.findUserState('sessionsNew', req.user);
      const colWidths = UserAPIs.findUserState('sessionsColWidths', req.user);
      return res.send({ colWidths, tableState, colConfigs, infoConfigs });
    }
    case 'spiview': {
      const fieldConfigs = UserAPIs.#userSpiview(req.settingUser);
      const spiviewFields = UserAPIs.findUserState('spiview', req.user);
      return res.send({ fieldConfigs, spiviewFields });
    }
    case 'connections': {
      const fieldHistoryConnectionsSrc = UserAPIs.findUserState('fieldHistoryConnectionsSrc', req.user);
      const fieldHistoryConnectionsDst = UserAPIs.findUserState('fieldHistoryConnectionsDst', req.user);
      return res.send({ fieldHistoryConnectionsSrc, fieldHistoryConnectionsDst });
    }
    case 'files': {
      const tableState = UserAPIs.findUserState('fieldsCols', req.user);
      const columnWidths = UserAPIs.findUserState('filesColWidths', req.user);
      return res.send({ tableState, columnWidths });
    }
    case 'captureStats': {
      const tableState = UserAPIs.findUserState('captureStatsCols', req.user);
      const columnWidths = UserAPIs.findUserState('captureStatsColWidths', req.user);
      return res.send({ tableState, columnWidths });
    }
    case 'esIndices': {
      const tableState = UserAPIs.findUserState('esIndicesCols', req.user);
      const columnWidths = UserAPIs.findUserState('esIndicesColWidths', req.user);
      return res.send({ tableState, columnWidths });
    }
    case 'esNodes': {
      const tableState = UserAPIs.findUserState('esNodesCols', req.user);
      const columnWidths = UserAPIs.findUserState('esNodesColWidths', req.user);
      return res.send({ tableState, columnWidths });
    }
    case 'esRecovery': {
      const tableState = UserAPIs.findUserState('esRecoveryCols', req.user);
      const columnWidths = UserAPIs.findUserState('esRecoveryColWidths', req.user);
      return res.send({ tableState, columnWidths });
    }
    case 'esTasks': {
      const tableState = UserAPIs.findUserState('esTasksCols', req.user);
      const columnWidths = UserAPIs.findUserState('esTasksColWidths', req.user);
      return res.send({ tableState, columnWidths });
    }
    default:
      return res.serverError(501, 'Requested page is not supported');
    }
  }
GET - /api/user/config/:page

Fetches the configuration/layout information for a UI page for a user.
@name /user/config/:page
@returns {object} config The configuration data for the page