added team/channel and api/v1/xxx endpoints