Jellyfin Forum
(Solved) Getting user activity in API - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Server Development (https://forum.jellyfin.org/f-server-development)
+--- Thread: (Solved) Getting user activity in API (/t-solved-getting-user-activity-in-api)



(Solved) Getting user activity in API - velun - 2024-06-30

Hi,
 
I want to retrieve a user's last activity from the API. From the docs, I took the following URL  /Users/{userId} with a get request and it returns some fields but not the LastActivityDate like in the docs.
I'm guessing the LastActivityDate and the LastLoginDate are moved in the latest version but I don't where. Anybody get any ideas?

Thank you.

LE: found the problem, those fields are not sent for new users that haven't logged in yet.