function questions(criteria, ids) {
  ids = ids || [];
  return query(`questions/${ids.join(';')}`, criteria);
}
Gets all the questions on the site or returns the questions identified in [ids].

@param {Object} criteria
@param {Array} ids collection of IDs
@api public