api rewrite  dev id