-
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…
-
What is wrong with this Brightspace API (Copy Course Components)?
Hello everyone, I am not sure what is wrong with this Postman Brightspace API. I am following the guide here: The import api using a zip export worked perfectly, but the request that copies from a sourceID to a targetID is giving me an error (POST /d2l/api/le/(version)/import/(orgUnitId)/copy/) Appreciate any feedback.
-
The access token is for another tenant
Been learning to use Brightspace API via POSTMAN, created OAuth 2 application. Have followed https://github.com/Brightspace/Postman-Collections instructions. I can receive access token from OAuth 2. When tried to call "/users/whoami" got 401 "The access token is for another tenant". Can someone assist me?
-
Is there any API for Question Library?
Is there any API for Question Library? I checked the documentation but couldn't see it. I also tried to use the existing endpoint but it doesn't return questions if they are part of the question library. GET: /d2l/api/le/(version)/(orgUnitId)/quizzes/(quizId)/questions/
-
Intergrate ChatGPT into learning content
We are exploring embedding an API key into a Storyline file while ensuring its confidentiality. We have been working on xAPI file built using the Articulate Storyline eLearning authoring tool. I am having difficulty hiding the API key for ChatGPT, and I was hoping there might be a solution for hiding the API key based on…
-
Unable to authenticate to D2L brightspace from our code base, need your inputs and help
we are currently using oath2.0 to connect to brighspace and all of the sudden we are unable to get access tokens, could you please give us a call ?
-
Access to Brightspace Client Course - Learn Postman with Paul
Hello, How can I get access to the client course: Learn Postman with Paul? This is the error I received when I clicked on the course link:
-
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…
-
items due returning only 1 value
I am trying to create a widget that pulls a list of all the items that the student has outstanding in a course. I am making a call to the 'content/myItems/due/'. I tested it with only 1 assignment due and it worked. However, when I added more assignments it still just returns the one and not 4 as it should.
-
Learning Group not enrolling a user in courses
I have 2 Learning Groups 1 for free users, 1 for paid users. The paid course list is larger than the free one. When I update the _RoleCategory attribute to 'Member' it seems to correctly enrol the user in those courses. Due to a user not paying their fees, my process involves unenrolling the user from the paid courses,…
-
Where to find the relationship between a questionnaire question and its response attachment
I am integrating the D2L API with an electronic document management platform, and to classify the document on this platform, I need to find the relationship between a question asked in a questionnaire and an attachment sent by the student as an answer to that question, where can I find it? this information? I was able to…
-
API Index
Hi there, Can you help me on finding the index of listed data hub from this url. https://docs.valence.desire2learn.com/genindex.html Data Hub 1. Course Access 2. Organisational Units 3. User Enrolments
-
core:*:* scope
Hi everyone, I had a quick question. One of our partners who handles our student advising for one of our programs has requested access to OAuth2.0. They gave us the scope and API calls they were requesting access to. The dropbox/assignment APIs don't have their own scope as most of the tools do, so they're just included in…
-
Way to create a question type in CSV that allows for numeric input with Errors tolerances?
Has anyone found a way to generate a question with numeric inputs for the students and error tolerances OTHER than using the question editor in D2L/Brightspace? Either by R, CSV or Python would be great! I have a script to mass generate questions in Python that creates a CSV files and allow for an array of answers (all…