APIs
Discussion List
-
Looking for API calls for quiz results displays
I found myself in a situation where I need to update a whole mess of quiz result displays and I'm having trouble finding anything in the API that could help me. Specifically, I'm looking for something that would allow me to download and upload the text from the messages in each of the results display views of a particular…
-
Authorization Tokens that keep Expiring
I created a widget, that allows an Instructor or Admin level to create a course using a form and entering a title, and the rest is generated for the user. Doing so requires an API POST command that requires a token. What I'm finding is the token keeps expiring. I have the auto-refresh token turned on, but this didn't fix…
-
classlist paged could not get Username nor Email
{{BrightspaceDomain}}/d2l/api/le/{{leversion}}/6606/classlist/paged/ always return null on Username and Email, which seems to be a bug Those two fields do have data in{{BrightspaceDomain}}/d2l/api/lp/{{lpversion}}/users/ return
-
Update User Data Using API
I've been using this PUT request to update user information for years. On April 12 2022 it stop working and I am receiving the error: "Validation Error: The Org Defined ID is already assigned to a different user." I have found a hack fix where I change the Org Defined ID to 00000000.temp run the put request then run it…
-
to use wildcards in Query Parameters
Is it possible to use wildcards in the api query parameters, for example, I need to search by First and Last Names in this api, GET /d2l/api/lp/(version)/users/ Unfortunately, there is no such Query Parameters, but if I can search externalEmail with wildcards, it will help.
-
How to get "Object Id" for GET /assessment?
API: Is there another API that lists all the Object Id?
-
Ability to pull User Progress via API
How can I pull user Progress via the API? When I try yo use GET /d2l/api/le/(version)/(orgUnitId)/content/userprogress/, I get a 404 back. Regarding , 'Finally, note that the back-end service may not have all the Brightspace functionality enabled to provide access to all the APIs contained in this API reference…
-
machine readable API documentation?
Is there a full machine readable API documentation available? I realize there are blocks of JSON-like descritiption in the human readable reference, and they are described here: But are all of those JSON-like segments gathered somewhere (for each API-version)? Potential formats (but I'm not limited to those): JSON, YAML,…
-
New Service API = Announcement API?
I started reading the News Service API. It sounds like this deals with Announcements. When I look at the News config variables, they are specifically talking about Announcements. Does this provide a way to programaticlly post announcements at the various org levels using the API?
-
Non-user authentication for quiz APIs?
Hello, We'd like to use an API to pull information about available quizzes, for the purposes of an administrator being able to set up tool configuration for existing quizzes. I see that this API exists: /d2l/api/le/(version)/(orgUnitId)/quizzes/(quizId) However, the only client-credentials flow I see available is for LTI…
-
UML diagram of Valence API
Does anyone have an UML diagram of the D2L valence API ( ? 🙏 BR Arnold
-
API calls to Dropbox - file naming
We're working with the API calls to gather student submissions. The goal is to automate the collection of signature assignments for over 220 courses. Using GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/(userId)/download we noticed that the zip file doesn't follow the naming convention set in…
-
How to get the grade from the dropbox in the API
Hello, I'm new using the brightspace api and I'm a bit lost in the data schema. If I have a dropbox folder in a course that I can request with this request /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/ (https://docs.valence.desire2learn.com/res/dropbox.html#get--d2l-api-le-(version)-(orgUnitId)-dropbox-folders-) This…
-
How to update pronouns
Hello We want to update users' pronouns and disable users' ability to update through BrightSpace. Pronouns data will feed from another system, I can see system Pronouns can be set when creating a user through API, but I couldn't find a way to update pronouns for existing users. If updating system pronouns isn't possible,…
-
Adding Course Content through API calls
I'm following the https://community.d2l.com/brightspace/kb/articles/1529-adding-course-content using Postman. I've followed most of the tutorials on the site with success with this one exception. When I run the API call, according to the directions, I get a { Errors: [ {Message: "Insufficient scope to call API.Required:…
-
Enrollment API call failing with a specific user role type
We are experiencing an issue when trying to enroll a user with a specific type of User role. The endpoint that is being used is POST /d2l/api/lp/1.9/enrollments. The process is supposed to create a demo student for a course and has been working for a few years, but since near the end of January the enrollment call has been…
-
What is the path to get org unit paths?
This API route - PUT /d2l/api/lp/(version)/orgstructure/(orgUnitId) - requires Path as part of the OrgUnit.OrgUnitProperties { "Identifier": <string:D2LID>, "Name": <string>, "Code": <string>|null, "Path": <string>, "Type": { <composite:OrgUnit.OrgUnitTypeInfo> } } However, the similar GET call does not return Path. The…
-
Is a "Learner" role allowed to update the grades through an API Call?
I'm having trouble trying to make the API call below due to the lack of permissions from "Learner", the scope given is correct but yet the API returns a 403 which is forbidden. PUT https://learn.build.org/d2l/api/le/1.9/(orgUnitId)/grades/(gradeObjectId)/values/(myGradeValues) { "GradeObjectType": 1, "PointsNumerator": 12…
-
Can you replace the dead links here, please 🙏:
https://community.d2l.com/brightspace/kb/articles/1375-user-authentication-faqs-best-practices
-
Setting dropbox "out of"/ScoreDenominator from API
I'm trying to create an assignment dropbox and a new grade item from the API, with the dropbox linked to the new grade item. Everything works in isolation, but when I add the AssociatedTool parameters to the call which creates the Grade object (to link it to the dropbox), it generates a 500 error. Trial and error has shown…
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.
-
Let's Learn with Language Educators🍎
Join us on September 27th from 8:00-9:00am ET for a special Q & A style event where we spotlight the work of language educators in Brightspace. 📅Register Now What to Expect❓ 🤗Language educators share their best practices for delivering content in Brightspace 🏫Connecting you with community resources 💬 Addressing your…
-
Reach Every Learner: Understanding and Addressing Accessibility
Are you current on accessibility requirements and opportunities, including federal rules? Do your institutions and instructors recognize how meeting the needs of students with disabilities provides a pathway to better meeting the individualized needs of all students? Join a panel of experts led by a U.S. Department of…
-
SSO Support Session
💥Community Single Sign On Available Now🎉 This event is for any Community members who have questions about or need assistance with the new SSO experience in the Brightspace Community. ❓️ What is Community SSO? Brightspace Community members can access PIE, Learning Center and (for those who need it) the Approved Support…
-
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.