code: public Response fetchHistory(@PathParam("id") URI_ID id) throws Exception {
          final MODEL_ID mId = tryConvertId(id);
          matchedFetchHistory(mId);
          final Query<MODEL> query = server.find(modelType);
  
          defaultFindOrderBy(query);
  
          final Ref<FutureRowCount> rowCount = Refs.emptyRef();
          Object entity = executeTx(t -> {
              configDefaultQuery(query);
              configFetchHistoryQuery(query, mId);
              applyUriQuery(query, false);
              applyPageConfig(query);
              List<Version<MODEL>> list = query.findVersions();
              rowCount.set(fetchRowCount(query));
              return processFetchedHistoryModelList(list, mId);
          });
  
          if (isEmptyEntity(entity)) {
              return Response.noContent().build();
          }
          Response response = Response.ok(entity).build();
          applyRowCountHeader(response.getHeaders(), query, rowCount.get());
          return response;
      }
docs: <p>fetchHistory.</p>
  
  @param id a URI_ID object.
  @return a {@link javax.ws.rs.core.Response} object.
  @throws java.lang.Exception if any.