APIs
Discussion List
-
User enrollments API call not returning enrollments with role "Student"
Hello, I'm currently working with Server-to-Server Oauth2 and have run into an issue pulling enrollment. I cannot get enrollments where a user's role is "Student", with the exception of the Organization. This is limited to calls using the /d2l/api/lp/ routes. Our Service User has been given full permissions to everything…
-
What is the current stable version of D2L Brightspace API version?
We are currently using D2L version 1.12 in our application. We are observing some issues with this version, and D2L has also recommended that we upgrade it. As a result, we would like to update the default to a more stable version. Could you please recommend which stable version we should use going forward? Following are…
-
Create PAT association between tutor and student in course section
The API only has a PAT role when creating an enrolment for a user but the PAT is a one to one association between a tutor and a student. How to set this up with the API? e.g. in a course section, 006 is a student with the Student role and 007 is a tutor with the PAT role. How to use the API to say that 007 is the PAT for…
-
Problems using PUT with /d2l/api/le/(version)/(orgUnitId)/content/modules/(moduleId) endpoint
Hi, I'm trying to use the PUT method with /d2l/api/le/(version)/(orgUnitId)/content/modules/(moduleId) endpoint. According to Brightspace API Reference, the payload shoul be a ContentObjectData, with the following fields: { "Title": <string>, "ShortTitle": <string>, "Type": 0, "ModuleStartDate": <string:UTCDateTime>|null,…
-
Course reset via API
Is there an API route to perform a course reset or can course resets only be performed via the GUI? In our institute we work with Template/Master modules which are used as source for course offerings, When a new offering is created the template/master will be copied into that offering so all materials and activities are…
-
416 Error when initiating upload
I'm trying to initiate an upload by posting to: /d2l/api/lp/(version)/(orgUnitId)/managefiles/file/upload I'm including the required headers (with the actual token where the placeholder is): { 'Authorization': 'Bearer <TOKEN>', 'X-Upload-Content-Type': 'text/csv', 'X-Upload-Content-Length': '530', 'X-Upload-File-Name':…
-
Request for API Access to Start and Submit Quiz Attempts via REST API
Dear Brightspace Support Team, We are currently integrating Brightspace with our internal systems and would like to automate the quiz-taking process for users via API. Specifically, we are looking for REST API endpoints that allow us to: Start a quiz attempt for a user Submit answers to quiz questions programmatically…
-
WIdget Coding
Hi Team, I want to create a admin widget which allows for two files to be added and then compared to find the rows with changed data and then use APIs to update the user attributes in Brightspace. DOes anyone have anything like this built currently? Thanks Beck
-
Has anyone security vetted Nolej io as a third party app?
We have a request from a dpt for the integration of the Nolej io third-party application into our Brightspace instance. We have not been able to access ISO or SOC2 for this tool and have questions as they have stated they have not done any integrations with Brightspace - only Moodle. Thank you! Terra
-
file attachment to dropbox feedback by API
I am following up on a post that I had last week after consulting with my admin. I am working on a Python API to automate several processes with my LMS (grades, dropbox). I have encountered issues uploading files to the dropbox feedback as an attachment with the resumable process. I pretty sure the established scopes are…
-
400 Bad Request on Content File/Topic
I'm a D2L LMS Admin working on a custom tool for a page/widget, and I've hit a persistent roadblock with the Content API that I'm hoping someone can shed some light on. The Goal I'm trying to create a feature within a custom HTML/JavaScript tool that generates a CSV file on the client side and automatically uploads it as a…
-
API Quiz Creation Issue - "Provided JSON is invalid or does not match the expected format."
I am using PHP with Guzzle, and I can't seem to crack through this problem. I have tried a number of config options and how the data is formatted with zero luck. Does anyone have a PHP/Guzzle example when posting data to the Brightspace API? Does anyone know why I am not getting more description error messages back? Any…
-
Corelate file on dropbox with quiz answer
Hello, I need to get from API the exact file that was upload as answer to a question. I alredy use the API, and I was able to find the files on dropbox but I couldnt find a way to know which file was upload as answer to an specific question. I had a quizz with two quetions where the user send two files one for each, and…
-
Resolving duplicate user accounts while preserving course progress/completion
We sometimes get duplicate learner accounts (email typos, multiple registrations, SIS mismatches). Fixing in the SIS often orphans data in Brightspace. Has anyone found a way to: Merge or otherwise preserve progress, grades, quiz attempts, and completion dates when consolidating accounts? Map/move artifacts from User A →…
Upcoming Events
-
[K-12 Webinar] Building Community in Brightspace – Tools for Student Engagement
Looking for new ways to build a more connected and engaging classroom? Creating a sense of community can make a meaningful difference in how students participate, collaborate, and engage in learning. Join us for this practical, K–12-focused webinar as we explore how Brightspace tools can help you create a welcoming and…
-
Accessibility+ in Focus: Progress, Possibilities, and What’s Next
Looking for ways to make your course content more accessible? Creating accessible learning experiences is an ongoing effort, and having the right tools can make a meaningful difference. Join us for Accessibility+ in Focus, a webinar exploring how Accessibility+ builds on Brightspace’s existing accessibility features to…
-
Brightspace Guided Training: Q&A
You bring the agenda. Ask your Brightspace questions about teaching, course building, training, supporting or administering in our open question and answer session. Use the registration link under Location to attend live or watch the recording afterwards.
-
Brightspace Guided Training: What's New for Brightspace 20.26.12
Stay current with what’s new in Brightspace. In this monthly webinar, we’ll explore the latest features, updates, and improvements released this month and highlight what you need to know. Use the registration link under Location to attend live or watch the recording afterwards.