Activity Feed
- Got a Kudo for Re: API functions to manage Developer Keys?. 02-09-2023 06:28 AM
- Posted Re: API functions to manage Developer Keys? on Canvas Developers Group. 02-08-2023 01:37 PM
- Posted Re: API functions to manage Developer Keys? on Canvas Developers Group. 02-08-2023 11:38 AM
- Posted Re: Distinguish between Instructor and TeachingAssistant in LTI 1.3 on Canvas Developers Group. 10-17-2022 12:22 PM
- Posted Distinguish between Instructor and TeachingAssistant in LTI 1.3 on Canvas Developers Group. 10-10-2022 01:29 PM
- Got a Kudo for Re: Any way to keep external tools set up in Canvas test/beta pointing to the test/beta versions across test/beta refresh?. 08-06-2020 01:58 AM
- Got a Kudo for Re: Updating User's Primary Email Address via API. 08-06-2020 01:58 AM
- Kudoed API in OpenAPI format for dtod. 03-15-2019 06:20 AM
- Kudoed SIS Import Lack of Detail - Aggregates errors into a total for kristin_bayless. 11-14-2017 06:31 AM
- Kudoed [API] date endpoint for the gradebook_history_api.feed for agschmid. 04-07-2017 02:13 PM
- Got a Kudo for Re: Any way to keep external tools set up in Canvas test/beta pointing to the test/beta versions across test/beta refresh?. 09-03-2016 08:31 AM
- Got a Kudo for Re: Any way to keep external tools set up in Canvas test/beta pointing to the test/beta versions across test/beta refresh?. 09-01-2016 05:18 AM
- Got a Kudo for Re: Any way to keep external tools set up in Canvas test/beta pointing to the test/beta versions across test/beta refresh?. 09-01-2016 05:09 AM
- Got a Kudo for Re: Updating User's Primary Email Address via API. 03-11-2016 03:37 AM
- Got a Kudo for Re: Updating User's Primary Email Address via API. 03-10-2016 07:42 PM
- Posted Re: Updating User's Primary Email Address via API on Canvas Developers Group. 03-10-2016 01:46 PM
- Posted Re: Any way to keep external tools set up in Canvas test/beta pointing to the test/beta versions across test/beta refresh? on Canvas Developers Group. 01-21-2016 11:42 AM
- Posted Re: Interacting with Canvas using Java on Canvas Developers Group. 11-03-2015 08:46 AM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
Distinguish between Instructor and TeachingAssistant in LTI 1.3 We have a bunch of locally developed LTI tools and we are in the process of switching them from 1.1 to 1.3. We have a few tools where we want to differentiate between an Instructor and a Teachi... |
10-10-2022 |
515 |
0 |
02-08-2023
01:37 PM
2 Kudos
I believe you want to send your PUT to /api/lti/developer_keys/<DEV_KEY_ID>/tool_configuration The url is slightly different than every other api call. Chris
... View more
02-08-2023
11:38 AM
We were trying to do the same exact thing, but I didn't have any luck updating only the pieces that I wanted to change (urls and domains, etc) and ended up just sending everything. It's a bit of a pain as we then have to make sure we keep everything in sync if we make a change to the prd settings for when we update beta/test. Chris
... View more
10-17-2022
12:22 PM
Well, that's interesting. What is also interesting is that for other subroles, I'm not seeing the same behavior. Not sure if there are implementation specific settings, or if Canvas chose to not follow the spec for other roles? But Observer, Librarian, and Grader for example, don't send along the primary and sub roles. Also, that documentation seems like it's incorrect? It has Instructor as a subrole of Learner? That sure doesn't sound right. From a technical standpoint, that spec (and implementation) doesn't make it easy for tool developers to do what I'm trying to do (i.e. figure out what role a user is in). But it probably doesn't do us any good to debate the spec here! As to your question about it being common to have a user with a TA role in one section and an Instructor role in another section of the same course...I have no idea! I'm looking at it with my developer blinders on. Technically it is possible, so I'm trying to account for that case in my role resolving code. Does it actually happen in real life? Not sure. Chris
... View more
- Tags:
- thanks
10-10-2022
01:29 PM
We have a bunch of locally developed LTI tools and we are in the process of switching them from 1.1 to 1.3. We have a few tools where we want to differentiate between an Instructor and a TeachingAssistant, but that is not easily done since the one is a sub-role of the other. Our use case is to grant the highest level of access that the user could have, so we start with admin and work our way down. So, for example when an instructor launches, the role data has http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor and our tool can assume that the user is an instructor. But, when a TA launches, we see http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor,http://purl.imsglobal.org/vocab/lis/v2/membership/Instructor#TeachingAssistant ...if I check to see if the user is an instructor before I check to see if they are a TA, it will come back as instructor (which is bad). Well, maybe I should check to see if a user is a TA first then? Well, no, that doesn't work either. If a user is a TA in one section but an Instructor in another section, we want them to come across as an instructor. So, what are my options here? Is there some other magical piece of data I should be looking at? Can I set a flag in my tool json that tells it to only send the sub-role? Hoping someone has some advice/guidance! Chris
... View more
- Tags:
- please
Labels
- Labels:
-
LTI
-
LTI 1.3
-
LTI Advantage
03-10-2016
01:46 PM
2 Kudos
Chris, I haven't had any luck changing the default email. When you say: PUT https://myinstance.instructure.com/api/v1/users/user_id_goes_here?default_email_id=new_email_id_from_communication_channels Do you mean the communication channel id? I've tried that, as well as the actual email address and none of them seem to take. I get back a 200, but the original email is still the default. Chris
... View more
01-21-2016
11:42 AM
3 Kudos
Can you provide the xml configuration you used to get this to work? I haven't had any luck with it. Chris
... View more
11-03-2015
08:46 AM
We're interested in something similar here at Indiana University. We have had some conversations internally about packaging up our code into a standalone library, but it hasn't gotten any priority. I think there are also some conversations that need to happen regarding licensing of code and so forth. But, if you get to something first, we might be willing to take it for a test drive (and potentially contribute if there are gaps), but that may also depend on licensing and things that are determined by folks higher up the org chart! Chris
... View more