static getConnectionsCSV (req, res) {
    ArkimeUtil.noCache(req, res, 'text/csv');

    const seperator = req.query.seperator ?? ',';
    ConnectionAPIs.#buildConnections(req, res, (err, nodes, links, total) => {
      if (err) {
        return res.send(err);
      }

      // write out the fields requested
      let fields = ['network.bytes', 'totDataBytes', 'network.packets', 'node'];
      if (req.query.fields) { fields = req.query.fields.split(','); }

      res.write('Source, Destination, Sessions');
      const displayFields = {};
      for (const field of fields) {
        const map = JSON.parse(fieldsMap);
        for (const f in map) {
          if (map[f].dbField === field) {
            const friendlyName = map[f].friendlyName;
            displayFields[field] = map[f];
            res.write(`, ${friendlyName}`);
          }
        }
      }
      res.write('\r\n');

      for (let i = 0, ilen = links.length; i < ilen; i++) {
        res.write('"' + nodes[links[i].source].id.replaceAll('"', '""') + '"' + seperator +
                  '"' + nodes[links[i].target].id.replaceAll('"', '""') + '"' + seperator +
                       links[i].value + seperator);
        for (let f = 0, flen = fields.length; f < flen; f++) {
          res.write(links[i][displayFields[fields[f]].dbField].toString());
          if (f !== flen - 1) { res.write(seperator); }
        }
        res.write('\r\n');
      }

      res.end();
    });
  }
POST/GET - /api/connections/csv OR /api/connections.csv

Builds an elasticsearch connections query. Gets a list of nodes and links in csv format and returns them to the client.
@name /connections/csv
@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
@returns {csv} csv - The csv with the connections requested