Brightspace Awards API
I would like to access the award's API as part of the content in a lesson using
'/d2l/api/bas/(version)/issued/users/(userId)/orgUnitId=(OrgUnitId)'.
When I test this with my DeLC and teacher credentials, I receive a successful response listing the correct awards. However, when I try it as a student, I get a 403 message (Forbidden).
The above tells me that this may be the result of role permissions. Would anybody know what role permission would have to be granted so a student receive a response to this api call?
Answers
-
Hi Bryan,
From the documentation, the user would need 'See Own Badges" and "See Own Certificates" and also be enrolled in the Org Unit provided.
Your _Student role does not have these at the org level and I'm going to say that's likely the culprit.