Hello! I am trying to determine users who are currently active. Not just logged in, but active and my thought process involves create a server side function that loops through the activity log of the last 30 minutes of each users. and I have created a collection that will update their status as active or inactive depending on the activity logs length.
Can you please guide me on the Query I need to make? I have the current time and thiry minutes prev time in milliseconds const response = users.listLogs(userId, [Query(...)])
Thank you so much
If you're querying against a datetime attribute, you'll need to pass a iso formatted string in UTC timezone
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error