Complete REST interface.