Revert "REST API added"

This reverts commit 4abb4b81d1c3a563c09355932f408371b5b5cb7b.