We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
1575475
3 years agoExplorer | Level 3
Remove group from team folder, lack of documentation
Hi,
after successfully adding a group to the team folder I've created (thanks again to Greg and Sdrawko) I also tried to remove that very group afterwards using
/2/sharing/remove_folder_member
...
- 3 years ago
Hi 1575475,
Most probably you are looking for rather something like 'client_modified' 😉 (not 'server_modified'). If not set explicitly, the times are the same ('client_modified' is assumed to be like 'server_modified'). On upload a file, you can set 'client_modified' to equals to your 'SAP internal server clock'. Later you can compare it directly. Using 'server_modified' you can do the opposite task (keep on your SAP server Dropbox specific timestamp and check if something changes on Dropbox).
Hope this helps.
1575475
Explorer | Level 3
Hi Greg,
thank you very much. I've implemented an additional method to fetch the async job status which works very well. And, also the group has been successfully removed from the team folder.
I've one last (and very important) question, out of above topic:
Is it possible to retrieve the exact DBX time which is used for the "server_modified" timestamps? (Pls. remember, only REST calls via HTTP are possible)
Background:
I want to sync files/folders between SAP and DBX.
Each file/folder has a timestamp in DBX as well as in SAP.
After the initial upload SAP -> DBX, files/folders may be changed in SAP as well as in DBX.
These timestamps rely on the SAP internal server clock and the DBX clock(?) I guess, DBX will have some central time management?
Anyway, as both clocks will differ, it will be difficult to discover which file/folder is the current (newest) version when comparing these timestamps.
So it'll be essential to compute the difference of SAP clock and DBX clock right before comparison.
Currently I upload a dummy file into DBX and fetch the metadata afterwards (server_modified_time), but this looks a tad clumsy 🙂
Do you have any idea for a smarter solution?
Best regards,
Jan
Здравко
3 years agoLegendary | Level 20
Hi 1575475,
Most probably you are looking for rather something like 'client_modified' 😉 (not 'server_modified'). If not set explicitly, the times are the same ('client_modified' is assumed to be like 'server_modified'). On upload a file, you can set 'client_modified' to equals to your 'SAP internal server clock'. Later you can compare it directly. Using 'server_modified' you can do the opposite task (keep on your SAP server Dropbox specific timestamp and check if something changes on Dropbox).
Hope this helps.
- Greg-DB3 years agoDropbox Staff
1575475 Dropbox does not offer a way to check or sync with its own clock. I'd suggest you use whatever standard time synchronization service is available to you on your platform (e.g., using NTP). You can find the documentation for the date format that the Dropbox API uses here, and a guide about Detecting Changes here.
- 15754753 years agoExplorer | Level 3
Hi Sdrawko, hi Greg,
since now everything's running fine I'd like to thank you again for your help.
Best regards,
Jan
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 8 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!