We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
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 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).
- Steve M.Dropbox 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,877 PostsLatest Activity: 12 months 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!