rest config