code: @POST
      @Path("fcr:commit")
      public Response commit(@PathParam("path") final String externalPath) {
          LOGGER.info("Commit transaction '{}'", externalPath);
          return finalizeTransaction(externalPath, getUserPrincipal(), true);
      }
docs: Commit a transaction resource
  
  @param externalPath the external path
  @return 204