api layout and generate a menu for API