change REST call interface