api - an almost complete API - fixes for the tea form