add site rest setting api