New REST API for autocompletion.