register api blueprint