added restful api fixes
added fixes for restful api

asdf