-
Discussion post attachment api endpoint
Hello, I am looking to be able to access the info related to attachments on discussion posts. Is there a specific endpoint available to do so? "attachmentCount" is a property of data in the return of a discussion post get, and I would like to be able to get more information about on those objects. Thank you
-
Surveys added to courses via Postman runner - datahub fileSurveyObjects has a lot of empty columns
Hi all, We have added surveys to our courses via Postman and they are functioning as expected. Recently, we had to make an alteration (making them all anonymous) and we managed to do this via a Postman runner using the datahub file SurveyObjects as input (OrgUnitId and SurveyId). When preparing the input to perform this…
-
Retrieve Rubric associated with Quiz Question
Hello Community, In custom applications I make use of this public API: GET /d2l/api/le/(version)/(orgUnitId)/rubrics Retrieve rubrics for an object in an org unit. Parameters: version (D2LVERSION) – API version. orgUnitId (D2LID) – Org unit ID. Query Parameters: objectType (EVAL_T) – Type name for object associated with…
-
Request for API Access to Start and Submit Quiz Attempts via REST API
Dear Brightspace Support Team, We are currently integrating Brightspace with our internal systems and would like to automate the quiz-taking process for users via API. Specifically, we are looking for REST API endpoints that allow us to: Start a quiz attempt for a user Submit answers to quiz questions programmatically…
-
Valence API returns 403 when accessing user data with valid token
Hi everyone, I'm running into an issue with the Valence API when trying to fetch user data. I’ve authenticated successfully and received a valid token, but when I call the /users/ endpoint, I get a 403 Forbidden response. The app is registered, and the user account I’m testing with has the necessary permissions in…
-
Receiving a 403 Forbidden API Error Message
We are running performance testing in our Brightspace test server with 7% failures related to "403 Forbidden" error messages. Perf Testing: We are automating 18 users to load the widget every second for 1 minute—equaling to about 1,080 users in a minute. Background: We have 4 back-end servers with round-robin traffic…
-
API to Retrieve and Update User's AOU/Department Level Role in Brightspace?
Is there an API in Brightspace that allows me to retrieve a user's role at the AOU (Authorised Operating Unit) or department level? Additionally, is there an API that allows updating a user's role at the AOU/department level? If so, could you please provide the endpoint details and any relevant documentation? Best regards,…
-
oAuth get access token using python
Hi, Does anyone have an Python example of how to get an access token using the oAuth2 workflow without using an refresh token? I can get an access token based on a valid refresh-token but I'm trying to build a solution which does not rely on a refesh-token to be available. I get stuck in the login step because I can't find…
-
Bulk Deletion of Sections from Courses in Brightspace (via API or Other Method)
What is the recommended and secure way to bulk delete sections from both current and historical courses in Brightspace? Is there a supported method using the Brightspace API or another automated approach for managing this at scale? Any guidance, best practices, or documentation would be greatly appreciated.
-
API reports "Resource not found" when trying to a create course section in a course offering
We have a course offering created by the API but Brightspace reports its endpoint does not exist. When POSTing to its endpoint to create the section the API reports "Resource not found". The course offering exists and the API can find it.
-
Testing Brightspace API - Create Folder in Manage Files
Hello So I've been trying to test APIs to create folders in manage files of a course, and then try to upload a file into the,m and I can't seem to get the api to work on Postman. This is my Create folder api, which I created using the Valence documentation. Is there something I've done wrong here? I keep getting the 404…
-
How to access value of grading item computed by formula from API?
Using , specifically GET /d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/ I am able to access the score each student sees in their own grading system from the API (so I can ensure that I give them the according grades). However, I have a final formula that computes how many bonus points they are entitled…
-
How to download issued certificates via API using Bearer token?
Hello D2L team, I’m currently using the Brightspace API to retrieve issued certificates for students in our institution via the endpoint: bashCopiarEditarGET /d2l/api/bas/1.4/issued/users/{userId} From the response, I obtain both the OrgUnitId and IssuedId, and construct the download URL as documented:…
-
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!