Interface MessagingResource


  • @Produces("application/json")
    @Consumes("application/json")
    @Path("/msg")
    public interface MessagingResource
    Messaging resource to access the inbox (list, view, mark read, delete) and send messages
    • Method Detail

      • delete

        @DELETE
        @Path("/{id}")
        javax.ws.rs.core.Response delete​(@PathParam("id")
                                         int id)
                                  throws Exception
        Delete message with given ID
        Parameters:
        id - message id
        Returns:
        response
        Throws:
        Exception
      • list

        @GET
        @Path("/list")
        GenericResponse list​(@QueryParam("unread") @DefaultValue("false")
                             boolean unread)
                      throws Exception
        List messages for the current user
        Parameters:
        unread - true if only unread messages shall be shown, false for all messages (default)
        Returns:
        response containing the messages
        Throws:
        Exception