latestOpenAPI 3.0.02026-08-105118115.0 KB

4838a5113869

Media

Adds a Media to a Course Collection for the given course_id. Returns the URL to LTI-launch the embedded media.

post/media/{media_id}/create_embed

Path parameters

media_idinteger required

The ID of the media.

Request body

course_idinteger required

Id of the course to embed the media in.

embed_typestring required

The type of the embed. Studio uses "embed" to create embedding with media tabs and "bare_embed" to create one with only the media player.

downloadableboolean

A flag that controlls if the embedded media should be downloadable or not.

Response

The URL to LTI-launch the embedded media. Please note that the URL in the result will work only if it is called with the proper LTI params.

embed_urlstring

The URL to LTI-launch the embedded media.