bucket type on api