realt apicontroller