-
LTI Migration Domain Mapping API Instructions
This documentation provides instructions on how to use the new migration domain mapping API. This workflow will allow migration from one or more 1.1 link URLs to a different 1.3 registration domain, filling the exact domain matching requirement gap. What it can do This migration domain mapping API will allow migration from…
-
LTI Migration API Workflow
Brightspace APIs expose functionality to allow users to migrate Legacy 1.1 links to Advantage 1.3. This API migrates one link at a time which is most useful for org level links that are shared to multiple courses. LTI 1.1 organization level links are made at the instance home page. Navigate to Admin Tools (the cog icon) >…
-
Entering the Attendance Value for Students in a Grade Item from a .csv File
First, you have to create a grade item for "Attendance" of type "Numeric" in the course using the following API call: "POST /d2l/api/le/1.0/(orgUnitId)/grades/""{\n" + " \"MaxPoints\": 10,\n" + " \"CanExceedMaxPoints\": false,\n" + " \"IsBonus\": false,\n" + " \"ExcludeFromFinalGradeCalculation\": false,\n" + "…
-
Adding a user
Originally posted on 6/11/2013 on the Valence Developer Blog by Sarah-Beth Bianchi. In this week's API Cookbook recipe, we demonstrate how to add a new user to the Learning Environment using Brightspace APIs. In this scenario, a student has enrolled and can log in to the institution's portal, which acts as a student…
-
How to Update a User's Password
The appropriate call to update a user's password by providing a new one is: PUT /d2l/api/lp/(version)/users/( userId)/password { "Password": <new password string> } Some notes: Note that the call does not accept a trailing slash, and it is also a PUT route. Note that the POST route enforces a password reset on the user by…
-
Adding Course Content
Brightspace APIs expose functionality to allow users to add and remove content from courses. The following examples show how these APIs could be used to create a standard outline for a course. Suppose all courses must have the following modules: Introduction Marking Scheme Midterm Review Exam Review If we have a list of…
-
Course Search
In this API Cookbook Recipe, we'll review the specific APIs that sample uses to retrieve courses, departments and semesters. Before we look at the APIs, let's review the typical hierarchy of the default OrgUnit types: From the diagram, we see that semesters are the direct children of the root org unit, so we can retrieve a…
-
Creating & Updating Sections
The way you use the Valence Learning Framework API to create sections for course offerings is idiosyncratic. Assume you start with a blank course, that has no descendant org units (no sections, no groups, nothing). In this example, let's fetch the orgstructure data for our Extensibility 106course. GET…
-
Headless (Non-Interactive) Web Service Workflow
Before you start You need to have this information: Your Application's Id-Key pair (let's say 'appID' and 'appKey', but they won't look like that) The domain for your back-end service (which LMS are you calling) The callback point for your app/service where the LMS can send User Id-Key pairs when you request them Creating…