Buzz API

How to limit getuseractivitystream in API to unread activities.

Follow
Answered
Zakariah Younus

Hey, I was looking at the API docs and I cannot find a way to see which activities have already been seen by student

https://gls.agilix.com/docs/#!/Command/GetUserActivityStream


I want to know how to see which ActivityStreamType shows which submission or other notification has not already been viewed

https://gls.agilix.com/docs/#!/Enum/ActivityStreamType

Comments (1)

Sort by
Steven Martins
  • Agilix team member

Hello Zakariah,

The only options to sort the response are in the Activity Stream Type document which you provided. However, it doesn't sort the list by unread activities or notifications. Could you describe to me your use case for needing to see activities and notifications that students have not viewed?

Unfortunately, we have no process to determine from the response whether a student viewed it or not. If you'd like to see whether a student has navigated to an activity, you could use the GetEnrollmentActivity API command to see if the student spent time within the activity after navigating to it.

0 Comment actions Permalink
Please sign in to leave a comment.