-
MS Teams Course Connector - Multiple Environments
I'm wondering if its possible to have 2 separate Brightspace Environments connected to Teams via the MS Teams Course Connector, using 2 separate Shufflelabs accounts? We have our Primary environment and a Continuing Ed environment, both with Course Connector capability. We already have our Primary connected to Teams,…
-
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…
-
How to link a service user to an oAuth tool
In the release noets for the november release the Service Users are announced. The release notes tell you wher to find them and how to create them but I mis documentation about how to link them to an oAuth2.0 tool. Ther doesn't seem to be any documentation about that part.
-
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…