-
Service-to-service authentication?
We want to automate some processes using the Brightspace API, without the need for a human to log in (because the automation process will be running on a server). Does Brightspace have a process for service-to-service (S2S) authentication? To reiterate, we need to integrate with Brightspace's API without user interaction,…
-
Which scope is required to download a feedback document from an assignment?
I am trying to download feedback documents from assignments (dropbox) using this API call: GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/feedback/(entityType)/(entityId)/attachments/(fileId) It gives met a 403 (Not Authorized) error. The user running the API call is a Super Admin and in Brightspace it is…
-
Retrieve the submission for a selected student
The API provides an end point to retrieve information about all submissions to a selected assignment folder (dropbox) GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/ It does not include a parameter to provide a userId to only retrieve the information for a specific student and so you have to…
-
Help with OAuth 2.0 Client Credentials Implementation
We are working on integrating Brightspace with a third-party solution and would like to confirm whether the OAuth 2.0 Client Credentials Flow is supported for authentication. If not, what alternative approach would allow us to implement OAuth 2.0 without requiring user intervention? Thank you for your guidance!
-
Unauthorized Error When Generating Access Token via Postman
Input Request: curl --location 'https://auth.brightspace.com/core/connect/token' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'grant_type=client_credentials' --data-urlencode 'client_id=72f31814---**-1c168ffe32d3' --data-urlencode 'client_secret=WExEwa********************ZJIeppks'…
-
API integration and section associations
We have switched to an API integration because we have implemented a new SIS. The new integration with Brightspace does not create SIS section associations, which has created a big challenge for us because we are unable to merge courses directly in Brightspace. Has anyone using an API integration been able to configure the…
-
LMS Admin Question > Course Sections
Hi All- Currently in the middle of a SIS change over and testing the API between the SIS and Brightspace. Noticed this morning on a test push, that the course sent over only had an offering and had no section. In our current LMS setup, we sent over the template, course offering and then a course section. I was not involved…
-
Error 403 when creating a new user via API request
Hi, I'm trying to create a new user using a Postman request, but I'm getting error 403 (Forbidden). I already tested the whoami request and was successful (status 200); my username has all the credentials to create a user, and I'm using the scope "core:: user::" when creating the token. Is there something I am missing? I…
-
Insufficient scope to call API.Required: ltiv1p3:ags:readlineitem
Hello, I'm trying to manage grades in BrightSpace using a LTI Advantage 1.3 tool connecting to our in house software. I had success registering the app, deploying it, login, accessing course and user info using this as a base : Now I want to access AGS (Assignment and Grade Services). I used this resource to do build my…
-
API PUT to Course Offering Failing
I'm attempting to update a Course Offering to set IsActive to false. This is the record I'm attempting to update: { "Identifier": "745849", "Name": "Fall 2023 - Pharmacology I (NURS-3104-A-B)", "Code": "X2388082480198", "IsActive": true, "CanSelfRegister": false, "Description": { "Text": "", "Html": "" }, "Path":…
-
Why don't I seem to have role based access to API from a logged in session?
Hello, I am using a javscript file hosted in public files and a widget to prototype a tool for our school. I use replace strings to create a global variable with the org unit id that my javascript can access. I am able to use the org unit id to create API urls that allow me to retrieve information about the course (for…
-
Permissions error on GET /d2l/api/le/1.83/{orgUnitId}/grades/values/descendants/
Hi community, I'm trying to call this new endpoint but I always receive the error 403 "Context user lacks permission to fetch descendant grades in target OrgUnitType." I've tested using various orgUnitId values, including a semester, a course offering, and a section. The OAuth2 application scope grades:gradevalues:read is…
-
When Uploading profile images using the API, the images are not changing.
I receive the access token without any problem. I can change the profile image through the UI without any problem at all. I then loop through all the jpg images in a directory (Only 4 for testing) uploading them using the API. I receive a status OK after each loop through, but I do not see the change in the image. I…
-
/myenrollments/{orgUnitId} returns 404 if learner is only in EXPIRED OrgUnit
Hi all, I’m working on a custom homepage widget in Brightspace that shows a learner’s course progress using status icons. Each course is linked to up to four OrgUnitIDs: Main course (e.g. ODS214) ENROLLED (e.g. ODS214-ENROLLED) COMPLETE (e.g. ODS214-COMPLETE) EXPIRED (e.g. ODS214-EXPIRED) Optional: GRANDFATHERED (e.g.…
-
Developer Instance for Brightspace
Is there a way to get a developer instance for Brightspace to work out integration with a external software
-
Link to the assignment tool evaluate screen
It used to be possible to create a link to an assignment submission's Evaluate screen using the OrgUnitId, dropbox ID and Submitter Id, which can all be obtained from the API. It seems that the URL format has changed and has a long random looking string as part of it. I have a use case where a course has multiple…
-
Export the Syllabus created using the Brightspace HTML tools
In either classic or new content experience, if we create our syllabi using the Brightspace HTML tools - can we then export the syllabi in a format that could be uploaded to a database?
-
Help with Postman and API connection
Note: This thread references the Learning Postman with Paul course article, which has been deprecated and is no longer available in the Learning Center. I'm new to working with APIs and have a project here at the college that I need to access the Datasets available in the Brightspace API. I'm trying to follow the "Learn…