Community

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JillRho
Community Member

Teacher_activity ???

I've been trying to dig through the Canvas Live api to find if teacher_activity is documented anywhere.  Does anyone know where I can find it? or is it just a collection of other api calls? in other words nothing that Instructure would output in beautiful json..

https://[DOMAIN].instructure.com/users/XXXX/teacher_activity/course/XXX 

Many thanks in advance,

//from a newb canvas warrior

Labels (3)
0 Kudos
1 Reply
sendres
Community Participant

@JillRho, the beautiful JSON you desire can be found here:

:domain/api/v1/courses/:course_id/enrollments?type[]=TeacherEnrollment

Each teacher object returned will include a total_activity_time property, which represents integer seconds of activity.

Documentation

Enjoy!

0 Kudos