add rest types api