SageTV APIs for Java and REST services