REST API

Issue #6 closed
Former user created an issue

Somehting like:

@Path("/watch")
public class TreeViewRestResource {

@GET
    @Path("/{id}/status")
    @Produces(MediaType.APPLICATION_JSON)
    public Response isWatching(@PathParam("id") Long id) throws MailException
    {
...
    }
@GET
    @Path("/list")
    @Produces(MediaType.APPLICATION_JSON)
    public Response getWatchlist() throws MailException
    {
...
}

}

Comments (2)

  1. Andreas Purde repo owner
    • changed status to open

    I'll try to include this in the next feature release.

    Thank you for the input, Andreas

  2. Andreas Purde repo owner

    Version 1.2.0 contains a REST interface. I hope I caught all the functionality you need.

    The documentation is here.

    Kind regards,

    Andreas

  3. Log in to comment