Create REST API for android app

Hi ,
I want to make one android app for home automation with openHAB as a server .!!! Is it possible?if it is possible, where i start to create a REST API to communicate with client?

Why not help out with ?


Thank you Yuves…!!!

you are welcome