static getConnections (req, res) {
    ConnectionAPIs.#buildConnections(req, res, (err, nodes, links, total) => {
      if (err) { return res.serverError(403, err.toString()); }
      res.send({
        nodes,
        links,
        recordsFiltered: total
      });
    });
  }
POST/GET - /api/connections

Builds an elasticsearch connections query. Gets a list of nodes and links and returns them to the client.
@name /connections
@param {SessionsQuery} See_List - This API supports a common set of parameters documented in the SessionsQuery section
@param {string} srcField=ip.src - The source database field name
@param {string} dstField=ip.dst:port - The destination database field name
@param {number} baselineDate=0 - The baseline date range to compare connections against. Default is 0, disabled. Options include:
     1x - 1 times query range.
     2x - 2 times query range.
     4x - 4 times query range.
     6x - 6 times query range.
     8x - 8 times query range.
     10x - 10 times query range.
     1 - 1 hour.
     6 - 6 hours.
     24 - 1 day.
     48 - 2 days.
     72 - 3 days.
     168 - 1 week.
     336 - 2 weeks.
     720 - 1 month.
     1440 - 2 months.
     4380 - 6 months.
     8760 - 1 year.
@param {string} baselineVis=all - Which connections to display when a baseline date range is applied. Default is all. Options include:
     'all' - All Nodes: all nodes are visible.
     'actual' - Actual Nodes: nodes present in the "current" timeframe query results are visible.
     'actualold' - Baseline Nodes: nodes present in the "baseline" timeframe query results are visible.
     'new' - New Nodes Only: nodes present in the "current" but NOT the "baseline" timeframe are visible.
     'old' - Baseline Nodes Only: nodes present in the "baseline" but NOT the "current" timeframe are visible.
@returns {array} links - The list of links
@returns {array} nodes - The list of nodes