docs: public List<OpenRevision> getDocWithOpenRevisions(String id, Collection<String> revisions,
                                                        Collection<String> attsSince,
                                                        boolean pullAttachmentsInline) {
          Misc.checkNotNullOrEmpty(id, "id");
          Misc.checkArgument(revisions.size() > 0, "Need at least one open revision");
  
          Map<String, Object> options = new HashMap<String, Object>();
          options.put("revs", true);
          // by adding latest we should never receive a "missing" response from the server. A descendant
          // of the revision requested will be returned even if it has been deleted.
          options.put("latest", true);
          // only pull attachments inline if we're configured to
          if (pullAttachmentsInline) {
              options.put("attachments", true);
              if (attsSince != null) {
                  options.put("atts_since", JSONUtils.toJson(attsSince));
              }
          } else {
              options.put("attachments", false);
              options.put("att_encoding_info", true);
          }
          options.put("open_revs", JSONUtils.toJson(revisions));
          return this.getDocument(id, options, JSONUtils.OPEN_REVS_LIST_TYPE_DEF);
      }