* restore api endpoint