Always Learning

LearningStudio organizes course content into units and content items, which are represented in the left-hand navigation frame of the user interface. This set of APIs provides information around the structure of a course's content, the list of content items, the dates that students may access the content, and the due dates or schedule for that specific content item. The APIs are divided into two categories.

Course Structure APIs

The Course Structure APIs provide the list of content items in the course and can also provide a hierarchical listing of content items. Course Structure includes all content items, which can include Threads and Exams as well as the three types listed above (note that because Threads and Exams are complex domains, they have their own API sets).

Also grouped in this section are Content Item Access, which provides the dates that students are allowed to see and access a content item, and Content Item Schedule, which provides the start and end dates for a content item (if they exist) and the due date for the content item (if it exists). Also see the Schedule APIs.

Course Content APIs

Each content item is technically just a container for some sort of learning tool. In the case of the Core Content APIs, there are three types of content you can access via the APIs:

  • Text/Multimedia is basic HTML content. It is authored using the visual editor in the LearningStudio user interface and is returned as HTML for you to display in your app.
  • MS Office Documents content items allow for a teacher to upload an MS Word, Powerpoint, or Excel document for use as course content. The document is converted to HTML; using the APIs you can retrieve both the HTML and the original document.
  • Web Content Upload content items allow for a teacher to upload a zipped package of web files (HTML, CSS, JavaScript, Images, etc) which are then unzipped and displayed as course content. Using the APIs you can retrieve the HTML as displayed in LearningStudio and the original uploaded Zip file.

Other types of content which are represented as content items include Threads and Exams, both of which have their own API sets.

Content Code Library

We encourage you to read through the Course Content API documentation to understand the general principals of how these APIs work. But when it comes time to start coding, use the new LearningStudio Libraries to streamline your efforts. The libraries include composite functions that make it easier to retrieve content regardless of its type, and the libraries include support for Threads and Exams as well.

Note: These APIs are read-only. Content can only be created via the LearningStudio User Interface.

9046 reads
Always Learning