What does a user's "modified_at" field mean?
AnsweredHi all:
What does the "modified_at" field mean for a user, as shown at https://developer.box.com/en/reference/get-users-id/#response-example ? Is it the last time they logged in/last authenticated? Their last activity time? The last time the details of their account (name or address or settings or something) were changed? I can't seem to find it documented anyplace.
Thanks,
Ian
-
Hi ,
Here's the information on the user object: https://developer.box.com/en/reference/resources/user/
The modified_at field will be the last time that the user object information was updated.
Please let me know if you have any other questions,
Jon
-
Thanks !
I needed an answer sooner, so I ended up submitting a support ticket and got an answer. The documentation you pointed to is the right place (though for some reason Google Search doesn't seem to know about it?).
What I eventually learned is that a user's modified_at changes any time any other field for the user is changed. Critically, that also includes any change to the space_used (i.e. how much stuff they own) value. So while it's not a "user last activity" value — which would be insanely useful, BTW — it's a very rough approximation for one, and good enough in certain circumstances.
I did suggest that making the above a touch clearer in the documentation would be nice.
Cheers,
Ian
Please sign in to leave a comment.
Comments
2 comments