title: How can I set public folder permissions in OneDrive?
body: <p>I have been using this API to list and read files from my <em>Public</em> folder in <em>OneDrive personal</em> cloud service:</p>
  
  <pre><code>https://api.onedrive.com/v1.0/drive/items/{item-id}/children
  </code></pre>
  
  <p>I could simply access folder's content in C# without authentication:</p>
  
  <pre><code>using (var http = new HttpClient()) {
      var json = http.GetStringAsync($"https://api.onedrive.com/v1.0/drive/items/{itemId}/children").Result;
      var data = JObject.Parse(json);
      ...
  }
  </code></pre>
  
  <p>This API suddenly stopped working. It returns 404 status code with this content:</p>
  
  <pre><code>{"error":{"code":"itemNotFound","message":"Item does not exist"}}
  </code></pre>
  
  <p>But the API is still working for other public folders owned by other accounts. For example this URL still works:</p>
  
  <pre><code>https://api.onedrive.com/v1.0/drive/items/AB8DAAB49807BE4%21140/children
  </code></pre>
  
  <p>How can I set folder's permission to <em>public</em>? Why the API stopped working?</p>