Student impersonation thru API
Hello, is there a way to impersonate programmatically so we may submit on behalf of a student through the API?
Kind Regards,
Gerald Truong @ Edlink.
Antwoorden
-
Can you go more into the action that you'd like to do and why you'd like to impersonate a user for it?
-
Hi Derik,
We would like to post. a submission on behalf of the student through the API. So far the only endpoint we could find is:
POST /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/mysubmissions/
Which needs the right user context…
-
We have the same challenge, but haven't found a way yet. The most common use case is to have an external tool to create a submission (which could involve offline student interaction, i.e. there is no user session), send it to Brightspace and let the teacher grade/annotate it there. This way it also resides within the course instead of some external system.
I'm not sure if impersonation is the way to go, but an endpoint specifically for this use case would be very useful. For us this would restore some functionality from our previous LMS.
Similar PIE items: D6306, D8732 (not API, but same functionality)
-
Thank you @Allard.N.654 for that info.