peterlu
12 years agoChampion
query any user's online status
Use Case Query any user online status "online" or "offline". eg. There are 5 users on the category experts panel. I want to use ajax to query their online status. I am trying to setup an endpoin...
- 12 years agoIf I understand you correct, you need to get the status for a user (online or offline). For this you can just run following
http://community.lithium.com/community-name/restapi/vc/users/id/43/sessions/online/latest
If you get a value in the response means user is online. But if the response is null then the user is offline.
Hope this helps.
Regards,
Chhama