Creating links using the Canvas API that will work on the Canvas app

matthew_taylor1
Community Explorer

Hi there, 

I'm trying to create links to pages which are listed in the Modules page in Canvas.

I'm using the API to get a list of module items (/api/v1/courses/:course_id/modules/:module_id/items) but I'm finding that the html_url link listed in the app does not work in the Canvas app - it takes students to the modules page rather than the relevant module item.

What is the best way to get a link to the module item that will work on both the website and the App?

Many thanks in advance

Matthew

Labels (4)
0 Likes