REST interface - not fully implemented