<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic update request API v2 - WriteMode and autorename ? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/update-request-API-v2-WriteMode-and-autorename/m-p/151088#M5002</link>
    <description>&lt;P&gt;Based on documentation on API v2 (http) section - it is not clear to me how mode&amp;nbsp;and autorename work together.&lt;/P&gt;
&lt;P&gt;Currently WriteMode docs starts with phrase:&lt;/P&gt;
&lt;P&gt;"Your intent when writing a file to some path. This is used to determine what constitutes a conflict and what the autorename strategy is."&lt;/P&gt;
&lt;P&gt;Do you actually mean the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"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).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:39:39 GMT</pubDate>
    <dc:creator>Antti R.</dc:creator>
    <dc:date>2019-05-29T09:39:39Z</dc:date>
    <item>
      <title>update request API v2 - WriteMode and autorename ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/update-request-API-v2-WriteMode-and-autorename/m-p/151088#M5002</link>
      <description>&lt;P&gt;Based on documentation on API v2 (http) section - it is not clear to me how mode&amp;nbsp;and autorename work together.&lt;/P&gt;
&lt;P&gt;Currently WriteMode docs starts with phrase:&lt;/P&gt;
&lt;P&gt;"Your intent when writing a file to some path. This is used to determine what constitutes a conflict and what the autorename strategy is."&lt;/P&gt;
&lt;P&gt;Do you actually mean the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"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).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:39:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/update-request-API-v2-WriteMode-and-autorename/m-p/151088#M5002</guid>
      <dc:creator>Antti R.</dc:creator>
      <dc:date>2019-05-29T09:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: update request API v2 - WriteMode and autorename ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/update-request-API-v2-WriteMode-and-autorename/m-p/151089#M5003</link>
      <description>&lt;P&gt;Thanks for the feedback! I think I understand the confusion, and we'll look at how we can reword.&lt;/P&gt;
&lt;P&gt;I'd say the documentation is accurate, if a bit confusing to read. I'd also say you understand the semantics correctly.&lt;/P&gt;
&lt;P&gt;Think of it&amp;nbsp;like a method taking parameters:&lt;/P&gt;
&lt;P&gt;"/files/upload takes a parameter called&amp;nbsp;mode (a WriteMode) and one called autorename (a boolean). The mode parameter&amp;nbsp;determines what constitutes a conflict and a corresponding autorenaming strategy. In the case of a conflict, the autorename parameter determines whether that&amp;nbsp;autorenaming strategy should&amp;nbsp;be employed or&amp;nbsp;the call should simply&amp;nbsp;fail with an error."&lt;/P&gt;
&lt;P&gt;So it's true that&amp;nbsp;WriteMode defines&amp;nbsp;an autorename strategy.&lt;/P&gt;
&lt;P&gt;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&amp;nbsp;the documentation sort of mixes&amp;nbsp;parameters, behaviors, and types. The documentation on WriteMode is about that structure/type,&amp;nbsp;so it knows nothing about&amp;nbsp;the autorename parameter, and it wouldn't make sense to mention it there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 14:16:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/update-request-API-v2-WriteMode-and-autorename/m-p/151089#M5003</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-10-02T14:16:30Z</dc:date>
    </item>
  </channel>
</rss>

