rest-api has been created from existing interface in rest-impl.