-
Brightspace API Release Notes - November 2024
Our Brightspace ILP in continuous delivery provides these new features and changes since the release of October 2024: Learning Environment. Version 20.24.11 of the Learning Environment includes these changes with version v1.81 of the LE API: We’ve added a PinnedDate property to NewsItem structures. Previous changes. You…
-
Share your Experience Using APIs with D2L's UX Research Team!
D2L’s User Experience (UX) Research Team is looking to speak to individuals who use Brightspace APIs about their experience using them. UX Researcher sessions will be running between February 12, 2024, to March 15, 2024. If you are interested in participating in this UX Research, please see the project details below.…
-
How Can Our Developers Group Help You with Your API Workflows?
Heyya all! I want to re-examine the value of this group and ensure it provides the right information, resources, and discussions to support all of you. I'd appreciate hearing from you on what you'd like to see this group provide, and how you've used it in the past. One item that I'm specifically taking a close look at is…
-
Dataset extracting issue in ADF - status code 400 Bad Request
Hi everyone, I built a pipeline in Azure data factory to download bright space datasets in batches. Some of the datasets extracting gave me HTTP 400 Bad request error. What confused me is some of the datasets extracts worked, some didn't. The download link URL is like this:…
-
Account Creation date/time
Is there a way to search for all users who's accounts have been created since some point in time? We have processes that we want to perform on new students (enrolling them into an orientation course shell, resource shells, etc.) however the application that actually creates the user accounts from the SIS using IPSIS…
-
Track user interaction: custom page visits and navbar/homepage changes
We are building a custom widget that offers users a simple way to customize their course. Among others, users can choose between different navbar and homepage options for their course. We display this widget on some of our course homepages in Brightspace. A more detailed version of this widget can be opened on a separate…
-
Working with Google Workspace
Our school uses Google Workspace for email. I am working on a program to automate the linking of D2L user accounts with their corresponding Google Workspace accounts. Currently, I have to daily generate a csv file of all users who have not been linked (using the database created from datahub BDS sets). I then use this file…
-
LTI 1.3 Asset Report Service endpoint in Brightspace?
Hi Everyone, I’m implementing an LTI 1.3 Asset Processor tool in Brightspace and have everything working except the final report submission step. From my understanding, I need the Asset Report Service endpoint to POST a report to Brightspace. Brightspace does not seem to advertise this service in LTI claims (both launch…
-
HTML Widget for RSS Feeds
I have successfully embedded a live RSS feed on the homepage using a custom HTML widget. Our Vision is to have the Widget to disappear when there is no content in the RSS Feed, and display the contents when an announcement is entered - so it automatically appears when someone enters anRSS feed altert. The good news is, AI…
-
How do I update user attributes via the console with apis
-
What is the Valence API endpoint to create Source Courses?
What is the Valence API endpoint to create Source Courses?
-
Posting a feedback file to a dropbox via API
I have been trying to write code either via POST /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/feedback/(entityType)/(entityId)/attach or POST /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/feedback/(entityType)/(entityId)/upload I've been trying to upload a specific small file as a test, and…
-
core:*:* scope for 'dropbox' endpoints?
Hello, I'm using the brightspace API pretty extensively, and I've encountered a number of endpoints with no OAuth Scope listed. Primary related 'dropboxes' (https://docs.valence.desire2learn.com/res/dropbox.html#get--d2l-api-le-(version)-(orgUnitId)-dropbox-folders- for example), but also in other areas…
-
ID/Key auth Python assistance
Hello! I’m implementing ID/Key authentication for a Python script and am running into a few issues I could use some help with. I know OAuth2.0 is the new standard, but for now I'm just trying to make simple API requests and I believe this route will suffice. Issue 1: Redirect to 404 after login (no callback) My script…
-
Is updating/fixing the Content API on the Roadmap?
Our institution makes pretty extensive use of this following API for our custom applications: https://docs.valence.desire2learn.com/res/content.html#get--d2l-api-le-(version)-(orgUnitId)-content-toc There has been an unstable version of this endpoint (with some issues) which appears to be untouched for at least the last 2…
-
Request for Guidance on Brightspace API Id-Key Authentication Integration
This question is regarding a recent LAM Request case, 02189981 I am currently in the process of integrating Brightspace APIs into my application.At present, I am part of the SSO setup from Carrier with a Learner role, but I require an Integrator role to pull data via the APIs. Matt Walker has advised that assigning both…
-
OpenAI Spec ?
Has anyone started working on an OpenAI spec for the API? Something that could be fed to create a custom GPT, CoPilot Agent, or any other LLM that supports customization?
-
Send Email
Is there a way to send email via API? All I could find was about user account configuration. I want to be able to have an application send an email (with an attachment) to a user from within d2l.
-
importing release conditions in course package?
(Third time is the charm, I hope…thought I had posted to the developers community earlier but apparently posted on a different forum!) I am working on a GUI in python and Qt that allows me to modify announcements efficiently for populating a course by uploading zip file (news_d2L.xml and imsmanifest.xml). The core…
-
API version checking
I was testing my understanding of the endpoints for getting/checking API version support on Postman. All of the GET endpoints work just fine, but when I try the POST endpoint, /d2l/api/versions/check I keep getting a 302 error whenever I try. (I am using core:*.* oath2 scope and have authenticated as myself (Administrator…
-
Devcop instance?
I have developed an assessment tool that I would like to hook up to d2l for grade passback. The github says "If you are not a member, you can easily join in order to access credentials for the Devcop instance." However, when I follow the link (https://community.brightspace.com/SelfRegistration) and attempt to register, it…
-
Moving to OAuth 2.0 in valence and having some questions about Token, refresh Tokens etc...
Hi all, I've finally decided to start looking to move the Valence authentication module I started on my side back in 2012 to oAuth 2.0… I have a few questions while looking at the redesign of the internal library… and it is about the authentication, the life of the Token and refresh Tokens. When I authenticate to…
-
Is there an API content type where any user type can read & write to a created data instance?
I'm working on a BrightSpace-integrated port of an existing fully external custom data service where an important requirement would be Learners being able to make booking content that any other user, regardless of type, can see and edit provided they have service-unique permissions. I have repurposed the API's discussion…
-
Updating Course Completion Tracking Settings using the API
Is it possible to update Course Completion Tracking Settings using the API?
-
Learn Postman with Paul -- replacement ??
I see that "Learn Postman with Paul" has been removed. What is the replacement for it?
-
User Enrollment in Custom Org Unit Type
I am able to enroll a user into a standard org unit type with a role just fine, but when I attempt to enroll them in a custom org unit type, labeled Campus, I receive a 403: Unauthorized response code. The granted scope contains the scope listed for the POST /d2l/api/lp/(version)/enrollments/ endpoint. I've also confirmed…
-
Github Classroom's LIT connector with D2L?
@Denise.M.3057 has posted a really neat question to the Development Category, hoping to connect with folks that have experience connecting Github Classroom's LIT Connector with D2L. I'm XPosting the question here to increase visibility in the hopes that one of our members here may have some advice to share.
-
Update CanSelfRegister course offering
Hi all, I'm trying to update an existing course offering via the Brightspace API, and I suspect the issue is related to the CanSelfRegister field. I'm sending the following JSON body in a PUT request to: PUT /d2l/api/lp/1.51/courses/6671 Here is the body: { "Name": "Ruud Koopmans Sandbox", "Code": "SB_r.p.m.koopmans",…
-
class progress
Hello everyone, I'm currently working on integrating with the D2L Brightspace API and I'm trying to identify endpoints that provide comprehensive class progress information. Specifically, I'm looking for endpoints that can show: Overall class progress metrics Student grades across all assessment types Quiz completion and…
-
API Uploading User Photos
I am trying to upload users Photos using the API. I receive a successful response from each post; however the images do not change. I will post a screenshot of my code in C# below and would greatly appreciate it if someone can see anything wrong with the code.
-
API & Performance+
Is there API access Performance+ functionality ? What I am wondering is Is it possible to drive P+ via remote control. The idea would be to have multiple data sources only 1 of which is D2L and use these other data sources to filter the data presented to the built-in data tools in P+ and then read the results directly.…
-
Scopes Table for LTI Advantage tools that use Client Credentials Flow?
We are developing a tool that is registered as an LTI Advantage and we are using the 'client_credentials' approach to obtain the access token. We also try to call some Brightspace API endpoints (with the authorization header applied). To be able to call these selected API endpoints, we have to authorize the user specifying…
-
Copy Module and Topics via API
Has anyone had any luck copying a module and topics from one course to another course via api? I designed a module in one course that has topics, this module and topics need to be copied over to a number of courses. We have had issues with using BCC in the past and wish not to use it if we can. Since most of our faculty…
-
Postman Error - Refresh Token works, whoami doesn't
Note: This thread references the Learning Postman with Paul course, which has been deprecated and is no longer available in the Learning Center. I followed Postman with Paul's directions to create my first API. I created environment variables to replace the collection variables. I can successfully request a new access…
-
POST /d2l/api/lp/(version)/(orgUnitId)/groupcategories/ not returning Groups.GroupsJobData
I'm not getting back any JSON data from my groupcategories put . I get the response.status ==202 but I can't grab what should be a Group.GroupsJobData. The code does generates the Group Category and the single group that should be in the category. Problem is without the GroupsJobData I can't grab the id of the generated…
-
Log and Logging API
Has anyone been successful at pulling logs? I've read all the documentation and have tried so many different combinations of parameters but nothing works for: GET /d2l/api/lp/(version)/logging/ GET /d2l/api/lp/(version)/logging/grouped/ The only one that does seem to pull data is GET…
-
API SCOPES available to Course Home Widgets.
I'm trying to use the forceLogouts LP API call from within a course widget. But I keep getting response.status of 403. I'm doing this so my Single Sign On Users will get forced logged out from Brightspace pulse which would normally hold their login for the 30 day tokens they are granted in Pulse. We want to just lock the…
-
Brightspace events?
Hi. I'm quite new to BS development. I'm faced with the following issue. I need to get all enrollment changes in BS groups. The thing is that there are a lot of groups and I don't want to get the group info of all groups, and then check if there are changes. I think that would take to much time, but also be to big a load…
-
H5P affects D2L's nav bar position
Has anyone else run into the following issue when using a book activity from H5P? We embed the H5P book in a content page, and when clicked, the book's position on the page changes (I think there is some scrollToTop method being called in an H5P script). However, in doing so, D2L's nav bar gets pushed off the screen and…
-
Workshop Booking Calendar widget
Hi Team I tried to create a workshop booking calendar with a search function with out system admin being able to add events but i needed the OAUTH2 code and the my brightspace instance do you know where I would get these things? I then tried to change it so the events where added in a separate widget but populated in the…
-
Checking special access for user across multiple quizzes
Using the API, we need to review the list of quizzes in a course (only four) and see if a user has been granted special access and attempted the quiz, then assign/grant special access to a quiz they haven't attempted. Just want to verify our logic with people that have been doing this for awhile (this is new for me): Get…
-
Python script to connect to Brightspace API
Hello Everyone, I just joined this community. I am asking this question for a colleague (supervisor) who is trying to connect to the Brightspace API using python. We tried the postman (I am new to all of this so pardon my ignorance) which works fine, but when we try to get a response using python script, we get an error.…
-
Creating Topics and Modules via API - working examples?
Hi all, I'm looking for examples of creating modules and topic via the API. I'm learning using postman to ensure each request has the correctly formatting JSON and reading the documents. I regularly get 400 errors due to my JSON being incorrect. Debugging this requires a lot of removing & editing lines and it can be very…
-
Postman or D2L MAC Issue
When I click Get New Access Token in Postman, it take me to our org SSO page for signing into D2L, but once the authorization is passed, I get this screen. My browser is set to Chrome, I see our D2L logo so this tells me something on D2L isn't processing correctly or Postman can't seem to open the authorization process in…
-
Power Automate Custom Connector help
Has anyone created a custom connector in Power Automate for Brightspace APIs? Good ol' AI has been helping me limp slowly towards a solution, but now I'm stuck. I'm trying to build one that gets Brightspace datasets. All my API calls are working in Postman. I managed to create a custom connector that authenticates. I added…
-
LTI launch with empty body
Hi, Every now and then we receive LTI launch requests with an empty body from our Brightspace instance. This obviously results in error, which we see occurring in our logs. Has anyone see similar behavior and were you able to figure out what was the cause? We use LTI 1.1 (it is a widget, it does not support 1.3 (yet)), the…
-
Get Question list greater than 20
I'm running this api call GET /d2l/api/le/(version)/(orgUnitId)/quizzes/(quizId)/questions/ but all I'm getting is only the first 20 questions. How can I pull more than 20 questions? I'm assuming this is a paging issue, but I'm not sure how to get around it.
-
403 Error API Quizzes
I'm getting a 403 error when I try to do a test call to get quiz data. I am a member of the Super Administrator role and am using this for a scope: content:*:* core:*:* datahub:*:* enrollments:*:* grades:*:* groups:*:* orgunits:*:* quizzing:quizzes:read reporting:*:* sections:*:* users:*:* This is the call that I am…
-
Integrating Brightspace with Zapier Private Apps Builder
Hi D2L Dev. I'm trying to build a private non listed app in Zapier using Brightspace public APIs but am struggling to pass the OAuth2 authentication step. It seems straight forward but something is not right. Thanks in advance. Error message received in the browser after authenticating thru the UI in Brightspace to collect…
-
Course comapletion status and Grade along with topic score for respective grade activity.
Hi Team , I am using course toc api for my lti i want to know how we can get score of each topic and course completion status along with course calculated/final grade for user using apis .