add rest for ext_id