-
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':…
-
BDS 9.2 stopped updating datasets
On Feb 11, I updated to BDS 9.2. I noticed for a few days that data (e.g. Awards Issued dataset) stopped updating. Today, I finally remembered that I updated the version. I reverted back to the old version, and data is now appearing. Might be worth investigating.
-
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?
-
Can anyone help to integration Course Outcomes integration (Third party URL)
Hi @Team, I am integrating the D2L into our application. Can anyone help me for integration. I have stucked in some of the places. Now I need to create a course outcome. Which API I have to refer. Please help?
-
Bug when updating quizzes?
I'm an experienced developper making a tool to update a bunch of information programatically. I have no problem updating folders but I have a weird issue with the PUT /quizzes/quizID endpoint, see here https://docs.valence.desire2learn.com/res/quiz.html#put--d2l-api-le-(version)-(orgUnitId)-quizzes-(quizId) I kinda figured…
-
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,…
-
Merged: How to contact the API team?
This discussion has been merged.
-
Export Levels of Achievement from Mastery View
There are options to export the traditional grades from the Grades tool, but I can't seem to locate a way to export the levels on standards from Mastery View. Is there an export option for Mastery? Is there an API we could harness to export ourselves if the option hasn't been built into the UI yet?
-
Safelisting / Whitelisting
Hello, I am wondering if there is a way of tightening the safe listing / whitelisting so that our clients can only login to our subdomain while accessing whatever other subdomains the components and apis need to reach out to function. My employer does not our clients having access to logon to other organization's…
-
Registering account and OAuth 2.0
Hello, I am a new developer currently studying Computer Science at Michigan State University. I would like to register my test developer application and gain admindtrstaive privleges to access the Estensilbity tool. My goal is to make API calls to D2L from my web application project.
-
Getting Org_Defined_Id within Storyline SCORM
I have a Storyline object running inside Brightspace. I need to get the learner's Org Defined ID or course location to customize some of the Storyline object to the learner. If I understand correctly, the SCORM API does not provide this data. Is there any other way to get it from within Storyline? Can I call the Valence…
-
Unable to send section creation request via API
I am trying to create a section via the API but I'm running into issues. I think the server is interpreting my POST request as a GET request and failing to perform the operation I am requesting. Would somebody please provide a full example of a successful section creation request that I can reference? API route in…
-
What is the stable version of D2L Brightspace API version ?
Hi All, We have used 1.12 version for below routes. We need to know what the stable and recommended version of api. Based on my understanding 1.23 and 1.24 are right now. some time back we received one issue and D2L suggested to move to new version of D2L api. What is your recommandation ? Existing routes in our…
-
API add topic
This is driving me mad I can add a URL topic, no problem. However, adding a FILE topic is proving to be impossible, I always get a 400 error. I tried postman, python, and curl. Trying to stay as close to example in the documentation as possible. I know the URL is not correct for my instance. curl --http1.1 --request POST \…
-
APIs for Student responses/answers
Are there any APIs where we can fetch the student's responses/answers for assignments in D2L?
-
Accessing course enrollments through API calls
I'm accessing https://docs.valence.desire2learn.com/res/enroll.html#get--d2l-api-lp-(version)-enrollments-myenrollments-. However, I keep receiving "Message: "Insufficient scope to call API.Required: core:*:*"" I've added the scopes "core:*:*" and "enrollment:own_enrollment:read" to my Oauth2 application and yet the error…
-
Cannot access my enrolements
I'm trying to access the following end-point https://docs.valence.desire2learn.com/res/enroll.html#get--d2l-api-lp-(version)-enrollments-myenrollments- However I keep receiving "HTTP request returned status code 403: { Errors: [ {Message: "Insufficient scope to call API.Required: core:*:*"} ] }" I added the core:*:* and…
-
News service API resulst in 403 (forbidden) when retieving anouncements fot a user
When I use GET /d2l/api/le/(version)/news/user/(userId)/ tot get the announcements for a specific user I get an HTTP 403 Forbidden message unless the API call is performed by a user who is granted the (Super) Admin role. When I use GET /d2l/api/le/(version)/(orgUnitId)/news/ to get the announcements for a given orgunit it…
-
Get information about LTI tool linked to a topic
When I create a link to a tool like FeedbackFruits a topic with the LTI link is created. Hen I retrieve the information about the topic I set: "ToolId": 390000, "ToolItemId": 50187 The ToolId 390000 refers to "External Learning Tools". I think that ToolItemIs 501987 refers to the FeedbackFruits tool I selected but I can…