<?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 Not getting sharing_info in response of /search api in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527272#M1947</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to get sharing_info from /search api response by passing query string for search using user_access_token.&lt;/P&gt;
&lt;P&gt;api:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://api.dropboxapi.com/2/files/search_v2&lt;/PRE&gt;
&lt;P&gt;Response should contain "Sharing_info" field as per the document.&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-search" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I am not able to see&amp;nbsp;"Sharing_info" field inside response which I received.&lt;/P&gt;
&lt;P&gt;Response:&lt;/P&gt;
&lt;PRE&gt;{
  "has_more": false,
  "matches": [
    {
      "match_type": {
        ".tag": "filename"
      },
      "metadata": {
        ".tag": "metadata",
        "metadata": {
          ".tag": "file",
          "client_modified": "2021-05-05T07:49:41Z",
          "content_hash": "bc7f0447e809e1c278dca5092f6b7d14ab8ebfc72e182147a8b722471857acb8",
          "id": "id:K0967Nm-QfUAAAAAAAAAHg",
          "is_downloadable": true,
          "name": "untitled.h",
          "path_display": "/docs/untitled.h",
          "path_lower": "/docs/untitled.h",
          "rev": "015c1906ff650310000000233586740",
          "server_modified": "2021-05-05T07:49:41Z",
          "size": 783
        }
      }
    }
  ]
}&lt;/PRE&gt;
&lt;P&gt;As per document its shows that this field is an optional filed.&lt;/P&gt;
&lt;P&gt;What is meaning of that optional?&lt;/P&gt;
&lt;P&gt;In which case I will get this data and in which case I will not get this data?&lt;/P&gt;
&lt;P&gt;Is there any other alternative to find owner_detail of file which are shared to me (received files).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 11:08:57 GMT</pubDate>
    <dc:creator>mukund</dc:creator>
    <dc:date>2021-06-16T11:08:57Z</dc:date>
    <item>
      <title>Not getting sharing_info in response of /search api</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527272#M1947</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to get sharing_info from /search api response by passing query string for search using user_access_token.&lt;/P&gt;
&lt;P&gt;api:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://api.dropboxapi.com/2/files/search_v2&lt;/PRE&gt;
&lt;P&gt;Response should contain "Sharing_info" field as per the document.&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-search" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I am not able to see&amp;nbsp;"Sharing_info" field inside response which I received.&lt;/P&gt;
&lt;P&gt;Response:&lt;/P&gt;
&lt;PRE&gt;{
  "has_more": false,
  "matches": [
    {
      "match_type": {
        ".tag": "filename"
      },
      "metadata": {
        ".tag": "metadata",
        "metadata": {
          ".tag": "file",
          "client_modified": "2021-05-05T07:49:41Z",
          "content_hash": "bc7f0447e809e1c278dca5092f6b7d14ab8ebfc72e182147a8b722471857acb8",
          "id": "id:K0967Nm-QfUAAAAAAAAAHg",
          "is_downloadable": true,
          "name": "untitled.h",
          "path_display": "/docs/untitled.h",
          "path_lower": "/docs/untitled.h",
          "rev": "015c1906ff650310000000233586740",
          "server_modified": "2021-05-05T07:49:41Z",
          "size": 783
        }
      }
    }
  ]
}&lt;/PRE&gt;
&lt;P&gt;As per document its shows that this field is an optional filed.&lt;/P&gt;
&lt;P&gt;What is meaning of that optional?&lt;/P&gt;
&lt;P&gt;In which case I will get this data and in which case I will not get this data?&lt;/P&gt;
&lt;P&gt;Is there any other alternative to find owner_detail of file which are shared to me (received files).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 11:08:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527272#M1947</guid>
      <dc:creator>mukund</dc:creator>
      <dc:date>2021-06-16T11:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting sharing_info in response of /search api</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527315#M1948</link>
      <description>&lt;P&gt;The sharing_info field is optional, meaning that it will not always be returned. The sharing_info field is documented as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;sharing_info FileSharingInfo? Set if this file is contained in a shared folder. This field is optional.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, since there is no sharing_info in this result, that indicates that this file is not in a shared folder (and so there is no sharing information to return).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your received file question, please refer to &lt;A href="https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-owner-details-in-list-received-files-api-response/td-p/526146" target="_self"&gt;your thread on that topic&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 14:36:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527315#M1948</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-06-16T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting sharing_info in response of /search api</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527746#M1950</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;For below file, It is file is present in shared folder, Still I am not getting sharing_info.&lt;/P&gt;&lt;PRE&gt;{
  "has_more": false,
  "matches": [
    {
      "match_type": {
        ".tag": "filename"
      },
      "metadata": {
        ".tag": "metadata",
        "metadata": {
          ".tag": "file",
          "client_modified": "2021-05-05T07:51:18Z",
          "id": "id:Ke9OphgV2zsAAAAAAAAAHw",
          "is_downloadable": true,
          "name": "Screenshot 2021-04-09 at 11.54.18 AM.png",
          "rev": "015c19075c155150000000233388450",
          "server_modified": "2021-05-05T07:51:18Z",
          "size": 4253
        }
      }
    }
  ]
}&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-06-17 at 10.27.01 AM.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/23997iE182F08080541BE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-06-17 at 10.27.01 AM.png" alt="Screenshot 2021-06-17 at 10.27.01 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you said, Sharing info is optional, if it is inside shared folder then only "sharing_info" will be available.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:49:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527746#M1950</guid>
      <dc:creator>mukund</dc:creator>
      <dc:date>2021-06-18T13:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting sharing_info in response of /search api</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527764#M1952</link>
      <description>&lt;P&gt;That file is not inside a shared folder. It is only individually shared. That's a different kind of sharing, and so sharing_info won't be returned for it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 14:58:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Not-getting-sharing-info-in-response-of-search-api/m-p/527764#M1952</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-06-18T14:58:18Z</dc:date>
    </item>
  </channel>
</rss>

