Based on documentation on API v2 (http) section - it is not clear to me how mode and autorename work together.
Currently WriteMode docs starts with phrase:
"Your intent when writing a file to some path. This is used to determine what constitutes a conflict and what the autorename strategy is."
Do you actually mean the following:
"Your intent when writing a file to some path. This is used to determine what constitutes a conflict and what the autorename strategy is (in case autorename - see below - is enabled).