[debian] added restful api