how to associate a Lock object with the applicable file? (especially for events)
When using the /events endpoint, you can receive LOCK_CREATE and LOCK_DESTROY events. These are file-locks on...you guessed it...files!
However, the data returned only contains information regarding the lock itself (lock id, created at, created by, expires at, and is-download-prevented). Note that you receive the lock's unique ID. How do we know which file was locked or unlocked by the event???
Thanks in advance,
AJ
-
Hi AJ,
Thanks for reaching out! The responses you'll get when making calls for user events vs. enterprise events will be slightly different. However, both will include the file ID of the locked or unlocked file. The Enterprise Events response will also include the IP address of the user who locked/unlocked the file, as well as information about the file's parent folder.
Let me know if this helps!
サインインしてコメントを残してください。
コメント
1件のコメント