- changed status to open
REST API
Issue #6
closed
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)
-
repo owner -
repo owner - changed status to closed
Version 1.2.0 contains a REST interface. I hope I caught all the functionality you need.
The documentation is here.
Kind regards,
Andreas
- Log in to comment
I'll try to include this in the next feature release.
Thank you for the input, Andreas