[ARCHIVED] Canvas SIS import statistics!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I noticed this today as I checked the status of an import, so it must have come with the weekend's release. There are now statistics! This does not appear to be documented as of today (I don't see it documented here: SIS Imports - Canvas LMS REST API Documentation ), but an undocumented improvement is better than an undocumented bug, right?
What's so great about statistics? Now, for example, if I upload a course file in diffing mode, I can see the number of courses created or deleted. In the past, I could only see the total number (no-changes, creates, and deletes would just be summed together):
"counts": {
"change_sis_ids": 0,
"accounts": 0,
"terms": 0,
"abstract_courses": 0,
"courses": 3514,
"sections": 0,
"xlists": 0,
"users": 0,
"enrollments": 0,
"admins": 0,
"group_categories": 0,
"groups": 0,
"group_memberships": 0,
"grade_publishing_results": 0,
"user_observers": 0,
"error_count": 0,
"warning_count": 0
},
Now I can see which out of those actually changed state from active to deleted, for example:
"statistics": {
"total_state_changes": 1,
"Account": {
"created": 0,
"deleted": 0
},
"EnrollmentTerm": {
"created": 0,
"deleted": 0
},
"AbstractCourse": {
"created": 0,
"deleted": 0
},
"Course": {
"created": 1,
"deleted": 0
},
"CourseSection": {
"created": 0,
"deleted": 0
},
"GroupCategory": {
"created": 0,
"deleted": 0
},
"Group": {
"created": 0,
"deleted": 0
},
"Pseudonym": {
"created": 0,
"deleted": 0
},
"CommunicationChannel": {
"created": 0,
"deleted": 0
},
"Enrollment": {
"created": 0,
"deleted": 0
},
"GroupMembership": {
"created": 0,
"deleted": 0
},
"UserObserver": {
"created": 0,
"deleted": 0
},
"AccountUser": {
"created": 0,
"deleted": 0
}
}
},
Anyone else notice this, and if so, do you have any stories about why this is helpful or not?
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.