Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Antti R.
11 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.
Dropbox Staff
11 years agoThanks 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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!