#249 REST api

Fix cs