More information about the use of History API?

HaoxinLi
Community Member

Hi,

I am trying to use the History API to find out when was the last time a student has performed some action on Canvas.  (https://canvas.instructure.com/doc/api/history.html)

I have two questions:
1. What type of activity does the History API records exactly? 

2. How recent is the history?  Is it data from last week, month, or year?

On the API documentation, it says that "recently visited item or page in Canvas" will be returned.  However, I found that not all visited page will be returned - if I clicks on "Grades", and then clicks on one of the assessments (e.g. "Individual Report") included on "Grades" page, only the action of clicking on "Grades" is recorded and returned.

(P.S. I could have used page_views: "GET /api/v1/users/:user_id/page_views" to return a list of users page view activity, but I am not an admin hence I do not have the permission to do this)

Thank you very much for your time and consideration 

Labels (1)
0 Likes