docs: public Response importCND( HttpServletRequest request,
                                 String repositoryName,
                                 String workspaceName,
                                 boolean allowUpdate,
                                 InputStream cndInputStream ) throws RepositoryException {
          CheckArg.isNotNull(cndInputStream, "request body");
          Session session = getSession(request, repositoryName, workspaceName);
          NodeTypeManager nodeTypeManager = session.getWorkspace().getNodeTypeManager();
          if (!(nodeTypeManager instanceof org.modeshape.jcr.api.nodetype.NodeTypeManager)) {
              //501 = not implemented
              return Response.status(Response.Status.fromStatusCode(HTTP_NOT_IMPLEMENTED)).build();
          }
          org.modeshape.jcr.api.nodetype.NodeTypeManager modeshapeTypeManager = (org.modeshape.jcr.api.nodetype.NodeTypeManager)nodeTypeManager;
          try {
              List<RestNodeType> registeredTypes = registerCND(request, allowUpdate, cndInputStream, modeshapeTypeManager);
              return createOkResponse(registeredTypes);
          } catch (IOException e) {
              throw new RepositoryException(e);
          }
      }