Complete RestApi implementation