REST API for appdiction