You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
FroxTrost
6 years agoNew member | Level 2
https://api.dropboxapi.com/2/team_log/get_events
Filtering team events by timerange is not working. After specifying start_time and end_time it's still giving all the events.
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))
- Greg-DBDropbox Staff
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.
You should set it like:
"Content-Type": "application/json"
If you don't, the API call parameters won't get sent properly.
You can use the API Explorer to help prototype these calls. Click "Show Code" and select "Python request (requests library)" for this case.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 14 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!