Should we simply use Yii2 available rest api? or consider Avro RPC? This is a [sample Avro RPC](https://github.com/phunt/avro-rpc-quickstart) on other languages (java/ruby/python)