<?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: https://api.dropboxapi.com/2/team_log/get_events in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-api-dropboxapi-com-2-team-log-get-events/m-p/354611#M20254</link>
    <description>&lt;P&gt;Are you setting the 'Content-Type' value for your request? It would be in your custom_header variable but you didn't share the definition for that.&lt;/P&gt;
&lt;P&gt;You should set it like:&lt;/P&gt;
&lt;PRE&gt;"Content-Type": "application/json"&lt;/PRE&gt;
&lt;P&gt;If you don't, the API call parameters won't get sent properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events" target="_self"&gt;the API Explorer&lt;/A&gt; to help prototype these calls. Click "Show Code" and select "Python request (requests library)" for this case.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 15:33:41 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-07-11T15:33:41Z</dc:date>
    <item>
      <title>https://api.dropboxapi.com/2/team_log/get_events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-api-dropboxapi-com-2-team-log-get-events/m-p/354554#M20250</link>
      <description>&lt;P&gt;Filtering team events by timerange is not working. After specifying start_time and end_time it's still giving all the events.&lt;/P&gt;
&lt;PRE&gt;    url = BASE_URL + "team_log/get_events"
    params = {
        "time": {
            "start_time": "2017-06-29T06:40:45Z",
            "end_time": "2018-01-25T15:51:30Z",
        },
    }
    response = requests.post(url, headers=custom_header, data=json.dumps(params))&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jul 2019 11:54:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-api-dropboxapi-com-2-team-log-get-events/m-p/354554#M20250</guid>
      <dc:creator>FroxTrost</dc:creator>
      <dc:date>2019-07-11T11:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: https://api.dropboxapi.com/2/team_log/get_events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-api-dropboxapi-com-2-team-log-get-events/m-p/354611#M20254</link>
      <description>&lt;P&gt;Are you setting the 'Content-Type' value for your request? It would be in your custom_header variable but you didn't share the definition for that.&lt;/P&gt;
&lt;P&gt;You should set it like:&lt;/P&gt;
&lt;PRE&gt;"Content-Type": "application/json"&lt;/PRE&gt;
&lt;P&gt;If you don't, the API call parameters won't get sent properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events" target="_self"&gt;the API Explorer&lt;/A&gt; to help prototype these calls. Click "Show Code" and select "Python request (requests library)" for this case.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:33:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/https-api-dropboxapi-com-2-team-log-get-events/m-p/354611#M20254</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-07-11T15:33:41Z</dc:date>
    </item>
  </channel>
</rss>

