-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take and forward an optional assignment id in the LTI Name and Roles API #6617
Conversation
@@ -1,9 +1,6 @@ | |||
""" | |||
Service to talk to the Name and Roles LTIA API. | |||
|
|||
We only implement this now as a way to obtain the LTI Advantage Complete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not anymore!
""" | ||
query = {} | ||
if resource_link_id: | ||
query["rlid"] = resource_link_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rlid is the name in the API but that's a bit cryptic. It's called resource link ID everywhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add a comment there to clarify that for the next person? Even adding a link to some documentation would be good, if such thing exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, added a note to the issue for this, I'll do a follow up to avoid some rebase hell.
0f7ee52
to
e7e87a4
Compare
e7e87a4
to
c59cef8
Compare
""" | ||
query = {} | ||
if resource_link_id: | ||
query["rlid"] = resource_link_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add a comment there to clarify that for the next person? Even adding a link to some documentation would be good, if such thing exists.
For:
Pass the value to the LTI service which should return only the roster relevant to the assignment.
More context and testing instructions over: