API Cookbooks
API
Development
Discussion List
-
Retrieve user's enrolled courses after they logged into OAuth2.0 and got access token
I'm still not sure how to use that retrieve what courses the student is enrolled in. The goal is, the student clicks on the webapp, it redirects for OAuth and after that the backend gets an access token. What I want is after this step, is to check what courses the user is in. I was looking through the documentation and I…
-
File upload using new Course Files APIs
Hi, I saw the release of the new Course Files APIs that allow users to upload files to a course offering and am excited to try them out! In particular, I am attempting to upload a file to a course, first with the /upload API followed by the /save API. I have successfully received the expected 308 response from /upload, but…
-
Error:"Missing \"grant_type\" parameter" when I send a post request to Token Endpoint OAuth2.0
I'm trying to connect my webapp on brightspace page and use OAuth2.0 however my program keeps breaking at the token step. I get this error saying I'm missing grant_type even though I believe it is specified. I tried using Postman to check and got same issue. Here is my python code: token_params = { 'grant_type':…
-
Sections content management
How would I arrange sections of one course offering to have section dedicated discussions so discussion posts are only visible to other section members? How do I best align the settings on each discussion to only be available to one of ten sections?
-
How to find and delete unused SCORM files
We have a large number of unused SCORM files on our platform (for various reasons, including when we would upload new versions of SCORM files before we knew we could upload a new version by overwriting the old one). When we upload the SCORMs, they aren't included in the course file folder. I can't find the actual folder…
-
Can Creator+ practices go through LOR?
We upload our HTML pages to the LOR to pull to multiple course offerings. We found that when we link to LOR HTML pages with practices, the practices show "Error Loading Practice."
-
Login Issues with Single Sign on in D2L (two accounts)
Hello, I need help logging into D2L with my single sign-on username and password. When trying to access the site, it allows me to authenticate through the sign-in process up to the point of receiving a text message, but when I select stay logged in, it gives me an error message. See attached screenshot. I can authenticate…
-
Using API to get which courses is the student enrolled in
I have a small webapp that I want students from Brightspace LMS to use for their courses. The app is supposed to display different data based on each course the student is enrolled in. My idea of implementing that was to include the URL for the app in the course page, then when a student clicks it, it redirects them to the…
-
I'm looking for how I can check whether a user is enrolled in a course or not using the API
Hey, Im new here. I working on a small webapp that I want to connect with Brightspace LMS. The LMS has many courses and the webapp should present something different depending on which course the student is enrolled in. Now my idea was to put the link to the webapp on the course page and then when a student clicks on it, I…
-
Question about OAuth 2.0 authentication/authorization stage
Hiya, Just wondering if the client shell for OAuth 2.0 authentication linked in this article is appropriate for production use to obtain access tokens? Application: Or, would we have to develop our own workflow? Or use a library? I'm quite new to this, and so far I've been testing on a locally hosted server but I don't…
-
Merge accounts
Can we merge two accounts in Brightspace that have courses in each account for a user?
-
Using a CI/CD from Github to Brightspace Content editor tool?
Hi, I'm using Github as version control for my topics design source code which is using bootstrap framework. Is it possible at all to to use a CI/CD to ensure that when I commit push to Github its automatically update my contents in Brightspace units?
-
Publish Date Recorded?
My university manages instructors posting a weekly announcement by scanning their announcement Start Date. However, the Start Date defaults to the date the announcement is first saved. If saved as a draft, the announcement has not yet been posted. To avoid receiving warning messages about not posting an announcement, the…
-
API upload file - 'processing failed' reasons?
On at least one occasion when I upload a course SCORM zip file with the upload API, when I check the status, it failed with a status of "PROCESSINGFAILED." (Other uploads succeed.) Is there a way to get additional information? Or does anyone know what could cause upload processing to fail? The zip file is only about 18 MB.…
-
How to I get development shells for two courses I'll be teaching next spring?
I'm an instructor at Buffalo State University. Need two shells: SPA 302 SPA 398
-
Hi, I'm building a navigation button in the topic content using bootstrap framework.
My question is how do i make sure it works in Brightspace Pulse app as well because I'm using the browser URL so if i enable it on mobile, users will be redirected to browser instead of staying in Pulse app
-
Brightspace API "Invalid Parameters"
At a high level: I am trying to use the course-import endpoint to upload a SCORM package zip file. In the weeds: I am able to hit other Brightspace APIs (including successfully authenticating) using Postman, but I am getting "400" errors when trying to import a course zip file using Brightspace's course-import API…
-
Integrity Advocate Grade Item Configuration
Hello, We are using Integrity Advocate (Level 4) to proctor** examinations for our courses, and have had some challenges with setting up the grade items properly. Our courses are scored in D2L, and then we send results via an API call to our proprietary LMS. We call the 'Final Calculated Grade' to retrieve the result.…
-
Space added below iframe in Content
Whenever a user opens and then closes an accordion (Bootstrap) within Brightspace, the iframe seems to add to the height of the page, creating additional spacing below the embedded html page. It looks very awkward and is confusing for users. We only noticed this issue within the past few weeks. Did something change in the…
-
Course import using Brightspace API (and Postman)
— cross-posting; also posted in Developers group forum — Hi, I am trying to use the "Create a new course import job request" api: Has anyone successfully used this API endpoint using Postman? I'm using Postman 10.15.4. My API call authenticates but after a few seconds (evidently after the transfer of the zip file), I get a…
Upcoming Events
-
Brightspace Guided Training: Q&A
Are you new to Brightspace? Do you have specific questions about getting started in Brightspace? Join us during this session to share your questions and learn about helpful resources available on the Brightspace Community.
-
Reimaginando la Educación Híbrida (Reimaging Hybrid Education) Spanish
Cómo las instituciones de América Latina están transformando la educación superior, ofreciendo la mejor experiencia para los estudiantes a través de modelos híbridos. How Latin American institutions are transforming higher education, offering the best experience for students through hybrid models.
-
Teaching & Learning in India Reimagined (APAC Time Zone)
Join Dr. Prem Maheshwari, Business Director South Asia at D2L, along with some of the industry leaders, for insights into achieving educator excellence and supporting faculty in enhancing their teaching skills. Together we’ll explore: Change Management: Strategies for upskilling educators and instilling classroom…
-
Teaching & Learning Reimagined (EMEA Time Zone)
Join Osama Khan, Deputy Vice-Chancellor Academic at Aston University; Michelle Olmstead, Chief Innovation & Enterprise Officer at Trinity College Dublin; Sam Tanner, Head of Flexible & Work Integrated Learning at Nottingham Trent University and Stewart Watts, Vice President EMEA at D2L, for an insightful discussion on…
-
What's New for October 20.23.10
Want to stay on top of the latest and greatest in Brightspace being released this month? This session will cover all the newest release information in October 2023!