<?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 Re: Using new api v2 for getting property groups is asking for .tag field in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251375#M14468</link>
    <description>&lt;P&gt;The&amp;nbsp;include_property_groups parameter on&amp;nbsp;/2/files/get_metadata takes a&amp;nbsp;TemplateFilterBase object, so specifying it would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/get_metadata \
    --header "Authorization: Bearer ACCESS_TOKEN_HERE" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/PATH_TO_FILE_HERE\", \"include_property_groups\": {\".tag\": \"filter_some\", \"filter_some\": [\"PROPERTY_TEMPLATE_ID_HERE\"]}}"&lt;/PRE&gt;</description>
    <pubDate>Mon, 06 Nov 2017 16:46:00 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-11-06T16:46:00Z</dc:date>
    <item>
      <title>Using new api v2 for getting property groups is asking for .tag field</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251369#M14465</link>
      <description>&lt;P&gt;I am trying to get the property groups metadata for a file in my dropbox. The problem is the&amp;nbsp;&lt;STRONG&gt;include_property_groups&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;parameter.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From the API example, I can't see any data with&amp;nbsp;&lt;STRONG&gt;include_property_groups&lt;/STRONG&gt;&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/get_metadata \
    --header "Authorization: Bearer " \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/Homework/math\",\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false}"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the data returned from the request has&amp;nbsp;property_groups :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    ".tag": "folder",
    "name": "math",
    "id": "id:a4ayc_80_OEAAAAAAAAAXz",
    "path_lower": "/homework/math",
    "path_display": "/Homework/math",
    "sharing_info": {
        "read_only": false,
        "parent_shared_folder_id": "84528192421",
        "traverse_only": false,
        "no_access": false
    },
    "property_groups": [
        {
            "template_id": "ptid:1a5n2i6d3OYEAAAAAAAAAYa",
            "fields": [
                {
                    "name": "Security Policy",
                    "value": "Confidential"
                }
            ]
        }
    ]
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If am using&amp;nbsp;&lt;STRONG&gt;include_property_groups&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;in my API call, the response throws an error : "request body: include_property_groups: missing '.tag' key". I tried anything, for the '.tag' key, but I can't seem to get it work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:17:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251369#M14465</guid>
      <dc:creator>Balthazar</dc:creator>
      <dc:date>2019-05-29T09:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using new api v2 for getting property groups is asking for .tag field</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251375#M14468</link>
      <description>&lt;P&gt;The&amp;nbsp;include_property_groups parameter on&amp;nbsp;/2/files/get_metadata takes a&amp;nbsp;TemplateFilterBase object, so specifying it would look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/get_metadata \
    --header "Authorization: Bearer ACCESS_TOKEN_HERE" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/PATH_TO_FILE_HERE\", \"include_property_groups\": {\".tag\": \"filter_some\", \"filter_some\": [\"PROPERTY_TEMPLATE_ID_HERE\"]}}"&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Nov 2017 16:46:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251375#M14468</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-06T16:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using new api v2 for getting property groups is asking for .tag field</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251385#M14469</link>
      <description>&lt;P&gt;Thank&amp;nbsp; you, that worked !&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 17:45:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-for-getting-property-groups-is-asking-for-tag/m-p/251385#M14469</guid>
      <dc:creator>Balthazar</dc:creator>
      <dc:date>2017-11-06T17:45:37Z</dc:date>
    </item>
  </channel>
</rss>

