add rest object resource