-
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) >…
-
Steps For Creating A Project For YouTube API's & Adding The Key To Brightspace
Originally created: April 1, 2020 With this workflow, create a new Project and YouTubeV3 API Key in the Google Developers Console and add the YouTube key to Brightspace. Please note that these screen captures are valid only for the current date (April 1, 2020) as Google may change their steps at any time. D2L is not…
-
How to get started with OAuth 2.0
By Mark Tse What is OAuth 2.0? OAuth 2.0 is an open standard authentication framework that provides multiple authentication flows, including the three-legged OAuth flow that is now supported by Brightspace. It allows developers to write applications that access different services on behalf of a user. Target Audience This…
-
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…
-
Putting Valence in the hands of high schoolers
Originally posted on 12/9/2013 on the Valence Developer Blog by Sarah-Beth Bianchi. Several weeks ago, Desire2Learn was invited to take part in a program that connects high school students with local businesses to shed light on potential career paths and provide mentoring opportunities. For this particular event, known as…
-
Collecting Bugs and Tracking Defects
Originally posted on 2/27/2012 on the Valence Developer Blog by Craig Dunk. I like collecting bugs (as in software defects) or at least stories about tracking bugs. With bugs, my favorites are always subtle and hard to reproduce but involve a one line change (As a result I have a lot of bug stories related to threading).…
-
Client side sample for authentication workflow
Originally posted on 6/11/2014 on the Valence Developer Blog by Sarah-Beth Bianchi. The Challenge The authentication model for the Valence Learning Framework APIs requires a user to log in to the Learning Environment via a browser session. This is a smooth workflow when building a web application, allowing the user to be…
-
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…