docs: function processQuery(query, slugParam, locals) {
      const api = require('../../../api')[locals.apiVersion];
  
      query = _.cloneDeep(query);
  
      _.defaultsDeep(query, queryDefaults);
  
      // Replace any slugs, see TaxonomyRouter. We replace any '%s' by the slug
      _.each(query.options, function (option, name) {
          query.options[name] = _.isString(option) ? option.replace(/%s/g, slugParam) : option;
      });
  
      if (config.get('enableDeveloperExperiments')) {
          query.options.context = {member: locals.member};
      }
  
      return (api[query.controller] || api[query.resource])[query.type](query.options);
  }