refactor(rest) read: rm query