Class DouiAiResource


  • @Path("/lumis/service/doui/ai")
    public class DouiAiResource
    extends java.lang.Object
    REST endpoints used by the DOUI AI service.
    Since:
    16.0.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • DouiAiResource

        public DouiAiResource()
    • Method Detail

      • editText

        @POST
        @Path("/editText")
        @Consumes("application/json")
        @Produces("application/json")
        public void editText​(@Suspended
                             javax.ws.rs.container.AsyncResponse response,
                             DouiAiResource.EditTextRequest editRequest)
                      throws PortalException
        Returns the text edited following the instructions.
        Parameters:
        response - the asynchronous response
        editRequest - the request
        Throws:
        PortalException
        Since:
        16.0.0
      • editHtml

        @POST
        @Path("/editHtml")
        @Consumes("application/json")
        @Produces("application/json")
        public void editHtml​(@Suspended
                             javax.ws.rs.container.AsyncResponse response,
                             DouiAiResource.EditRequest editRequest)
                      throws PortalException
        Returns the given HTML edited following the given instruction.
        Parameters:
        response - the asynchronous response
        editRequest - the request
        Throws:
        PortalException
        Since:
        16.0.0