-
All of the data sets?
I am trying to determine a list of all of the D2L products and methods that provide data to admins, educators, and students. So far, I have come across the following names for data sources: Application API, Brightspace Data Portal, Brightspace Analytics, CSV Data Exports, Data API, Data Hub, Data Sets, Insights Console,…
-
API - PUT to user to remember action taken by user i.e. dismissing notice
Hi there, Can anyone suggest the best way of recording that a user has dismissed or actioned a notification in Brightspace? Example: if the user agree's to a statement with a checkbox, a PUT action so the statement is essentially dismissed and this action is recorded against the user to prevent the notification appearing…
-
We are trying to build a widget that uses an API call to display certain information based on...
We are trying to build a widget that uses an API call to display certain information based on the term name that is part of the course name. Instructor or student roles get a 403 error when the widget runs. How can we get those roles acccess? We are using this call: GET /d2l/api/lp/1.9/orgstructure/{orgUnitId} Is there a…
-
New Access Token error, "Error: unable to get local issuer certificate"
API newbie here. I'm taking the [Archived Content] Learn Postman With Paul course. I'm at the Get Initial Token phase in Postman. I've filled in all my fields, clicked "Get New Access Token", and I get prompted to sign in... Which I do - but then I get the, "Error: unable to get local issuer certificate" error. What am I…
-
What does the PUT /d2l/api/le/(version)/(orgUnitId)/content/topics/(topicId)/file want?
If a...
What does the PUT /d2l/api/le/(version)/(orgUnitId)/content/topics/(topicId)/file want?If a working example is available it would be very help, but I currently have no idea what to actually provide this route. I am building an app using react and the "superagent-d2l-session-auth" npm library the route method looks like…
-
Is D2L.Extensibility.AuthSdk.Restsharp for C#/.NET is missing an extension?
D2L.Extensibility.AuthSdk.Restsharp for C#/.NET Hello all, Please see attached doc for this question
-
What's the difference between inserting a YouTube video vs embedding a YouTube video?
Our Brightspace instance does not have an API key, so we can't use Insert Stuff > YouTube. As a workaround, our instructors use Insert Stuff > Enter Embed Code, then we use the embed URL from YouTube. What are the functional differences between these options? Are there benefits to using Insert Stuff > Youtube? Should I…
-
Trying to use LTI 1.3 but having trouble with authentication. Keep getting 404s.
Hello, I'm trying to get our tool to work with 1.3 and brightspace. I'm currently trying to implement openid to autheticate with. Brightspace gets to my auth method fine but when I try to redirect the user to the openid auth endpoint I keep gettings 404. Checking your help it says to check I have all parameters correct…
-
Why is "Email" returned as null in the Enrollment.ClasslistUser list result after calling GET...
Why is "Email" returned as null in the Enrollment.ClasslistUser list result after calling GET /d2l/api/le/(version)/(orgUnitId)/classlist/? These same users have email which shows up in User.UserData and User.UserProfile. But for some reason it does not get populated in Enrollment.ClasslistUser. This is what I get:…
-
Grade value DELETE API gives "405 Method Not Allowed" error
Hi All, We are trying to execute a DELETE request to the API "/d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/(userId)" to delete an existing grade item value for a user. But we are getting the following error: { "type": "http://docs.valence.desire2learn.com/res/apiprop.html#method-not-allowed", "title":…
-
Why grade value update API gives 400 JSON Binding Error for a null grade update?
Hi All, We are using the PUT API "/d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/(userId)" to update an existing grade item with a null value. We are passing the following JSON object in the request body. { "Comments": { "Content": "Comments.", "Type": "Text" }, "PrivateComments": {…
-
Update LTI Quicklink via API request: JSON Binding Error
I am attempting to update an LTI 1.0 Quicklink via the API (Oauth 2.0, in Postman). The initial connection is fine and I can retrieve data via GET requests. I am using PUT to send raw JSON to: https://mysite.brightspace.com/d2l/api/le/1.52/lti/link/1234 My JSON: (as described by…
-
YouTube Insert Stuff high rate of failure
We set up an API key and project last year to get the Insert Stuff > YouTube workflow to work again and it seemed to be going fairly well. However recently, we're experiencing a lot of these videos now give an error and don't load, even though the still screenshot looks fine until you click play. Looking at the YouTube…
-
API Question - Automatic upload of an externally created 4MB JSON File to "Org files" each night
I have an external (to Brightspace) automated overnight batch process that outputs a single JSON file (approx. 4MB). I would like the JSON file to be automatically uploaded into Brightspace (Content folder in the main Organisational Files) replacing yesterday's file. The JSON is used by a custom Widget and currently this…
-
I get a 500 Internal Server Error when trying to create a demographics field via the POST...
I get a 500 Internal Server Error when trying to create a demographics field via the POST /d2l/api/lp/(version)/demographics/fields/ endpoint The JSON I'm sending in the body via Postman is: { "Name": "IsEmployed", "Description": "Are you employed?", "DataTypeId": "{{$guid}}" }
-
Hello,
Running into some issues with updating a user's profile image through the POST...
Hello,Running into some issues with updating a user's profile image through the POST /d2l/api/lp/(version)/profile/myProfile/image API. I’m using Node and the multer, form-data, and axios npm libraries. *Update* So far I have: // from multer — upload.single(‘file) const fileInfo = { name: file.originalname, contentType:…
-
Receiving an invalid token (403-Forbidden) error from POST when using Python d2lValence library....
Receiving an invalid token (403-Forbidden) error from POST when using Python d2lValence library. Exact call is successful (200-OK) when using .NET d2Valence library. Hello - I have been using the D2LValence .NET extension for quite some time to automate the downloading and processing of BDS reports. We have need of the…
-
Correct OAuth2 scope for creating new News items
I am trying to incorporate News item creation (endpoint reference link) into my web app and am running into permissions/OAuth2 scope problems. The API reference does not mention specific scope requirements for POSTing to /news, and this knowledge base article seems to suggest any route without specific notes should be…
-
Invalid Parameters Error when I trying to get assessment request.
I am not able to figure out which parameter is missing out incorrect. I have added all the params as per the assessment API doc https://docs.valence.desire2learn.com/res/assessment.html#get--d2l-api-le-(version)-(orgUnitId)-assessment. Is there something wrong in the API call??
-
le 1.22 Classlist API not providing username and email?
I am a developer for a 3rd party vendor that offers Attendance taking solutions to schools. As such, I make use of D2L APIs that provide me information about students in a course. The API that I use to get enrollments is the classlist API…