You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Antti R.
10 years agoNew member | Level 1
update request API v2 - WriteMode and autorename ?
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 som...
Steve M.
10 years agoDropbox Staff
Thanks for the feedback! I think I understand the confusion, and we'll look at how we can reword.
I'd say the documentation is accurate, if a bit confusing to read. I'd also say you understand the semantics correctly.
Think of it like a method taking parameters:
"/files/upload takes a parameter called mode (a WriteMode) and one called autorename (a boolean). The mode parameter determines what constitutes a conflict and a corresponding autorenaming strategy. In the case of a conflict, the autorename parameter determines whether that autorenaming strategy should be employed or the call should simply fail with an error."
So it's true that WriteMode defines an autorename strategy.
None of this takes away from your point that this is hard to understand from reading the documentation in its current form. I think that's because the documentation sort of mixes parameters, behaviors, and types. The documentation on WriteMode is about that structure/type, so it knows nothing about the autorename parameter, and it wouldn't make sense to mention it there.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 3 years agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!