I see discrepancies in the documented event metadata and the actual course_completed event

canvas_support6
Community Explorer

Hi All,

     I am experimenting with the course_completed live event and have it working for my target course. It responds with a cut down metadata object missing the following fields that are documented here : https://canvas.instructure.com/doc/api/file.data_service_canvas_course.html

missing:

[client_ip]
[context_account_id]
[context_id]
[context_role]
[context_sis_source_id]
[context_type]
[developer_key_id]
[hostname]
[http_method]
[referrer]
[request_id]
[session_id]
[time_zone]
[url]
[user_account_id]
[user_agent]
[user_id]
[user_login]
[user_sis_id] 

The response seems more in alignment with the example documented here:

https://canvas.instructure.com/doc/api/file.data_service_canvas_event_metadata.html
Is the course_completed document out of date? or can I expect to receive the larger metadata object on some occasions?

Thanks,

Simon

0 Likes