rest interface