Creating an assignment with an LTI 1.3 tool using the Canvas API

kreut
Community Explorer

Hi,

I've successfully used LTI 1.3 with an app that I've created and am hoping to improve the user experience by making use of Canvas' API.  As par of the LTI 1.3 flow (when creating an assignment and without the API) the app needs to be configured:

 

if ($launch->is_deep_link_launch()) {
dd("Deep link launch");
//this configures the Deep Link
$resource = LTI\LTI_Deep_Link_Resource::new()
->set_url($url)
->set_title('Some title');
$launch->get_deep_link()
->output_response_form([$resource]);
exit;
}

 

This process occurs when the user selects the External Tool from the selection of external tools within an assignment.  I was hoping that this could done via the API as well so that I can get the resource link id of the deep linked resource.  However, I'm not seeing how I can do this via the API.

Is there a way to do this via the API?

Any guidance would be appreciated.

Thank you,

Eric

0 Likes