Our custom lti external tool allows an instructor to choose the original redirect url with a visual interface.
Is there a way to update the redirect url using another POST from within the tool?
I don't want to do it manually.
After finding that I needed to change the assignment, I figured out how to Edit an Assignment using the API.
Canvas LMS REST API Documentation
Kenneth Larsen helped me with my other question.
https://community.canvaslms.com/thread/2681?q=how%20to
To update the redirect url of an assignment created using an External Tool after the original resource selection.
I needed to PUT using curl.
$data = "assignment[external_tool_tag_attributes][url] = newURL";
$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_URL => $canvasapi."?access_token=".$atoken,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => $data,
CURLOPT_RETURNTRANSFER => true,
));
$result = curl_exec($ch);
curl_close($ch);
Travis:
Just discovered your question, and noted that nobody had answered you yet.......................
Yes, you can update Redirect installations - these instructions are for course-level:
I hope this helps
Canvas Data Services sent out an alert that a course was concluded (because the course was concluded) and the status of each user in the UI is set to complete, however, the enrollments API endpoint shows the status of each user in the course as active. Is this a common issue? Have I misinterpreted how the individual…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…
UI for weekly progression idea that rest in the Schedule tab of the **K-12 UI** of Canvas it's incomplete and I really would not take it and push it into instance but I am going to post it here because in the past people like @James && @robotcars || @Steve_25 have had terrific input in the past... maybe w/their eyes and…
I have a new React + Flask webapp. It has its own login for users to start using the app. I have added this as an external tool in Canvas. What I want initially is to see of canvas users can start using the webapp without having to login if they click on the external tool link in a canvas course. I have 2 methods…